> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.yanet.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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

![](https://storage.crisp.chat/users/helpdesk/website/37fde77105fa8400/screen-shot-2023-09-15-at-0057_1wjrn67.png)

**Step 6:** Click **Save**