All 17 Free Shipping Bar sections
Using the shortcode
Free Shipping Bar's shortcode puts the bar inside your own content: a page or post, a Shortcode block, a widget, or a theme template through do_shortcode().
[trasl_free_shipping_bar]It takes one attribute, context:
context="shop", the default, uses the In progress (browsing) message.context="cart"uses the In progress (cart and checkout) message, which asks for the top-up more directly.
A full example, for a delivery information page that should speak the way the cart does, and the same in a theme template:
[trasl_free_shipping_bar context="cart"]
<?php echo do_shortcode( '[trasl_free_shipping_bar context="cart"]' ); ?>How it behaves:
- It sits in the page where you put it rather than floating, and stays in step with the floating bar and any reminders as the cart changes.
- It follows your exclusions, audience, schedule and screen sizes, like the reminders on the cart, checkout and product pages. Display on is the one rule it ignores, since you placed it yourself.
- It shows nothing while the bar is switched off under Setup.
Still stuck? Ask the developers who wrote it. We aim to reply within one business day.