Change the Cart Count to Show the Right Number of Products

Product Options can create visually hidden products in the Shopify store. These "hidden products" can be linked to an option to affect the total price. When the priced option is selected that option product is added to the cart and adds its value to the order total.

To change the cart count to show the same number of products, please follow these steps:

  1. From Shopify's admin, select Online Store.
  2. Select Actions.
  3. Select Edit code.
  4. Under "Snippets", ensure bold-cart.liquid and bold-cart-items.liquid exist.

    Note: If any of these snippets don't exist, please refer to the Product Options Code Installation Instructions for help adding them.

    ensure the snippets are in place

  5. Under "Layout", select theme.liquid.

    select theme.liquid

  6. Add:

    {% include 'bold-product' %}

    right before the </head> tag if it does not already exist.

    add line of code

  7. Change all instances of:




    change all instances

  8. Select Save.

    Note: This will make the number of items in the cart match the number of main products but once the customer enters the checkout the customer will see each option appear as its own product. Unfortunately, we have no control over the Shopify checkout.

    select save

That's it!

Was this article helpful?
0 out of 0 found this helpful