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
  2. Product Pricing

Buy X Get Y

PreviousBOGO (same product)NextChange free gifts

Last updated 4 months ago

Was this helpful?

This rule type allows you to configure a pricing rule that is gift-oriented, i.e., you can offer free items or discounted items when a customer buys any product that falls under this rule. It then gives you the option to select product categories, names, variations, tags, prices, or specific products that are affected by these rules.

  1. The Count quantity by option allows you to choose how the rule will apply to different types of product quantities are:

  • The All together option calculates the total quantity of all items in the cart, regardless of product type. It applies the bulk discount based on the combined total quantity. For example, 5 units of Product A and 3 of Product B would total 8 units, triggering the discount

  • The Item quantity in each cart line option calculates discounts based on the quantity of each product in separate cart lines. Each product's discount is applied independently. For example, 5 units of Product A and 3 units of Product B will receive discounts based on their individual quantities

  • The Each single product/variable product option treats each product variant (e.g., size, color) as separate items for quantity calculation. Discounts apply based on the quantity of each variant. For example, 3 units of "Small" and 4 units of "Medium" will receive separate discounts based on their individual quantities.

  1. The "Repeat" option allows you to set whether the rule repeats or not.

  2. The "Buy Products" field allows you to select the products that users must purchase in order to receive the discount.

  3. The "Get Products" field allows you to specify the discounted item that the promotion will apply to.

The mode of Apply offers three options to apply a discount that is exclusively for the "Buy X, Get Y" discount type.

  • Default: Free/discount products will be selected in sequential order from the list.

  • Cheapest one: The product with the lowest price among the items in the "Get Products" list will be selected for a free item or discount.

  • Most expensive one: The product with the highest price among the items in the "Get Products" list will be selected for a free item or discount.

Example 1:

You are setting up a rule that allows customers to get 1 album, beanie, belt, or cap for free when they buy 2 items from the "Accessories" product category.

Note: If you set a free item as the default, your customers can pick the free item they wish to receive. (PRO version)

Example 2:

You are setting up a rule that allows customers to get 1 album, beanie, belt, or cap at a 50% discount on the most expensive item when they buy 2 items from the "Accessories" product category.

Buy X get Y setting rule
Example rule setting buy X get Y
Result
Example rule setting buy X get Y
Result
Example rule setting buy X get Y 2