Archived topic
the add to cart sticky menu button in the product sheet does not work
6 replies · Started by joel on September 14, 2021
Hello
the add to cart sticky menu button in the product sheet does not work
WP: 5.8.1
GP premium: 2.00.3
WooCommerce: 5.6.0
When I am in a product page and the sticky menu appears at the top> click on "add to cart" it does not work, it sends me to the top of the page.
example on this link
exemple
Hi there,
I'm seeing a console error from plugin pw-gift-cards.
Can you disable that first?
Hello Leo
sorry for the late return!
When I create a "simple" product without it being a gift card the sticky menu button works fine.
But the gift card plugin support answers me this:
(and the problem is not solved)
____________
Torre - Pimwick, LLC wrote on 25/09/2021 at 20:51:
> The problem appears to be from the button click event:
>
> function (e) {
> return "undefined"! = typeof S && S.event.triggered! == e.type? S.event.dispatch.apply (t, arguments): void 0
>}
>
> S is undefined. Since this is minified code, it doesn't really help explain what else this is trying to do or where "S" should be defined. This information should be sent to your customer support person at Generate Press.
>
> This is not being caused by the gift card plugin but I will be happy to help work with their technical support person to find a solution if there is anything that they need from us. This button isn't standard WooCommerce and therefore is not supported by our team.
thanks for your help
Hi there,
i checked the URL you provided and the add to cart goes straight to the cart.
Did you change its behaviour ?
Hello
no, I did not change anything.
I just took the test and it doesn't work
you have to go down in the page wait for the sticky menu to appear then click on "add to cart" by clicking that does not add to the cart but brings up to the top of the page?
URL: https://www.royan-ulm.fr/produit/bapteme-de-lair-ulm-eguille-sur-seudre-circuit-n4/
Thank you for your help
Joel
Can't see how this would be a theme issue.
How are you adding that sticky add to cart panel?
Have you tried disabling all plugins except GP Premium and WooCommerce to test?