web_shipping_calculator Shortcode
The web_shipping_calculator shortcode renders the shipping calculator component.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Usage
[web_shipping_calculator]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
error_message |
— | String unless stated otherwise | Controls the error message. |
success_message |
— | String unless stated otherwise | Controls the success message. |
local_pickup_message |
— | String unless stated otherwise | Controls the local pickup method message. |
button_label |
— | String unless stated otherwise | Controls the button label. |
device_visibility |
— | String unless stated otherwise | Applies the selected responsive visibility rule. |
el_id |
— | Valid unique HTML ID | Enter section ID (Note: make sure it is unique and valid according to w3c specification). |
el_class |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
WooCommerce requirement
This output requires WooCommerce and the corresponding POM Theme e-commerce feature to be active and configured.
Verification
Test web_shipping_calculator in its relevant logged-in and logged-out states, including validation, success and error feedback. Pay particular attention to error_message and success_message.