Steps to change the Position of Quantity Discounts from Liquid

Attention: If you are not a developer: Ask our support for this help.

Step 1: From your Shopify store, click on the “Online Store” option.

Step 2: Now, tap on the “Themes” option.

Step 3: Jump to the “Actions” drop-down arrow, and click on the “Edit code” option.

Step 4: Next, you can go to your custom product template and paste the below code. where you would like to show Quantity Discount.

window.xt_vd_{{}} = {{ product | json }};
window.xt_vd_{{}}.options_with_values = {{ product.options_with_values | json }};
{% assign collectionIds = product.collections | map: 'id' | join: ',' %};
window.xt_vd_{{}}.collectionIds = [{{ collectionIds }}];
<div class='xoot_volume_discounts_wrapper_static' data-id="xt_vd_{{}}"></div>

Step 5: Hit on the “Save” button.

Did this answer your question?