Page 1 of 1

Error: Product Delete @ Cart - Adv. Coupon n Sales Promotion

Posted: Sun Aug 24, 2014 4:53 pm
by thegeekz
Hi,

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) {
IF u need further codings, please let me know -- via pm ... not sure if it s right to post everything out....


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.

Re: Error: Product Delete @ Cart - Adv. Coupon n Sales Promo

Posted: Fri Sep 19, 2014 9:30 am
by thegeekz
Developer still did not resolve the issue. Its closing on 3 weeks since the day I tried to contact them for support.

Could anyone have any idea how can I solve these issues?

See below :

** Same similar error for all the promotion extensions -- Undefined index: price

After applying the promotion code / direct discount (Advanced Coupon / Sales Promotion / Social Discount), then when customer for example want to change his mind -- delete the product from cart --- ERROR will appear.

Tested on both oc1b and oc1, but essentially I believe the problems will surface in both carts -- though I'm fully utilising oc1 cart now... so you do not need to solve it at oc1b.



1 : Advanced Coupon

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) {

2 : Sales Promotion

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) {

Re: Error: Product Delete @ Cart - Adv. Coupon n Sales Promo

Posted: Thu Sep 25, 2014 10:01 am
by thegeekz
Anyone ? -- will need to settle this soon....

Developer is still unresponsive...

Was wondering if this would be similar to the implementation of the Default Coupon code?

I'm noob though... not sure how to solve...

Re: Error: Product Delete @ Cart - Adv. Coupon n Sales Promo

Posted: Fri Sep 26, 2014 2:34 pm
by thegeekz
Would anyone be willing to guide me urgently?

At wits end, if this can't solve, we can't go live.