/
[IMPORTANT] Create a custom template necessary for the correct functioning of the application (SpurIT Wholesale Pricing)
IMPORTANT
[IMPORTANT] Create a custom template necessary for the correct functioning of the application (SpurIT Wholesale Pricing)
Instruction for a merchant to add a custom template
required for the correct functioning of the application:
Go to the theme template editing section:
In the left menu, select Sales Channels → Online Store.
On the
Themes
page, click the button with three dots and select theEdit Code
item.
Click
Add new template
in the left list under the Templates group heading.In the Template type drop-down list, select cart, then
liquid
, and addspurit-items-collections
to the filename field.
Insert the following content in the editor:
{% layout none %}
[{%- for item in cart.items -%}
{"id": {{item.id}},
"product_collections": {{item.product.collections | json}}
}{%- unless forloop.last -%},{%- endunless -%}
{%- endfor -%}]
Click
Save
button.
, multiple selections available,
Related content
SpurIT Wholesale Pricing
SpurIT Wholesale Pricing
Read with this
[IMPORTANT] Create a custom template necessary for the correct functioning of the application
[IMPORTANT] Create a custom template necessary for the correct functioning of the application
More like this
SpurIT Upsell Bundled Products
SpurIT Upsell Bundled Products
Read with this
What activities should be undertaken after uninstallation of SpurIT Wholesale Pricing in Vintage themes?
What activities should be undertaken after uninstallation of SpurIT Wholesale Pricing in Vintage themes?
More like this
Can I use discount codes along with the SpurIT Wholesale Pricing?
Can I use discount codes along with the SpurIT Wholesale Pricing?
More like this
How to set up theme app extensions in SpurIT Sales Pop-up Discount
How to set up theme app extensions in SpurIT Sales Pop-up Discount
More like this