fbpx
Enjoy Year-End Sale: 50% Off All Plugins! Coupon Code: NewYear2025

Error en botón de pago

Hello, I am using the Impreza theme where I also use my own templates to display the products.
The problem is that the add to cart button does not show me well.

 Captura de pantalla 2021-08-31 a las 9.26.11.png

Hakik Zaman

Hello Alvaro,

Thanks for reaching out to us. Please create a child theme or install the code snippet plugin. Then put the below code inside your child theme’s functions.php or snippet as code snippet plugin.

add_filter(
'woo_variation_swatches_archive_add_to_cart_button_text', function ( $html ) {

$html = str_replace( '{{us_add_to_cart_start}}', '<i class="g-preloader type_1"></i><span class="w-btn-label">', $html );
$html = str_replace( '{{us_add_to_cart_end}}', '</span>', $html );

return $html;
});

 

Please let me know, is it resolved your issue or not. If not we are from Bangladesh and the IP is 103.108.146.42

Hope to hear from you soon.

Thanks

Hello, it works perfectly for me but with version 1.1.8.
With the latest version it does not change the text to “Add to Cart”, it does not let me add it to the cart directly and it does not change the photos when selecting the variation.

Hakik Zaman

Hi Alvaro,

We are from Bangladesh and the IP is 103.108.146.42

Can you please give us temporary admin access to your site? We’ll try to investigate the issue for you.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Hakik Zaman

Hello Alvaro,

The link is not accessible. Could you please check this?

Hope to hear from you soon.

Thanks

Hello, try to enter as incognito in 10 min, the changes in the server usually take time since it gave you access to enter from your country.
A greeting and sorry for the inconvenience.

Hakik Zaman

Hi Alvaro,

Could you update your free and premium version of the WooCommerce Variation Swatches plugin? You are using a very old version (1.1.8) of Variation Swatches for WooCommerce.

The current version of swatches plugins is the following.

Variation Swatches for WoooCoommerce – Version 1.1.17

Variation Swatches for WooCommerce Pro – Version 1.1.17

Please make sure you are using the same version and let me know then I can check it with the latest version.

Thank You

Yes, I have both plugins with the same version and it doesn’t work correctly for me.

Hakik Zaman

Hello Alvaro,

Sorry for your inconvenience. After updating the plugin to 1.1.17, you have to adjust some settings.

Please check it now, everything is working from my side. Don’t forget to clear your cache before checking.

Please let me know, is it resolved from your side or not.

Hope to hear from you soon.

Thanks

Ok, it works correctly now, thank you very much for your attention and congratulations for the work and for this magnificent plugin. How has it been solved? , I have more web with this complement and with the same template and it gives me the same error.
Regards and thanks for your attention.

Genial, ya he realizado la reseña, muchas gracias por su atención.

Hakik Zaman

Thank you so much.