=== Overview ===
Debug Enabled: yes
User: guest
Date: 2025-12-09T18:42:50+00:00
Discount Model: Best_deal
Role Stacking Mode: Additive MSRP
Use MSRP For Discounts: yes
Combine Product & Global Roles: no
Always Stack Global As Bonus: yes
Global Rules Override Product-Level: no
Cart Items: 5
Cart Subtotal: $16.67
=== Cart ===
Items Subtotal: $16.67
Discount Total: -$0.00
Fee Total: $0.00
Shipping Total: $0.00
Tax Total: $0.00
Grand Total: $16.67
=== Product #1777511 (Cart Item) ===
Name: AKA Delrin Spur 64 Pitch 120T (#1777511)
Quantity Context: 1
Unit MSRP: $4.99
Unit Public: $1.60
Unit Final: $1.60
Promo Discount (unit): -$3.39
Member Discount (unit): -$0.00
Savings %: 67.94%
Product Role %: 0.00%
Global Role %: 0.00%
Combined B2B %: 0.00%
Stack Mode: additive_msrp
Final Selection: Public
Active Rule: None
Product Rule: None
Global Rule: None
=== Product #1777386 (Cart Item) ===
Name: Replacement Allen Hex Tip for 2mm Wrench(L=100mm) (O.D.=3mm) (#1777386)
Quantity Context: 1
Unit MSRP: $3.99
Unit Public: $3.99
Unit Final: $3.99
Promo Discount (unit): -$0.00
Member Discount (unit): -$0.00
Savings %: 0.00%
Product Role %: 0.00%
Global Role %: 0.00%
Combined B2B %: 0.00%
Stack Mode: additive_msrp
Final Selection: Public
Active Rule: None
Product Rule: None
Global Rule: None
Overview
Debug Enabled: yes
User: guest
Date: 2025-12-09T18:42:50+00:00
Discount Model: Best_deal
Role Stacking Mode: Additive MSRP
Use MSRP For Discounts: yes
Combine Product & Global Roles: no
Always Stack Global As Bonus: yes
Global Rules Override Product-Level: no
Cart Items: 5
Cart Subtotal: $16.67
Cart Item #1777511
Base Product Pricing
| Product ID | 1777511 |
| Type | simple |
| Regular Price | $1.60 |
| Sale Price | N/A |
| MSRP | $4.99 |
| Tiered Pricing Rules | None Set on Product |
Standard Rules
| Product ID | 1777511 |
| Rule Type | None |
| Tiers | None Set on Product |
Product-Level Role Pricing Rules
| Administrator (administrator) | Type: flat |
| Editor (editor) | Type: flat |
| Author (author) | Type: flat |
| Contributor (contributor) | Type: flat |
| Subscriber (subscriber) | Type: flat |
| Customer (customer) | Type: flat |
| Shop manager (shop_manager) | Type: flat |
| Group 1 (grp_1) | Type: flat, Price: Regular: $0.80 |
| Group 2 (grp_2) | Type: flat, Price: Regular: $0.65 |
| Group 3 (grp_3) | Type: flat, Price: Regular: $1.59 |
| Group 4 (grp_4) | Type: flat, Price: Regular: $1.59 |
| Group 5 (grp_5) | Type: flat, Price: Regular: $1.59 |
| Group 6 (grp_6) | Type: flat |
| Group 7 (grp_7) | Type: flat |
| Group 8 (grp_8) | Type: flat |
| Group 9 (grp_9) | Type: flat, Price: Regular: $1.59 |
| Group 10 (grp_10) | Type: flat, Price: Regular: $1.59 |
| Group 11 (grp_11) | Type: flat |
| Group 12 (grp_12) | Type: flat, Price: Regular: $0.96 |
| Group 13 (grp_13) | Type: flat, Price: Regular: $0.88 |
| Group 14 (grp_14) | Type: flat, Price: Regular: $0.72 |
| Group 15 (grp_15) | Type: flat, Price: Regular: $0.64 |
| Group 16 (grp_16) | Type: flat, Price: Regular: $0.76 |
Pricing Metrics & Savings
| Quantity Context | 1 |
| Price Anchors |
| MSRP Baseline | $4.99 |
| Regular Price (edit) | $1.60 |
| Sale Percent vs Baseline | 67.94% |
| Public Price (Sale/Tier) | $1.60 |
| Plain Role Candidate | $4.99 |
| Stacked Candidate | $1.60 |
| Final Price (Expected) | $1.60 |
| Discounts |
| Promo Discount Amount | -$3.39 |
| B2B Discount Amount | 0 |
| Total Savings | -$3.39 (67.94%) |
| Percentages |
| Product Role % | 0% |
| Global Role % | 0% |
| Combined B2B % | 0% |
Pricing Candidates
| Candidate | Price | Δ vs Final | Notes |
|---|
| Public | $1.60 | 0 | Post-sale/tier price |
| Stacked Additive MSRP | $1.60 | 0 | Stacked candidate (Additive MSRP) |
| Final Price | $1.60 | — | Selected via Public |
Rule & Stacking Flags
| Active Rules |
| Active Rule | None |
| Product Rule | None |
| Global Rule | None |
| Settings & Overrides |
| Global Override Setting | No |
| Combine Product & Global Setting | No |
| Effective Combine After Safety Nets | No |
| Ignored Global Due To Precedence | No |
| Ignored Global Due To Setting | No |
| Stacking Mode | Additive MSRP |
| Final Selection Reason | Public |
| Active Role % (Legacy) | 0% |
Live Price Timeline
| # | Description | Price | Δ Price | Δ Time | Context |
|---|
| 1 | Initial Raw Price | $1.60 | — | — | woocommerce_product_get_price |
| 2 | Pre-Authoritative Snapshot | $1.60 | 0 | 2.9ms | pre_authoritative |
| 3 | After Tier Rules | n/a | — | 0.1ms | tier_rules |
| 4 | Initial Raw Price | $1.60 | 0 | 213.2ms | woocommerce_product_get_price |
| 5 | After Tier Rules | n/a | — | 0.4ms | tier_rules |
| 6 | Initial Raw Price (x7) | $1.60 | 0 | 0.1ms | woocommerce_product_get_price | repeat x7 |
| 7 | After Tier Rules | n/a | — | 6.7ms | tier_rules |
| 8 | Initial Raw Price | $1.60 | 0 | 0.4ms | woocommerce_product_get_price |
| 9 | After Tier Rules | n/a | — | 0.1ms | tier_rules |
| 10 | Initial Raw Price | $1.60 | 0 | 20.2ms | woocommerce_product_get_price |
Calculation Path Trace
1. Best Public Price (Sale/Tier): $1.60
2. Plain Role Candidate: $4.99
3. Stacked Candidate: $1.60
4. Discount Model / Stacking: Best_deal / additive_msrp
5. Final Price: $1.60
Pricing Logic Path
Start with Public Price (Sale/Tier): <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> → Discount Model: Best_deal → Plain Role Candidate: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span> (0% off base) → Stacked Candidate (additive_msrp): <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> (Public 67.94% + Role 0%) → Choose Minimum Candidate => Final Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Pricing Logic Code
// == 1. Initialize Base Values ==
$regular_price = 1.6;
$sale_price = N/A;
$msrp = 4.99;
// == 2. Determine Base Price for Discounts (based on settings) ==
$use_msrp_setting = 'yes';
$base_price_for_discount = ($use_msrp_setting === 'yes' && $msrp > 0) ? $msrp : $regular_price; // Result: 4.99
// == 3. Calculate Final Price using Layered Logic ==
$current_price = $regular_price;
if ($sale_price && $sale_price < $current_price) {
$current_price = $sale_price;
}
$tiered_price = calculate_tier_price(1, $current_price); // null
if ($tiered_price !== null && $tiered_price < $current_price) {
$current_price = $tiered_price;
}
if (B2B_RULE_MATCHES) { // Rule: None
$discount_percent = 0%;
$discount_amount = $current_price * ($discount_percent / 100);
$current_price -= $discount_amount; // Plain role candidate 4.99
}
// Stacking Mode: additive_msrp
// Stacked Candidate: 1.6
$final_price = 1.6;
// == 4. Calculate "You Save" Amount ==
// Note: This also uses the base price determined in step 2.
$you_save = $base_price_for_discount - $final_price; // 3.39Summary
Calculation Summary
Context: Cart (Item #1777511)
Actual Final Price: $1.60
"You Save" Calculation Breakdown
• Based on MSRP: $4.99 - $1.60 = $3.39
• Based on Regular Price: $1.60 - $1.60 = $0.00
Cart Item #1777386
Base Product Pricing
| Product ID | 1777386 |
| Type | simple |
| Regular Price | $3.99 |
| Sale Price | N/A |
| MSRP | $3.99 |
| Tiered Pricing Rules | None Set on Product |
Standard Rules
| Product ID | 1777386 |
| Rule Type | None |
| Tiers | None Set on Product |
Product-Level Role Pricing Rules
| Administrator (administrator) | Type: flat |
| Editor (editor) | Type: flat |
| Author (author) | Type: flat |
| Contributor (contributor) | Type: flat |
| Subscriber (subscriber) | Type: flat |
| Customer (customer) | Type: flat |
| Shop manager (shop_manager) | Type: flat |
| Group 1 (grp_1) | Type: flat, Price: Regular: $1.99 |
| Group 2 (grp_2) | Type: flat, Price: Regular: $1.61 |
| Group 3 (grp_3) | Type: flat, Price: Regular: $3.99 |
| Group 4 (grp_4) | Type: flat, Price: Regular: $3.99 |
| Group 5 (grp_5) | Type: flat, Price: Regular: $3.99 |
| Group 6 (grp_6) | Type: flat |
| Group 7 (grp_7) | Type: flat |
| Group 8 (grp_8) | Type: flat |
| Group 9 (grp_9) | Type: flat, Price: Regular: $3.99 |
| Group 10 (grp_10) | Type: flat, Price: Regular: $3.99 |
| Group 11 (grp_11) | Type: flat |
| Group 12 (grp_12) | Type: flat, Price: Regular: $2.39 |
| Group 13 (grp_13) | Type: flat, Price: Regular: $2.19 |
| Group 14 (grp_14) | Type: flat, Price: Regular: $1.79 |
| Group 15 (grp_15) | Type: flat, Price: Regular: $1.59 |
| Group 16 (grp_16) | Type: flat, Price: Regular: $1.89 |
Pricing Metrics & Savings
| Quantity Context | 1 |
| Price Anchors |
| MSRP Baseline | $3.99 |
| Regular Price (edit) | $3.99 |
| Sale Percent vs Baseline | 0% |
| Public Price (Sale/Tier) | $3.99 |
| Plain Role Candidate | $3.99 |
| Final Price (Expected) | $3.99 |
| Discounts |
| Promo Discount Amount | 0 |
| B2B Discount Amount | 0 |
| Total Savings | 0 (0%) |
| Percentages |
| Product Role % | 0% |
| Global Role % | 0% |
| Combined B2B % | 0% |
Pricing Candidates
| Candidate | Price | Δ vs Final | Notes |
|---|
| Public | $3.99 | 0 | Post-sale/tier price |
| Final Price | $3.99 | — | Selected via Public |
Rule & Stacking Flags
| Active Rules |
| Active Rule | None |
| Product Rule | None |
| Global Rule | None |
| Settings & Overrides |
| Global Override Setting | No |
| Combine Product & Global Setting | No |
| Effective Combine After Safety Nets | No |
| Ignored Global Due To Precedence | No |
| Ignored Global Due To Setting | No |
| Stacking Mode | Additive MSRP |
| Final Selection Reason | Public |
| Active Role % (Legacy) | 0% |
Live Price Timeline
| # | Description | Price | Δ Price | Δ Time | Context |
|---|
| 1 | Initial Raw Price | $3.99 | — | — | woocommerce_product_get_price |
| 2 | Pre-Authoritative Snapshot | $3.99 | 0 | 1.4ms | pre_authoritative |
| 3 | After Tier Rules | n/a | — | 0.0ms | tier_rules |
| 4 | Initial Raw Price | $3.99 | 0 | 211.3ms | woocommerce_product_get_price |
| 5 | After Tier Rules | n/a | — | 0.4ms | tier_rules |
| 6 | Initial Raw Price (x7) | $3.99 | 0 | 0.1ms | woocommerce_product_get_price | repeat x7 |
| 7 | After Tier Rules | n/a | — | 11.4ms | tier_rules |
| 8 | Initial Raw Price | $3.99 | 0 | 0.2ms | woocommerce_product_get_price |
| 9 | After Tier Rules | n/a | — | 0.1ms | tier_rules |
| 10 | Initial Raw Price | $3.99 | 0 | 15.7ms | woocommerce_product_get_price |
Calculation Path Trace
1. Best Public Price (Sale/Tier): $3.99
2. Plain Role Candidate: $3.99
3. Discount Model / Stacking: Best_deal / additive_msrp
4. Final Price: $3.99
Pricing Logic Path
Start with Public Price (Sale/Tier): <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> → Discount Model: Best_deal → Plain Role Candidate: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> (0% off base) → Choose Minimum Candidate => Final Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span>
Pricing Logic Code
// == 1. Initialize Base Values ==
$regular_price = 3.99;
$sale_price = N/A;
$msrp = 3.99;
// == 2. Determine Base Price for Discounts (based on settings) ==
$use_msrp_setting = 'yes';
$base_price_for_discount = ($use_msrp_setting === 'yes' && $msrp > 0) ? $msrp : $regular_price; // Result: 3.99
// == 3. Calculate Final Price using Layered Logic ==
$current_price = $regular_price;
if ($sale_price && $sale_price < $current_price) {
$current_price = $sale_price;
}
$tiered_price = calculate_tier_price(1, $current_price); // null
if ($tiered_price !== null && $tiered_price < $current_price) {
$current_price = $tiered_price;
}
if (B2B_RULE_MATCHES) { // Rule: None
$discount_percent = 0%;
$discount_amount = $current_price * ($discount_percent / 100);
$current_price -= $discount_amount; // Plain role candidate 3.99
}
// Stacking Mode: additive_msrp
// Stacked Candidate: n/a
$final_price = 3.99;
// == 4. Calculate "You Save" Amount ==
// Note: This also uses the base price determined in step 2.
$you_save = $base_price_for_discount - $final_price; // 0Summary
Calculation Summary
Context: Cart (Item #1777386)
Actual Final Price: $3.99
"You Save" Calculation Breakdown
• Based on MSRP: $3.99 - $3.99 = $0.00
• Based on Regular Price: $3.99 - $3.99 = $0.00
Cart
Customer View Snapshot
Subtotal: $16.67
Total: $16.67
Cart Data Breakdown
--- Cart Items Details ---
Product: AKA Delrin Spur 64 Pitch 120T (#1777511)
Quantity: 1
Regular Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span>
Sale Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Item Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Line Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Line Subtotal: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Product: Replacement Allen Hex Tip for 2mm Wrench(L=100mm) (O.D.=3mm) (#1777386)
Quantity: 1
Regular Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span>
Sale Price: N/A
Item Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span>
Line Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span>
Line Subtotal: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span>
Product: AKA Delrin Spur 64 Pitch 115T (#1777510)
Quantity: 1
Regular Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span>
Sale Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Item Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Line Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Line Subtotal: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span>
Product: Ball Bearing 5 X 11 Unflanged (1) each (#1777523)
Quantity: 1
Regular Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.71</bdi></span>
Sale Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span>
Item Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span>
Line Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span>
Line Subtotal: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span>
Product: Wrench Ti-Nitride Allen Hex 3mm (Handle:18mm O.D.) (#1779423)
Quantity: 1
Regular Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span>
Sale Price: N/A
Item Price: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span>
Line Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span>
Line Subtotal: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span>
--- Cart Totals Breakdown ---
Items Total (pre-discount) : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>
Subtotal (after coupons) : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>
Total (final) : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>
--- Discounts ---
Total Discount Amount : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
Total Discount Tax : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
--- Fees ---
--- Shipping ---
Shipping Total : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
Shipping Tax : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
--- Taxes ---
Total Tax : <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
Authoritative Price Audit
Product #1777511 x1 => MSRP:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span> Public:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> RoleCand:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span> Stacked:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> Final:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> Woo:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> [OK] PromoDisc:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.39</bdi></span> B2BDisc:— TotalSave:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.39</bdi></span>
Product #1777386 x1 => MSRP:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> Public:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> RoleCand:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> Stacked:— Final:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> Woo:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.99</bdi></span> [OK] PromoDisc:— B2BDisc:— TotalSave:—
Product #1777510 x1 => MSRP:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span> Public:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> RoleCand:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>4.99</bdi></span> Stacked:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> Final:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> Woo:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.60</bdi></span> [OK] PromoDisc:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.39</bdi></span> B2BDisc:— TotalSave:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>3.39</bdi></span>
Product #1777523 x1 => MSRP:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.71</bdi></span> Public:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span> RoleCand:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.71</bdi></span> Stacked:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span> Final:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span> Woo:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>1.49</bdi></span> [OK] PromoDisc:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.22</bdi></span> B2BDisc:— TotalSave:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.22</bdi></span>
Product #1779423 x1 => MSRP:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span> Public:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span> RoleCand:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span> Stacked:— Final:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span> Woo:<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.99</bdi></span> [OK] PromoDisc:— B2BDisc:— TotalSave:—
--------------------------------------------------------------------------------
Aggregate MSRP Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>23.67</bdi></span>
Aggregate Public Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span> (MSRP - PromoDisc: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>)
Aggregate Promo Discount: -<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.00</bdi></span>
Aggregate B2B Discount: -<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
Aggregate Total Savings: -<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.00</bdi></span> (Promo+B2B)
Aggregate Expected Final: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>
Aggregate eBo Line Total: <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span> [OK]
eBo Cart Subtotal (API): <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>
eBo Cart Contents Total (raw): <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>16.67</bdi></span>
eBo Cart Discount Total: -<span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>0.00</bdi></span>
Reconstructed Savings (MSRP - Expected Final): <span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>7.00</bdi></span>
Global Pricing Rules
Plugin Settings
| Calculation Logic |
| Discount Model | Best_deal |
| Use MSRP for Discounts | yes |
| Always Stack Global As Bonus | yes |
| Combine Product & Global | no |
| Discount From Regular | no |
| Round Final Price | yes |
| Summarize Variations | no |
| Global Rules Override | no |
| Cart Settings |
| Consider Sale Price in Cart | yes |
| Show Subtotal as Discount | Yes |
| YouSave Settings |
| You Save Enabled | yes |
| You Save Consider Sale Price | yes |
| You Save Template | Diff between reg and current: {tp_ys_price} |
Diff between reg and current x qty: {tp_ys_total_price} |
| Display Settings |
| Show in Catalog | yes |
| Catalog Display Type | lowest |
| Table Title | Pricing title |
| Pricing Blocks Style | default |
| Cart Line Subtotal Breakdown | no |
| NonLoggedIn Users |
| Hide Prices | no |
| Prevent Purchase | no |
| Debug |
| Debug Enabled | yes |
| Inline Debug (query tpt_debug) | off |
Hooks & Templates
Price HTML Filters
| Priority | Callback & File |
|---|
| 10 | XTS\Modules\Unit_Of_Measure\Main -> output_unit_of_measure File: /wp-content/themes/ui-core/inc/integrations/woocommerce/modules/unit-of-measure/class-main.php:150 |
| 99 | TierPricingTable\Services\CatalogPricesService -> formatPrice File: /wp-content/plugins/tier-pricing-table/src/Services/CatalogPricesService.php:50 |
| 101 | TierPricingTable\Custom\Services\CustomDisplayManager -> override_product_page_price_html File: /wp-content/plugins/tier-pricing-table/src/Custom/Services/CustomDisplayManager.php:58 |
| 101 | TierPricingTable\Services\ProductPageService -> wrapPrice File: /wp-content/plugins/tier-pricing-table/src/Services/ProductPageService.php:113 |
| 150 | TierPricingTable\Services\YouSaveService -> addYouSave File: /wp-content/plugins/tier-pricing-table/src/Services/YouSaveService.php:46 |
| 200 | TierPricingTable\Custom\Services\CustomYouSaveService -> get_b2c_msrp_price_html File: /wp-content/plugins/tier-pricing-table/src/Custom/Services/CustomYouSaveService.php:57 |
| 900 | TierPricingTable\Custom\Services\CustomPricingConsistencyService -> enforce_consistent_price_html File: /wp-content/plugins/tier-pricing-table/src/Custom/Services/CustomPricingConsistencyService.php:51 |
| 999 | [Closure] File: /wp-content/plugins/tier-pricing-table/src/Custom/Services/CustomDebugService.php:76 |
| 999 | TierPricingTable\Services\ProductPageService -> renderTooltip File: /wp-content/plugins/tier-pricing-table/src/Services/ProductPageService.php:261 |