Shortcodes

Use YayPricing shortcode to display a list of discounted products, offer description or countdown timer.

Want to display information about your discounts on your landing page? Follow this guide!

YayPricing shortcode are available in YayPricing Pro and Dynamic Pricing & Discounts Pro.

Each pricing rule allows you to use a shortcode to display all assigned products, show offer descriptions, or add a countdown timer on specific pages. Additionally, you can use the Countdown shortcode to showcase the countdown timer for Cart discount rules.

Here are the steps to use the shortcode in your WordPress page/post.

Step 1. Copy shortcode

From product pricing or cart discount list, click on the three-dot icon on the right end of your pricing rule to open the actions menu. Select the shortcode that you would like to copy.

Product pricing shortcode
Cart discount shortcode

Step 2. Paste shortcode

Go to your page editor and paste the shortcode.

You can also paste multiple shortcodes on the same page.

Creating sale list

Step 3. Publish page

Once your page is published, you will see the lists of products on sales discounts or dynamic pricing rules.

Please note that whether or not the pricing rules are applied on checkout still depends on your other settings of cart conditions.

Last updated

Was this helpful?