Show Only One Market On A Per-Product Basis

Show Only One Market On A Per-Product Basis

There may be a times when you would like to show only one market (Online or Local) within the Buy Now Modal Window without making a global change that could impact multiple products. If you wish to control when to show only one market within the Buy Now Modal window on a per-product basis, you can do the following.

There are two things that need to be done to only show the Online tab contents within the Modal dialog box: 
  1. Force the Modal dialog to open in the Online tab.
  2. Hide the Online and Local markets tabs so users don't see them.
Let's address the first part - forcing the selection of the Online tab (this can be also the Local tab if you wish). First, you'll need to update the button on your page that triggers the Buy Now popup and set the property "data-market" value to be "ONL" (for Local tab, value must be "LOC"). When the user clicks on the button, it will open the Online Retailer tab as the default action.
  1. <a href="#obn" data-product="ABC-12345" data-market="ONL">Buy Online</a>

Next, you'll need to hide the ability for the user to see the tabs within the modal window altogether. To do this, we'll need to add a CSS style block to the page to force the tab from being visible.

  1. <style type="text/css">
  2.   .oma-tabs {
  3.     display: none !important;
  4.   }
  5. </style>

That's it! From there you should now only see one market within the Buy Now popup. 
    • Related Articles

    • Supplier Product Catalog File Format

      A foundational element of the omacro platform, the supplier catalog enables extended features and control. You may make product additions, edits or deletions direct from the Product Management portion of the admin. You can also download and ...
    • Seller Online Product Feed General Instructions

      Download omacro CSV online product feed template omacro XML online product feed template Google Merchant Center XML and .csv (txt) file formats Sample Files To be part of your suppliers’ online dealer locator, we need a product feed so we know where ...
    • Seller Manage Product Links

      Sellers can manage their product links here. Once on the Buy Now Links Page, you can see any links that are associated with your company, the country they are assigned to, the price (if any), stock status and the date it was added. You can manually ...
    • Shopify Seller Product Feed Implementation Guide

      To show in your suppliers online dealer locator, we match your products against their catalog. To do that, we need a product feed and there are a few file formats we can accept. If you already have a Google Merchant Center feed, we can accept a .CSV ...
    • Supplier Manage Product Links

      Suppliers can manage their product links here. Once on the Manage Product page, you see any links associated to a product by clicking on the arrow to the left of the product. A drawer will open and display a grid listing all current seller links. Add ...