Copy Shortcode

Use YayPricing shortcode to display a list of discounted products

YayPricing shortcode is built in YayPricing Pro and Dynamic Pricing & Discounts Pro.

With each pricing rule, you can use a shortcode to output all assigned products.

Here are the steps to display those products on sales discount in your WordPress page/post.

Step 1. Copy shortcode

From product pricing list, click the three-dot icon on the right end of your pricing rule to open the actions menu. Select Copy Shortcode to copy it to clipboard.

Step 2. Paste shortcode

Go to your page editor and paste the shortcode.

You can also paste multiple shortcodes on the same page.

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