Articles on: Yanet: Back In Stock

How to add Back in stock block on product page by inserting code

On Online Store 1.0 themes, adding Back in Stock block to product page can be done by inserting code. To insert code of Back in Stock block, please follow these steps:
Step 1: Head to Admin > Online Store > Themes > Customize > Edit code

Step 2: Open Sections > product-template.liquid template

Step 3: Finding the position you want to insert code (may be beside the Buy button). You can find code products.product.sold_out or products.product.add_to_cart

Step 4: Paste following code:

<bis-inline></bis-inline>


Step 5: Preview if your code is working

Make sure that you have enabled embed app on theme editor



Step 6: Click Save

Updated on: 20/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!