- Posts: 109
- Thank you received: 5
Multiple Form Submission on Double-Clicking
11 years 4 weeks ago #213593
by Ed_Hika
Multiple Form Submission on Double-Clicking was created by Ed_Hika
-- HikaShop version -- : 2.4.1
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.2
Hello, there.
Good evening!
The following issue is reproducible on your demo site by the following steps:
1) go to a product page of a product
2) click on the "Add to Cart" button in quick succession
3) the product is added multiple times because the form is submitted multiple times
Please could you advise how best to prevent the form from being submitted multiple times?
Thanks.
Take care!
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.2
Hello, there.
Good evening!
The following issue is reproducible on your demo site by the following steps:
1) go to a product page of a product
2) click on the "Add to Cart" button in quick succession
3) the product is added multiple times because the form is submitted multiple times
Please could you advise how best to prevent the form from being submitted multiple times?
Thanks.
Take care!
Please Log in or Create an account to join the conversation.
11 years 4 weeks ago #213601
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Multiple Form Submission on Double-Clicking
Hi,
We are currently working on a re-factoring of the "add to cart" system ; but it won't be available for the next release, it will be available later.
To prevent such think, the best is to put the button as "disabled" once you clicked on it.
The idea is to replace the javascript in the "add to cart" button to add a "this.disabled = true" when we authorize the "add to cart".
Regards,
We are currently working on a re-factoring of the "add to cart" system ; but it won't be available for the next release, it will be available later.
To prevent such think, the best is to put the button as "disabled" once you clicked on it.
The idea is to replace the javascript in the "add to cart" button to add a "this.disabled = true" when we authorize the "add to cart".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.167 seconds