Buy button of product page - by Michael - on WordPress WooCommerce support

This topic has 8 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Michael

  • Avatar: Michael
    Michael
    Participant
    August 13, 2020 at 16:01

    I wanted all buttons on the product to have the same animation as on this page so as not to feel like I didn’t click

    Animation print: https://prnt.sc/tz1k21

    Product in question of the animation: https://makobaby.com.br/produto/kit-berco-9pcs-tranca-encanto-safari-palha-brubrelel-153620/

    I want this animation for all the buy buttons in the catalog and on the product page on all products, and if possible change the see options button and add to cart, all for the buy text

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 14, 2020 at 13:28

    Hello,

    They have http://prntscr.com/tzk35s Do you want to change the color to white?
    If you want to change the text to Buy you can use the translation files for these purposes and instead of the real translation change the text to what you need. If you provide us with WP Dashboard access we’ll make you an example.

    Regards

    Avatar: Michael
    Michael
    Participant
    August 14, 2020 at 13:52

    I want exactly that in print, but in all purchase buttons, because it is only in some products, I also wanted in variable and compound products

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 17, 2020 at 14:52

    Hello,

    We can’t log in to your Dashboard http://prntscr.com/u10aqj
    Variable and compound products do not have Ajax add to cart on the single product. Page is reloaded after adding to cart, in your case I see redirect to cart page. You may try third-party plugins to add the Ajax add to cart for the variable products https://wordpress.org/plugins/woocommerce-ajax-add-to-cart-for-variable-products/ or https://wordpress.org/plugins/woo-ajax-add-to-cart/

    Regards

    Avatar: Michael
    Michael
    Participant
    August 17, 2020 at 14:56

    Sorry, correct information

    Please contact administrator
    for this information.
    Avatar: Michael
    Michael
    Participant
    August 17, 2020 at 15:00

    the problem that I am already full of plugins and as you have the option in the single product and a javascript of it, I think I could add it for variable products right there, just adding the class, or something that shows these buttons also accept the animation

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    August 17, 2020 at 17:40

    Hello,

    Unfortunately, adding just a class won’t implement Ajax add to cart for the variable products.
    It’s more complicated.
    Besides as I can see you have already added the plugin because animation is there https://gyazo.com/1be57d85e390fa75acb7052d8109c606

    Regards

    Avatar: Michael
    Michael
    Participant
    August 17, 2020 at 18:36

    I used a plugin, because it would be the easiest way to solve it, but I wanted to avoid it, since I already overuse essential plugins and some, which is the easiest way to implement some features, but thanks for the help!

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Buy button of product page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.