Dynamic Content

Allows you to add variables to your Cart Context.

Add Dynamic Content

  • Select the block to which you wish to add Dynamic Content.

  • Click the Dynamic Values icon in the toolbar to open the Dynamic Content panel.

Source

  • Set Source to WooCommerce.

WooCommerce

  • Set WooCommerce to required Cart context Variable in the dropdown in the following categories: Pricing, Weight and Dimensions, Description, Stock, Date, Meta, Reviews, Misc.).

Cart Context Variables

Cart

  • Cart Items Count

  • Cart Shipping Total

  • Cart Subtotal

  • Cart Total

Cart Items

  • Cart Item Name

  • Cart Item Description

  • Cart Item Short Description

  • Cart Item Quantity

  • Cart Item Sale Percentage

  • Cart Item Total

  • Cart Item Price

  • Cart Item Sale Price

  • Cart Item Low Stock Quantity

Pricing

  • Price

  • Regular Price

  • Sale Price

  • Currency

  • Currency Symbol

  • Sale Percentage

Weight and Dimensions

  • Weight

  • Height

  • Width

  • Length

Description

  • Description

  • Short Description

Stock

  • Quantity in Stock

  • Max Purchase Quantity

  • Min Purchase Quantity

Date

  • On Sale From

  • On Sale To

Meta

  • SKU

Reviews

  • Rating Count

  • Review Count

  • Average Rating

Misc

  • Total Sold

  • Notice

Type (Pricing)

The Type property allows you to choose different price formatting, such as None, Formatted, Formatted Currency, Formatted Tax, Formatted Tax Currency.

  • Select a Pricing variable in the WooCommerce dropdown.

  • Select required Type.

Date (On Sale From, On Sale Too)

The Date property allows you to choose the time period for the item on sale.

  • Select a Date variable in the WooCommerce dropdown.

  • Select required time period

Static Text

Static Text, that is text that does not change, can be added before or after the required variable.

Fallback Text can also be added to appear if no variable is available.

  • Input Static Text to be added before or after the selected variable.

  • Input Fallback Text as required.

Last updated