Merge pull request #2656 from jitendra-webkul/1.0
Catalog price rule issue fixed if discounted and normal price is same
This commit is contained in:
commit
65b34add4b
|
|
@ -73,6 +73,9 @@ class CatalogRuleProduct
|
|||
*/
|
||||
public function insertRuleProduct($rule, $batchCount = 1000, $product = null)
|
||||
{
|
||||
if (! (float) $rule->discount_amount)
|
||||
return;
|
||||
|
||||
$productIds = $this->getMatchingProductIds($rule, $product);
|
||||
|
||||
$rows = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue