Plugin Author
moiseh
(@moiseh)
Hi Sir,
As i checked you’re using Divi theme, in a common divi theme as far as i know it’s not happening, so probably because some override in your child theme or other plugin.
I recommend to check the overrides and comment/disable the code related with quantity input modifications until you discover where the issue come from. Also deactivate related plugins if it’s the case may help.
If you want some help with this then please send if possible the credentials to moiseh [at] gmail [dot] so i can inspect the code when have some time.
Thanks
Hello sir,
I have sent you the login cred. to your email.
Thank you very much for your time, I really appreciate it.
It is kinda urgent so I would be very happy if you could look into it as soon as you can. Thank you so much sir.
Plugin Author
moiseh
(@moiseh)
Hi,
I’ve commented this code in your child theme functions.php =>
// add_action('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_add_to_cart', 10);
Then the duplicated quantity disappears.
Regards
Hi, I updated my theme and your comment for that code disappeared. Could you please tell me what the comment was please? The problem with the buttons showing twice happened again … thank you
Plugin Author
moiseh
(@moiseh)
Hi,
Look into the functions.php file of your theme
In this line:
add_action('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_add_to_cart', 10);
You need to add “//” before to comment.
But, theoretically if you updated the main theme the child theme would be intact without changes, so maybe they added their own buttons in new update, in this case the previous fix will not work anymore.