This code replace all app they provide this type of feature. Code support for all theme.
Step:1 Dowonload Code Your Code
- Check your Email. You can see Your Code file Download.
- Also Need To download PASSWORD File.
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image.png)
Step:2 Shopify admin
- Go online Store
- Edit Code
![](http://stonewallinfotech.com/wp-content/uploads/2024/03/Screenshot-2024-03-04-221751-copy-1.png)
Step:3 Implement Code
- Search snippets add New Section
- File Name :- product-bundle.liquid
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-15.png)
- Copy Your Code and Past in product-bundle.liquid
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-3.png)
Step:4 Add Code
- Search main-product.liquid
- Find buy_buttons
- above buy_buttons Add Below code
{%- when 'new_bundle' -%}
{% render 'product-bundle', product: product %}
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-18.png)
- Find buy_buttons schema
- Add code after buy_buttons schema (references image)
{
"type": "new_bundle",
"name": "New Bundle",
"limit": 1
},
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-19.png)
Step:5 Metafield
- Go To Shopify Setting > Custom data > Products > Add definition
- Name: For Add On Metafield
- Namespace and key : custom.for_add_on_metafield
- Select type : product > List of products
- Save
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-4.png)
- For tooltip
- Name : Tooltip
- Namespace and key : custom.tooltip
- Select type : Single line text > One value
- Save
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-5.png)
Step:6 Hide Add to cart and quantity for defult product
- Go to Main Product
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-6.png)
- Ctrl + F Search quantity_selector
- First Div end add {% if product.tags contains ‘main_product_bundle’ %} hidden {% endif %}
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-7-1024x114.png)
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-8.png)
- Now Search buy_buttons
- First Div add class=” {% if product.tags contains ‘main_product_bundle’ %} hidden {% endif %}”
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-9-1024x110.png)
Step:7 Test Code
- Go to your Product Select one product
- Add Tag main_product_bundle
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-10.png)
- Scroll down see metafield Select Product
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-11.png)
- Save
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-12.png)
Step:8 Final result
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-13.png)
![](https://stonewallinfotech.com/wp-content/uploads/2024/05/image-14.png)