Site logo

Archived topic

"add to cart" sticky menu issue

22 replies · Started by joel on February 11, 2022

Viewing posts 1–15 of 23

Hello, thank you for your answer.

The button on your image is the wrong button.
you have to go down the page to see the sticky menu appear with the "add to cart" button on the right
I made you a screenshot which you can see in link
I also made a video (link N°2) but we don't see the button but if you do the same thing you will see the button.
I use a "Pimwick" gift card plugin as well as woocommerce
(image) https://ulm.17media.fr/bugs/bug-add-to-cart-stycky.jpg
(video) https://ulm.17media.fr/bugs/bug-add-to-cart.avi
Merci

I see, sorry for the misunderstanding.

Can you disable all plugins except GP premium and Woocommerce to test?

Let me know :)

it works.
obviously when I activate the "pimwick" plugin the error comes back

but here is what "pimwick" answered me
______________________________________
Hi Joel,

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,
Torre
Pimwick, LLC Support

Hi there,

I'm not able to see the error they're describing there.

However, since this product has variations, the sticky add to cart button is supposed to take you to the variations area of the page so the user can choose their options.

In this case, Pimwick is hiding the area we target to scroll to with CSS. We can try undoing their CSS and changing it so the button should be able to take you to the right place:

.product-type-pw-gift-card .variations {
    display: block !important;
    height: 0;
    overflow: hidden;
}

Let us know :)

Hello,
Thanks for your answer but it doesn't work.
I added your code in >>Additional CSS of my current theme (generatepress child)
I then deactivated the child theme to return to the normal theme but it does not work

it's the same probleme with storefront theme of woocommerce

please help me
thank you

Hi there,

the GP Sticky Add to Cart only works with Simple products, if it is note Simple then it will just take you to the product form.

I'm not seeing the CSS I mentioned added to the site right now - did you remove it?

David
yes i noticed it worked on single product so i would like it to work with other possibilities.

tom
Yes I deleted the css because after many tries it didn't change anything. I just put it back on just now and I'm going to leave it until tomorrow so you can see.
I am in France so there is obviously a big delay but I am attentive for me here it is 11:04 p.m. ;-)
thank you 2 for helping me I am not a developer but brave

your accompt

I have removed the login details you provided in the above post, they should not be shared outside of the private information field. Please add them to the Private Info field on your next reply.

oops
really thank you I did not remember that I was on a support type "forum"
I have created another access for you
Thanks again David

Joël

This archived topic is closed to new replies.