product-locator-buy-online

You can add Buy Online options within the Locally Product Locator. It will be a tab next to your local in-stock results. How it works:

  • Contact your Locally account representative to add this feature to your Locally subscription
  • Any e-commerce retailer submitting a product feed to Locally through one of our four supported Affiliate networks - Rakuten, Avantlink, Impact Radius, or FlexOffers (make a page with current networks instead)- with your UPC/EANSs will appear as an option within the "Buy Online" tab in your Product Locator
  • Learn more about the requirements for e-commerce retailers here (link to retailer article when up)

Coming soon:

  • Additional brand controls
  • Additional feed submission methods for retailers
Product Locator with Buy Online Options

Buy Online Parameters

The following parameters give you additional control over how Buy Online results are displayed in the Product Locator.

show_only_buy_online_merchant

Restricts the Buy Online results to a single affiliate/merchant. Set this parameter to the merchant ID you want to display, and all other Buy Online merchants will be excluded from the results.

  • Value: a single affiliate/merchant ID
  • Behavior: Only Buy Online offers from the specified merchant are shown.
  • Inline PL widget: When combined with the inline Product Locator widget, this renders a single "[Merchant] Buy Now" button, taking the shopper directly to that merchant's purchase page.

hide-if-no-stock

Hides the Buy Online option (or the inline "[Merchant] Buy Now" button) when the specified merchant has no available stock for the product.

  • Behavior: If the merchant does not have the product in stock, the Buy Online result/button is suppressed rather than displayed with no purchasable inventory.
  • Recommended use: Pair with show_only_buy_online_merchant so the inline widget only renders the single "[Merchant] Buy Now" button when that merchant actually has stock.

Did this page help you?