Tried emailing the developer, but so far no response....
I have this issue with the Advanced Coupon & Sales Promotion Extension with the Product Deletion from cart / checkout (I believe it was when the item was in the cart and applied with the coupon or discount, then if customer changes his mind -- delete the product in the cart after that)
testrc.cybermind.com.sg/oc1b
testrc.cybermind.com.sg/oc1
Tried at my developmental cart testrc/oc1b & testrc/oc1.
But anyway, now I'm concentrating most of my testings in testrc/oc1 (side track abit -- oc1b seems buggy in other ways as well)
Error :
oc1b cart :
Notice: Undefined index: price in /home/cybermin/public_html/testrc/oc1b/catalog/model/total/advanced_coupon.php on line 154
Warning: Invalid argument supplied for foreach() in /home/cybermin/public_html/testrc/oc1b/catalog/model/total/advanced_coupon.php on line 154
** After logs out & log back in, no error shown -- till I do the same again.
IF I do not apply the discount or promotion code, no error will show.
This is Line 154 in the file:
Code: Select all
foreach ($ac_discount_product['price'] as $key => $val) {
oc1 cart :
I've been correcting some tpl with vqmod in this test cart.... Don't think they affect this (should inherent problem of the extension)
Notice: Undefined index: price in /home/cybermin/public_html/testrc/oc1/catalog/model/total/sales_promotion.php on line 123
Warning: Invalid argument supplied for foreach() in /home/cybermin/public_html/testrc/oc1/catalog/model/total/sales_promotion.php on line 123
I set a Free shipping for certain products in Sales Promotion, once I disabled that no error in the front. (set it to RSS cable -- 1 product only for free shipping)
And the error still shows after log out and log back in....
This is the line 123 code :
Code: Select all
foreach ($sp_discount_product['price'] as $key => $val) {
I suppose it will face the same error as oc1b...
Can anyone enlighten me how to solve this?
Thank you.