[sequra_cart_widget]

Shortcode

Description

Allow showing promotional components on the cart page based on current availability

OptionTypeDescription
productstringseQura product identifier (e.g., pp3)
campaignstringseQura product campaign (e.g., permanente)
deststringCSS selector for the target element which will have the promotional component
pricestringCSS selector to read the price from the DOM.
messagestringDefault message to show
message_below_limitstringMessage to show when the cart total is below the minimum amount required to pay with seQura
min_amountintMinimum amount in cents required to pay with seQura
max_amountintMaximum amount in cents allowed to pay with seQura. Set to null if it's not defined in your context.

Changelog

VersionDescription
3.0.0Introduced

Usage Example

$options = 'product="pp3" campaign=""'; // Configure as many options as you need
do_shortcode("[sequra_cart_widget $options]");