How To Do The Cart Page Setup?

Follow these steps to do the cart page setup:

Add code in cart.liquid file to show bundle discounts on cart page

Please follow these steps for "cart.liquid" template, If you see any section included there then open that particular section [ If you need help from our exceptional support team to set code in the cart page then please click here ]

A

Find the "{% for item in cart.items %}" code. If there is no code like this in your theme, Please try to find "cart.items".

Paste this class to the first line of the cart item loop.

class="th_pb_cart_line"

class="xyz th_pb_cart_line"

Paste these attributes too.

data-idth="{{ item.id }}" data-indexth="{{ forloop.index }}"

B

Find the "{% for p in item.properties %}" code. If there is no code like this in your theme, Please try to find "item.properties".

Paste this code above "{% for p in item.properties %}".

<span class="th_bundle_discount_text"></span>

Paste this code after "{% for p in item.properties %}".

{%- if p.first contains 'th_bundle_' -%}{%- continue -%}{%- endif -%}

C

Paste this class to display a single variant price. To find this line you have to find item.price.

class="th_item_price"

If there is already a class then just add a class name like below.

class="xyz th_item_price"

D

Paste this class to display quantity-based prices. To find this line you have to find the item.line_price

class="th_item_line_price"

If there is already a class then just add a class name like below.

class="xyz th_item_line_price"

E

Paste this class to display the cart's total price. To find this line you have to find the cart.total_price

class="th_cart_total_price"

If there is already a class then just add a class name like below.

class="xyz th_cart_total_price"

F

Paste this class to remove all products related to the bundle. To find this line you have to find the product remove button code.

class="th_pb_remove_cart_item"

If there is already a class then just add a class name like below.

class="xyz th_pb_remove_cart_item"

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us