Post by motofox » Sun Sep 03, 2023 8:33 am

recieved an order today and on the order page everything is duplicated, the products, shipping, sub total, total.

the total price is correct however, not seen this before now.

oc 4.0.2.2

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by motofox » Sun Sep 03, 2023 8:23 pm

trying to remove one of the products results in the repeated items being removed then added up into one

Attachments

New Bitmap Image (2).gif

New Bitmap Image (2).gif (566.71 KiB) Viewed 2818 times

New Bitmap Image (2).gif

New Bitmap Image (2).gif (33.83 KiB) Viewed 2818 times


New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by motofox » Tue Sep 05, 2023 5:24 am

now seeing any product on the orders page that has options; double or triple in price randomly or when pressing refresh or confirm

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by ADD Creative » Tue Sep 05, 2023 6:47 am

What theme and extensions are you using? Do you get the issue with the default theme?

Have you checked both the PHP and OpenCart error logs?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Tue Sep 05, 2023 5:40 pm

Check your server's raw access log (you can find it via your cPanel) to see what exactly the customer did, and what exact device and/or web browser the customer was using. Also check your server's error log.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by motofox » Wed Sep 06, 2023 4:27 am

ADD Creative wrote:
Tue Sep 05, 2023 6:47 am
What theme and extensions are you using? Do you get the issue with the default theme?

Have you checked both the PHP and OpenCart error logs?

theme is the default. ( although i believe the opencart.mx thing changes that a bit ?)
A stripe payment gateway extension
formula based shipping extension
im using the opencart.mx extension
no errors in logs
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
thats my pc im using for testing.



So, its only affecting product unit price and totals only of products with options, and pressing the refresh button next to confirm doubles the price of affected products, pressing f5 or ctrl f5 reverts it back to normal. However everytime i press the confirm button on the order page, it permanently doubles the prices of affected products.

any product not with options is fine. just products with options double in price permantly when the CONFIRM button is pressed on orders.
I thought changing the order status was doing the same but i cannot replicate that now, il keep testing.
Last edited by motofox on Wed Sep 06, 2023 4:33 am, edited 1 time in total.

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by motofox » Wed Sep 06, 2023 4:32 am

JNeuhoff wrote:
Tue Sep 05, 2023 5:40 pm
Check your server's raw access log (you can find it via your cPanel) to see what exactly the customer did, and what exact device and/or web browser the customer was using. Also check your server's error log.
i replicated it myself on my own pc -
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36,

created an order from the front end, went to admin and messed around with the order and its everytime i press confirm button. im sure it did it on status change too but im not definate yet.

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by ADD Creative » Wed Sep 06, 2023 7:17 am

Looks like another bug, as I was able to recreate the issue. I made a test product that had a checkbox option with + cost. I made an order, either front end or backend, it didn't matter. Then in the admin edited the order I just created. On clicking refresh the price of the product increased by the cost of the option, so effectively the price was now the product price + (2 * option price).

You might want to check on GitHub to see id it's been reported or already fixed in the master branch.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by motofox » Thu Sep 07, 2023 12:22 am

ADD Creative wrote:
Wed Sep 06, 2023 7:17 am
Looks like another bug, as I was able to recreate the issue. I made a test product that had a checkbox option with + cost. I made an order, either front end or backend, it didn't matter. Then in the admin edited the order I just created. On clicking refresh the price of the product increased by the cost of the option, so effectively the price was now the product price + (2 * option price).

You might want to check on GitHub to see id it's been reported or already fixed in the master branch.
will do, thanks for confirming

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by Gigs » Tue Sep 12, 2023 4:05 am

I came here to report this as well, after seeing some odd behavior with product options being double added. Thankfully it looks like the customer was only charged the lower amount.

Newbie

Posts

Joined
Tue Sep 12, 2023 4:03 am

User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by motofox » Fri Sep 15, 2023 3:43 am

JNeuhoff wrote:
Tue Sep 12, 2023 6:48 pm
I think it's the same issue as reported on github.
Thats my post on github but they have closed it as already fixed in the master, i dont see any new fixes for it and im on the master copy ? the issue remains for me

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm

Post by motofox » Mon Sep 18, 2023 6:30 pm

ive recently upgraded to 4023 and im still getting the same issue, confirm or status change doubles the price of anything with options.

New member

Posts

Joined
Wed Nov 19, 2014 10:44 pm
Who is online

Users browsing this forum: No registered users and 2 guests