| @@ -49,8 +49,11 @@ | ||
| 49 | 49 | |
| 50 | 50 | $pricingRule->pricingData['discount'] = $roleBasedRule->getDiscount(); |
| 51 | 51 | $pricingRule->pricingData['discount_type'] = $roleBasedRule->getDiscountType(); |
| 52 | 52 | |
| 53 | + $pricingRule->pricingData['tax_status'] = $roleBasedRule->getTaxStatus(); | |
| 54 | + $pricingRule->pricingData['tax_class'] = $roleBasedRule->getTaxClass(); | |
| 55 | + | |
| 53 | 56 | $pricingRule->provider = 'role-based'; |
| 54 | 57 | $pricingRule->providerData['role'] = $roleBasedRule->getRole(); |
| 55 | 58 | |
| 56 | 59 | $pricingRule->logPricingModification( '[role-based]: Pricing rule is overridden by the rule for: ' . $roleBasedRule->getRole() ); |