[sequra_cart_widget]
Shortcode
Description
Allow showing promotional components on the cart page based on current availability
Option | Type | Description |
---|---|---|
product | string | seQura product identifier (e.g., pp3 ) |
campaign | string | seQura product campaign (e.g., permanente ) |
dest | string | CSS selector for the target element which will have the promotional component |
price | string | CSS selector to read the price from the DOM. |
message | string | Default message to show |
message_below_limit | string | Message to show when the cart total is below the minimum amount required to pay with seQura |
min_amount | int | Minimum amount in cents required to pay with seQura |
max_amount | int | Maximum amount in cents allowed to pay with seQura. Set to null if it's not defined in your context. |
Changelog
Version | Description |
---|---|
3.0.0 | Introduced |
Usage Example
$options = 'product="pp3" campaign=""'; // Configure as many options as you need
do_shortcode("[sequra_cart_widget $options]");
Updated about 1 month ago