Hello Sirs,
In Shop Page/Archives Page adds incorrect quantity in cart. I add to cart 4 items and it adds only one item at a time.
Please see the screenshot: https://prnt.sc/nn9e8r
URL: https://zoomit.gr/wordpress_2/product-category/kalokairina/
I would really appreciate it, if you could help me.
Thank you in advance.
Best regards,
Nick
Hey nickgin,
What modifications have you done – or – have you tried to disable plugins?
Best regards,
Basilis
Hey Basilis,
Thank you for your so quick answer!
I have already disabled plugins, but nothing happed.
I have used the following function: https://pastebin.com/H9RvLtpA
Maybe, something is wrong…
I would like appreciate it, if you could help me..
Best regards,
Nick
Hi,
I have checked and this is not happening at default Enfold – so there must be something else that makes issue with the code you have used.
I checked the function and I cant not see the problem. Is this the code that replaced with -/+ on the checking area?
Best regards,
Basilis
Hi Basilis,
Thank you so much for your great support and your time of course!!
I have resolved the issue. The problem was that the following class does not exist anymore: .post-type-archive-product and you to change it to: .type-product
I have added the corrected code below for anyone might need that code:
https://pastebin.com/bJ6Dq00Z
You can close the current ticket.
Best regards,
Nick
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon