Skip to content

Commit 50258ee

Browse files
authored
Correctly store source_id of rules in product collection surcharges
1 parent 6bd5689 commit 50258ee

File tree

1 file changed

+1
-0
lines changed
  • system/modules/isotope_rules/library/Isotope/Model/ProductCollectionSurcharge

1 file changed

+1
-0
lines changed

system/modules/isotope_rules/library/Isotope/Model/ProductCollectionSurcharge/Rule.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public static function createForRuleInCollection(RuleModel $objRule, IsotopeProd
7474
$objSurcharge->tax_class = 0;
7575
$objSurcharge->before_tax = true;
7676
$objSurcharge->addToTotal = true;
77+
$objSurcharge->source_id = $objRule->id;
7778

7879
// Product or producttype restrictions
7980
if ($objRule->productRestrictions != '' && $objRule->productRestrictions != 'none') {

0 commit comments

Comments
 (0)