Skip to content

Cart Attributes, Line Item Attributes, & Metafields

For Checkout Plus, Corso adds important cart attributes to the cart to communicate Buyer Consent at checkout. This allows us to add items to reorder the rates or apply discounts to the rates as needed.

You will see the following cart attributes in the cart, which will also show up in the order notes in Shopify. Below are some common cart attributes you may see when using Checkout Plus or Shipping Plus.

Photo 1


AttributeNameDefinition
_corsoCpCartOptOutCheckout Plus Cart Opt OutIf the customer chose not to give buyer consent in Checkout Plus.
_corsoSpGuaranteeShipping Plus GuaranteeIf the Checkout Extension presents the Shipping Plus checkbox to apply a discount and remove the Plus price.
_corsoCpReorderOptInCheckout Plus Reorder Opt InIf we have buyer consent to reorder the rates.
_corsoSpDgOptOutShipping Plus Delivery Guarantee Opt OutIf the customer opted out of the additional charge in checkout (i.e. the box is checked to waive the cost).

These are additional cart attributes you can add to the order in the Shipping Plus admin.

AttributeNameDefinition
_corsoSpTitleShipping Plus TitleThe title of the shipping rate that the customer selected for shipping.
_corsoSpPriceShipping Plus PriceThe price of the additional charge for the Plus amount.
_corsoSpDiscountShipping Plus DiscountThe name of the discount code if the customer opts out of the additional charge.
_corsoSpDgOptOutOnShipping Plus Delivery Guarantee Opt Out OnThe date that the customer opted out.

For some functionality, Corso appends line item attributes to each line item in the order. While optional, certain features depend on them.

AttributeNameDefinition
_corsoDiscountedPriceDiscounted PriceThe discounted price of the product. Needed to display rates according to the price after discounts are applied.
_corsoCustomerCustomerThe email address of the customer. Needed to apply customer conditions (tags or segments) as part of rate modification conditions.

With Shipping Plus, Corso displays the price of the additional Plus amount as a cart attribute, but also creates a metafield on the order.

The Plus Shipping Price metafield allows you to know how much of the shipping amount is the dynamic Plus price, useful for reporting and troubleshooting.