fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Code variation in “ADD TO CART” Button

HI!

I’ve installed the last version of PRO plugin (Versión 1.1.10). I’ve a problem from the last update.

In the ADD TO CART buton in my grid products appear the follow code.

 

Screenshot_1.png

 

Now I’ve desactivated the plugin and the code dissapear, untill repairs this issue.

Can you help me?

Shahin Sid

Hi Juan Antonio,

Thanks for reaching us. We are sorry for your inconvenience.

Could you send us the latest version of the theme that you are using on your site. We’ll try to investigate your issue installing your theme on our local setup.

You can upload the theme file in Dropbox or Google drive and send the download link here directly.

Looking forward to hearing from you soon.

Thank you

Shahin Sid

Hello Juan Antonio García-Filoso,

Yeah, it’s asking for activation. How can I do that?

Thanks

Hi!!

If you give me the credentials to access at your site I can activate it but only for develeopment works. The theme licence has that restriction.

Send me access URL, user and pass

Regards

Shahin Sid

Hello Juan Antonio García-Filoso,

Actually, it is in my localhost. Not in a live/online server.

Thanks

Tanvirul Haque

Hi Juan Antonio,

Thanks for reaching us. We are sorry for your inconvenience.

Could you send us the latest version of the theme that you are using on your site. We’ll try to investigate your issue installing your theme on our local setup.

You can upload the theme file in Dropbox or Google drive and send the download link here directly.

Looking forward to hearing from you soon.

Thank you

I’ve activated the theme only for development site. The licences now is in use by my site but you have activated all the functions.

 

Many thanks

Tanvirul Haque

Hello Juan Antonio García-Filoso,

Could you please make the same think on our dev site? https://i.imgur.com/GFGHkJB.png

Thanks

Hi, Tanvirul Haque:

I’ve installed the official demo products from WooCommerce and I’ve created a test page:

https://wptestbox.com/juan/?page_id=13

I’ve created to the same grid that I have created in my site and i’ve configurated it in the test page.

Like you can observe, the variable products shows the same error in the ADD TO CART buton. (I attach a screenshot https://ibb.co/XXvnMn7)

I hope that now you can find a sollution.

Greetings

 

 

Tanvirul Haque

Hello Juan Antonio García-Filoso,

A piece of good news for you 🙂 I have fixed the issue, could you please follow my instruction here? https://www.loom.com/share/13b8554b4512472a9d0fb7c667501ad3

Here are the necessary codes:

.wvs-pro-product, .w-grid-item.product-type-variable

add_action( 'init', function () {
add_filter(
'woo_variation_swatches_archive_add_to_cart_select_options', function ( $text ) {
return '<span class="w-btn-label">Select options</span>';
}
);
add_filter(
'woo_variation_swatches_archive_add_to_cart_text', function ( $text ) {
return '<i class="g-preloader type_1"></i><span class="w-btn-label">Add to cart</span>';
}
);
});

Please let me know is it working for you or not.

Thanks