
外掛標籤
開發者團隊
原文外掛簡介
VSW Bogo Offer On Category lets you run powerful Buy X Get Y Free promotions on your WooCommerce store, configured per product category. No coupon codes, no complex setup — just pick a category, choose a deal type, and the plugin does the rest automatically.
How It Works
Go to the top-level BOGO Offers menu in your WordPress admin sidebar.
Click + Add Rule, select a product category (e.g. ProductCat, ProductCat1).
Choose a deal type — Buy 1 Get 1 Free, Buy 1 Get 2 Free, Buy 2 Get 2 Free, and many more.
Save. The offer is live immediately — no page reload needed.
When a customer adds qualifying products from that category to their cart, the plugin automatically identifies the cheapest items and sets their price to ₹0. The cart, mini-cart sidebar, and checkout all reflect the correct discounted total instantly.
Supported Deal Types
Buy 1 Get 1 Free (B1G1) — Classic BOGO
Buy 1 Get 2 Free (B1G2)
Buy 1 Get 3 Free (B1G3)
Buy 2 Get 1 Free (B2G1)
Buy 2 Get 2 Free (B2G2)
Buy 2 Get 3 Free (B2G3)
Buy 3 Get 1 Free (B3G1)
Buy 3 Get 2 Free (B3G2)
Buy 3 Get 3 Free (B3G3)
Buy 4 Get 3 Free (B4G3)
Buy 4 Get 4 Free (B4G4)
Key Features
✅ Category-based rules — each rule targets one product category independently
✅ Auto cheapest detection — the cheapest items in each group are always free
✅ set_price(0) engine — free items are truly set to ₹0, so subtotal, mini-cart, and checkout all show the correct total
✅ Works in mini-cart sidebar — Hurray! banner and ₹0 price appear in the cart drawer immediately after adding items
✅ AJAX-powered — discount updates without page reload when items are added to cart
✅ Quantity scaling — 4 items with B1G1 = 2 free; 6 items with B2G2 = 4 free
✅ Multiple simultaneous rules — run B1G1 on ProductCat and B2G2 on Bangles at the same time
✅ Pause / resume rules — temporarily disable a rule without deleting it
✅ “Hurray!” celebration banner — animated red card with confetti shown in cart and mini-cart when discount triggers
✅ “Buy X Get Y Free On [Category]” badge — shown under the free item’s name in the cart
✅ Free item price display — shows ₹0.00 with strikethrough original price
✅ Teaser notice — purple banner tells customers about available offers before they add enough items
✅ Variable product support — works with simple and variable products
✅ HPOS compatible — WooCommerce High-Performance Order Storage ready
✅ Top-level admin menu — “BOGO Offers” appears independently in the WordPress sidebar
✅ Translation-ready — full .pot file included
✅ No coding required
Example Scenarios
Buy 1 Get 1 Free on ProductCat:
Customer adds Product A (₹799) + ProductCat B (₹399) → B is free → Cart total ₹799 ✅
Buy 2 Get 2 Free on ProductCate:
Customer adds 4 Product priced ₹600, ₹500, ₹400, ₹300 → cheapest 2 (₹300 + ₹400) free → Total ₹1,100 ✅
Buy 1 Get 2 Free on ProductCates:
Customer adds 3 Product priced ₹500, ₹300, ₹200 → cheapest 2 (₹200 + ₹300) free → Total ₹500 ✅
Privacy
This plugin does not collect, store, or transmit any personal data. It uses WooCommerce session storage only to cache active discount details within a shopping session.
