Managing Duplicate Products
If your store is not on Shopify Plus, Eraya uses duplicate products to safely run price tests without affecting live listings. This requires a few one-time setup steps to ensure your storefront, inventory, and third-party integrations work smoothly.
Remove Duplicate Products from Sales Channels
To prevent duplicate test products from appearing on your sales channels (like Facebook, Google, or POS), keep them active only in your Online Store channel.
Remove Duplicate Products from Collections
To avoid showing duplicate products in your store collections, remove them from all existing collections.
Inventory Tracking
Eraya automatically keeps inventory synchronized between your duplicate and original products.
Configure Search App
If your store uses a search app (e.g., Boost, Searchanise, InstantSearch+), set a rule to hide duplicate test products.
Configure Duplicate Products in Third-Party Apps
If your store uses additional third-party apps that reference products, make sure to add your duplicate products to those apps.
Examples:
Review apps: Judge.me, Loox, Yotpo
Size chart apps
Bundle or Upsell apps
Frequently Bought Together apps
Subscription apps: Recharge, Skio, Appstle
Adding your duplicate products ensures these apps display accurate data for all test variants.
Hide Duplicate Products from Collection Pages (Theme Edit)
If your storefront theme displays products from collections, you can hide duplicate test products directly in your theme code.
## Locate product loop
Locate the product loop in the template:
{% for product in collection.products %}
  ...
{% endfor %}## Wrap rendering in an unless block
Wrap the existing product display code inside an
unlessblock:
{% unless product.tags contains "eraya-duplicated" %}
  <!-- existing product display code -->
{% endunless %}Click Save and preview your collection page.
Last updated