Hide prices from the cart

I’d like to be able to hide the price of a product in the cart view.

I found this code to hide elements on a page:

// Hides the element when the page loads
$w(“#myElement”).hide();

When I try it, however, I am only able to get the entire cart element (#shoppingCart1), and not any of the items listed within it, such as price.

Any help would be appreciated. Thanks!

Hi @_joel .

Currently it is not possible to hide the content specified inside the Cart element.

You can consider:

  1. Rebuilding a custom cart element

  2. Put an overlay container (does not actually hide)

  3. Use Custom Code (From Wix Dashboard) - Non-velo.

You can visit Wix Marketplace to hire someone to do this for you.

Certified Code