YayPricing-WooCommerce Dynamic Pricing & Discounts
  • Getting Started
    • Introduction
    • How to Install
    • Enter License Key
    • System Requirements
    • How To Update YayPricing
    • Uninstall and Delete
  • Features
    • Product Pricing
      • Simple Adjustment
      • Bulk Pricing
      • Product Bundle
      • BOGO (same product)
      • Buy X Get Y
        • Change free gifts
      • Tiered Pricing
      • Product fee
    • Cart Discounts
    • Checkout Fees
      • Reduce Shipping Fee
      • Add Custom Fee
      • Add Custom Fee based on Shipping Fee
    • Exclusions
      • Product Exclusions
      • Coupon Exclusions
    • Product Collections
    • Shortcodes
    • Schedule
    • Usage Limit
    • Export/Import
      • Import Bulk Pricing Ranges
  • Rule Settings
    • Filtered products
    • Count quantity by
    • Conditions
      • Single condition
      • Combined condition
    • Pricing types
  • Global Settings
    • General
    • How the rules are applied
    • Product sale display
    • Pricing table
    • Countdown timer
    • Encourage notice
    • Shortcode
    • Import/Export
  • Use Cases
    • Buy X get Y
    • Sale 30% off from the third item
    • Order discount
    • Free shipping
    • First time order discount
    • Category discount
    • Free gift coupon
    • Cheapest cart item
    • Bundle discount
    • 3 for $100
  • Reports
  • Compatibility
    • WooCommerce Brands
    • YITH WooCommerce Brands
    • Integrate with Advanced Product Fields
  • Why Upgrade?
  • OTHER LINKS
    • FAQs
    • Changelog
    • Useful Links
    • Support
Powered by GitBook
On this page

Was this helpful?

  1. Features

Shortcodes

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

PreviousProduct CollectionsNextSchedule

Last updated 3 months ago

Was this helpful?

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

YayPricing shortcode are available in and .

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.

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.

YayPricing Pro
Dynamic Pricing & Discounts Pro
Product pricing shortcode
Cart discount shortcode
Creating sale list