Not working on variable products
-
Hi,
First of all let me say i love your plugin, it is pretty straight forward and easy to use.
That being said, i just noticed that on normal products it works great hiding the add to cart button, but on variable products, the button is still there, even though it does not let you click on it.
Any solutions?? thanks!!!
-
I must admit I haven’t tried it much with variable products, but right now I can’t think of a reason why it shouldn’t work the same way.
It could be your theme that handles the “add to cart” button differently for variable products. When the button is disabled, do you still see the message “Sorry, this product is not available in your country”?
Hi,
Thanks for the quick response!
Well, no you dont see any message, it simply just shows the button, but is not clickable.. is more like if it where an image and not a buton… if you tell me the country where you are, i can send you the link with the variable product blocked for your country, so you can check it yourself.
Thanks
Kind regardsHey!
May i ask you one last question?? would you please help me on hidding the price too? not just the add to cart, but the pricee too.
Thanks
Kind regardsHello was there a solution for the plug in not working with the variable products? I have same issue but it allows you to click the choose the variable. when you click add to cart it pops up window “Sorry, this product is unavailable. Please choose a different combination.”
Im going to assume it is my theme, but if there is a workaround that would be great.
Thanks
MarkI’m having the same issue with my variable products – it shows the add to cart button and when I click add to cart it shows the message “Sorry, this product is unavailable. Please choose a different combination.”
Is there a fix to make is either not show the add to cart button or to show the correct message ‘Sorry, this product is not available in your country’
Note my product URL is http://nanonutra.wpengine.com/product/liposomal-curcumin/ – and the product is not available outside the US
-
This reply was modified 9 years, 8 months ago by
camnanonutra.
Hi,
Yes.. kind of.. i ended up using a better plugin.. in fact would say a must have plugin for an woocommerce site.
booster for woocomerce is the name and the option to choose is currencies by country. The best thing is that now it allows google bot to crwal the price so search console is happy.
can you block specific products from being ordered in specific countries with Booster for Woocommerce?
is this a free plugin?
yes!
Depending on which country you are in, you will see that it works in this url of mine http://nataliayandres.com/oxynergy/shop/my-personalized-cream/ you will see there is no price (unless you are in an allowed country of mine.
does it show the message ‘Sorry, this product is unavailable. Please choose a different combination.’?
do you know how to change this message to something like “Sorry, this product is not available in your country”?
did you check the url i sent you??
sorry i sent you the wong one, check this one out http://www.oxynergy.com/shop/my-personalized-cream/
I can see it – but for me (in Vancouver, Canada) it shows the message:
‘Sorry, this product is unavailable. Please choose a different combination.’
Do you know how to change this message to something like “Sorry, this product is not available in your country”
Otherwise I think customers will be confused!
Hi!
yes, you can use this code to change the text that woocomerce throw
add_filter( 'gettext', 'customizing_product_variation_message', 10, 3 ); function customizing_product_variation_message( $translated_text, $untranslated_text, $domain ) { if ($untranslated_text == 'Sorry, this product is unavailable. Please choose a different combination.') { $translated_text = __( 'Here goes your custom text', $domain ); } return $translated_text; }Great thanks!
Is this a change to Woocommerce or to the Booster plugin?
I’m not keen to make any changes to the core Woocommerce plugin (for integration and updates).
Cheers!
-
This reply was modified 9 years, 8 months ago by
The topic ‘Not working on variable products’ is closed to new replies.