Countdown Timer Appears on Duplicated Products
Issue
When a product that is part of a sale is duplicated in Shopify, its metafields — including discoapp.SaleId
— are copied to the new product. This causes the Disco integration to mistakenly treat the duplicated product as part of the sale, triggering the countdown timer even though it’s not actually on sale.
Solution
Step 1: Make the Metafield Visible in Shopify Admin
If the discoapp.SaleId
metafield isn’t already visible on product pages, follow these steps to add the definition:
- In your Shopify admin, go to Settings > Custom data.
- Click View unstructured metafields.
Find
discoapp.SaleId
and click Add definition.Fill in the definition details:
- Name: Disco sale metafield
- Description: Identifies if a product is part of a Disco-powered sale
- Type: Single line text
- Click Save.
This will make the metafield visible and editable directly from each product page in the admin.
Step 2: Clear the Metafield on Duplicated Products
- Go to the duplicated product in the Shopify admin.
- Scroll down to the Metafields section.
- Locate the Disco sale metafield (
discoapp.SaleId
). - Remove or clear the value in the field.
- Click Save.
Preventive Tip
After duplicating a product, always review and clear any sale-related metafields like discoapp.SaleId
to prevent the countdown timer from appearing incorrectly.