[sequra_product_listing_widget]

Shortcode

Description

Allow showing promotional components on the product listing page based on current availability

OptionTypeDescription
productstringseQura product identifier (e.g., pp3)
campaignstringseQura product campaign (e.g., permanente)
deststringCSS selector for the target elements which will have the promotional component. The selector should work for every product listed and be relative to the product list item.
pricestringCSS selector to read the price from the DOM. The selector should work for every product listed and be relative to the product list item.
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_product_listing_widget $options]");