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. Select them in Cart Attributes in the Checkout Extension card on Settings > Shipping Plus.

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.
_corsoSpDgOptOutOnDelivery Guarantee Opt Out OnThe date and time that the customer opted out of the Delivery Guarantee.

For some functionality, Corso appends line item attributes to each line item in the order. While optional, certain rate modification conditions depend on them. Contact Corso to turn them on.

AttributeNameDefinition
_corsoCustomerCustomerThe email address of the customer. Helps customer conditions (tags or segments) identify shoppers who only entered an email. Logged-in customers are identified without it. Either way, these conditions only match customers who already exist in your Shopify store.
_corsoAppliedGiftCardCodesApplied Gift Card CodesThe last characters of any gift cards applied at checkout. Needed for the Gift Card Issued By Corso condition.

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.