Cart Quantity

Solved
Grace_01
Excursionist
34 1 3

Hello Community

I have below code which is based on "total cart value" can anyone help me how do make it  "total cart quantity" based ?

{% if cart.total_price >= 3000 %}
0 Likes
oliversinz
Shopify Partner
25 4 5

This is an accepted solution.

Hi @Grace_01 

As specified here:

cart.item_count

Returns the number of items inside the cart.

So:

 

{% if cart.item_count >= 10 %}

 

 

 

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Grace_01
Excursionist
34 1 3

Hey @oliversinz  Thanks for the help and guide, It's working prefect. 

0 Likes