Hi all,
I am using Dawn theme in shopify. i want to hide the highlighted popup block in product page when my inventory is above zero on the product. Let me know if its possible
Store : levendonline.com
A Shopify store owner using the Dawn theme wants to conditionally hide a specific pop-up block on product pages—displaying it only when inventory reaches zero, and hiding it when stock is available.
Proposed Solutions:
base.css file to hide the .product__accordion element using display: none;. However, this approach would hide the element universally rather than conditionally based on inventory levels.Current Status:
The discussion remains open. The user provided a sample out-of-stock product link for further analysis, but no inventory-conditional solution has been confirmed yet. The CSS-only approach does not address the dynamic inventory requirement.
Hi all,
I am using Dawn theme in shopify. i want to hide the highlighted popup block in product page when my inventory is above zero on the product. Let me know if its possible
Store : levendonline.com
Hello @zaan ![]()
Inside Shopify Admin, go to Edit theme code, open file base.css and add this code snippet at the bottom
.product__accordion {
display: none;
}
Hope that helps!
Hello @zaan ,
It’s GemPages support team and glad to support you today.
Could you please share your out-of-stock product URL then I can see and suggest something for you?
Best regards,
GemPages Support Team
Here is a link for a out of stock item