Displaying product sku and weight in your cart

Once you’ve created your cart page in Builder:

  1. Navigate to your cart page in the editor and create two new columns for sku and weight (or duplicate the “Total” header and columns twice).

  1. Starting with sku, select the text inside of the column and navigate to the data tab.

  2. Click “+ new binding” and select “text” as the property from the dropdown and paste this code for the binding:

context.shopify.liquid.render("{{item.sku}}", state)

  1. Repeat the same steps for the weight, but paste this code for the binding:

context.shopify.liquid.render("{{item.grams}}", state)

Now, you can publish your cart page and the sku and weight will show when an item is added to the cart