Within the listener, call the addItemToCart function, and specify parameters for:. ; In the Sections directory, click product-customizable-template.liquid. The /cart/update.js endpoint adds new line items to the cart if the variant_id provided doesn't match any line item already in the cart. Again, to add this information, use the following Liquid object attributes: cart.total_discount returns the amount of discount applied to items in the cart cart.original_total_price returns the subtotal of the cart before discounts. In future posts we’ll expand this tool tip to address these issues and include the following: – Information available from liquid templating – A preview of cart … What this customization achieves This customization enables a lightbox for your website images. However, if the variant_id matches multiple line items, then the first matching line item is updated.. Ask Question Asked 3 years, 9 months ago. 0. Add to Cart button on collection page keeps your shoppers from being redirected to the product page or shopping cart… You can save your time by looking for an or