Skip to content

Commit

Permalink
Fixed getProce and getWeight calls in snippet msProducts
Browse files Browse the repository at this point in the history
  • Loading branch information
bezumkin committed Oct 4, 2013
1 parent 39dcc5e commit b511c81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/components/minishop2/docs/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Changelog for miniShop2.
2.1.1 pl
==============
- Fixed access permissions tab on product update.
- Fixed getProce and getWeight calls in snippet msProducts.

2.1.0 pl2
==============
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@
if ($modificators) {
$product->fromArray($row, '', true, true);
$tmp = $row['price'];
$row['price'] = $product->getPrice($scriptProperties, $row);
$row['weight'] = $product->getWeight($scriptProperties, $row);
$row['price'] = $product->getPrice($row);
$row['weight'] = $product->getWeight($row);
if ($row['price'] != $tmp) {
$row['old_price'] = $tmp;
}
Expand Down

0 comments on commit b511c81

Please sign in to comment.