How do I remove $0 label for a product that is set to $0 in cart in DAWN

Topic summary

Goal: Hide the $0 price for a base product (priced at $0) in the cart while using a product options app to add priced add-ons.

Context: The base product price is hidden on the product page, but the cart still shows $0 for that item. Add-on prices (from Globo Product Options) represent shirt style and back text. An image illustrates the cart showing $0 for the main item plus priced add-ons.

Suggestions:

  • Theme code condition: Wrap the price output with a check (in product-template.liquid) to only show price when product.price > 0. This addresses the product page, not the cart.
  • App-based approach: Using Easify Product Options, either:
    • Add custom code to hide the $0 price of the main product in the cart.
    • Merge the base product and add-on into a single cart line item showing the total price (instead of $0 + add-ons).

Limitations: Cart display can be customized, but modifying how the item appears on the checkout page is restricted by Shopify.

Status: No confirmed fix for the current Globo-based setup; solutions proposed, discussion remains open.

Summarized with AI on December 21. AI used: gpt-5.

Hello, I have changed the code so that when an item is listed at $0, the price does not show on the product page. I use Globo Product options to create add ons with the prices I want to use. When I go to the cart, it still shows $0 for the product.

How do I remove the $0 label in the cart for that item and just show the add on prices?

In my image I have the item. The Add on prices are for the style of shirt, and back of shirt text.

Hello,

I am San from MS Web Designer.

To hide the $0 price in Shopify, you need to include an additional condition in the theme code. Locate the price code in the product-template.liquid template and insert the following condition:

{% if product.price > 0 %} Add the price code here {% endif %}.

Hope this helps.

Do let me know in case of any concerns.

Regards,

San

Hi @dimensionalpw ,

If I’m correct, your main product is a virtual product set at $0.00, and the actual product your customers select and purchase is the add-on. Is that right?

If so, hiding the price on the product page won’t prevent the $0.00 price from appearing in the cart.

However, if you switch to using the Easify Product Options app (which allows you to set up the same options), we can offer two solutions :hugs: :

  1. Add custom code to hide the $0.00 price of the main product in the cart.
  2. Merge the main product and add-on into one item in the cart, with the total price displayed instead of $0.00.

Please note that these solutions work on the cart page, but due to Shopify restrictions, customizing how the product appears on the checkout page may be challenging.