Display Options
In WooCommerce → Discount Rules Box → Display Options you toggle every visual element of the buy box. Disabled elements are hidden on the frontend and their related settings are hidden in the admin.
| Option | Default | What it does |
|---|---|---|
| Show free shipping | On | Displays the shipping status callout and a "free shipping" badge on packs that reach the threshold. |
| Show footer badges | On | Displays trust badges (guarantee, shipping, cash on delivery…) below the CTA button. |
| Show savings | On | Displays the exact saved amount on each pack card and in the cart line item. |
| Show "Best Value" badge | On | Highlights the recommended tier with a highlighted badge. |
| Show per-unit price | On | Displays the price per individual piece next to the headline price. |
| Show strikeout price | On | Displays the original price struck through next to the discounted price. |
Settings Reference
Every display element maps to a boolean setting in drbu_settings (yes = on, no = off). Disabling an option hides the element on the frontend and its related settings in the admin.
| Option | Default | Related setting |
|---|---|---|
drbu_enable_free_shipping | Pro: yes / Free: no | drbu_free_ship_threshold (default 50) |
drbu_enable_footer_badges | yes | footer_badges text group (one badge per line) |
drbu_enable_savings | yes | savings_label string; {save} placeholder in tier notes |
drbu_enable_best_value | yes | drbu_best_value_index (default 2) and drbu_best_value_color |
drbu_enable_per_unit | yes | per_unit_label string (default "per unit") |
drbu_enable_was_price | yes | Original price struck through on each pack card |
Free Shipping & Threshold
Set a free shipping threshold amount. Packs whose total reaches the threshold automatically show the free shipping badge and the "free shipping included" status line — a powerful upsell signal that pushes buyers to the 2- or 3-pack.
ship_free_text— the free shipping status line text.ship_paid_prefix— the text shown before the remaining amount until free shipping.free_ship_flag— the "free shipping" badge text on the qualifying pack.
Footer Badges
Enter one trust badge line per row (e.g. "Money-Back Guarantee", "Free 24h Shipping", "Cash on Delivery"). Each line renders with a checkmark icon below the CTA button.
Savings Callout
Shows the exact amount saved on each pack (using the {save} placeholder in pack notes) and adds a savings line to the cart item. When disabled, the savings line is removed from the cart too.
"Best Value" Badge
Choose the badge text and which tier gets the badge (e.g. tier 2). The badge color is configured in Appearance & Styles. The recommended tier is automatically clamped to the active tier count.
Per-Unit Price & Strikeout Price
- Per-unit price — shows e.g.
$14.40 / unitso buyers can compare value across packs. - Strikeout price — shows the original full-price total struck through, making the discount visible.