If you use the “create a new product when adding to the cart” method (Settings → Functionality → Additional pricing), Zepto Product Personalizer creates a hidden copy of the product for each personalized order. These copies have the product type PPLR_HIDDEN_PRODUCT, are not published to the Online Store, and are removed automatically after the delay you set.
Most themes never show them. If yours lists them in a collection, in search results or in recommendations, add the snippets below to the matching theme templates (Online Store → Themes → Edit code).
Collection template
Find any “for” loops for “products” in the collection:
{% for product in collection.products %}Add this snippet right after the opening of the loop:
{% if product.type == 'PPLR_HIDDEN_PRODUCT' %}{% continue %}{% endif %}Sometimes, there are multiple collection templates, and this change should be applied to each template.
Search template
Find any “for” loops for “items” in the search results:
{% for item in search.results %}Add this snippet right after the opening of the loop:
{% if item.type == 'PPLR_HIDDEN_PRODUCT' %}{% continue %}{% endif %}Predictive-Search template
Find any “for” loops for “products” in the template:
{%- for product in predictive_search.resources.products -%}Add this snippet right after the opening of the loop:
{% if product.type == 'PPLR_HIDDEN_PRODUCT' %}{% continue %}{% endif %}Related-Products template
Find any “for” loops for “recommendations” in the template:
{% for recommendation in recommendations.products %}Add this snippet right after the opening of the loop:
{% if recommendation.type == 'PPLR_HIDDEN_PRODUCT' %}{% continue %}{% endif %}If you would rather not edit theme code, chat with us from the Help Center and we will add the snippets for you.