Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Bizilica

    (@bizilica)

    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”?

    Thread Starter andresmolina

    (@andresmolina)

    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 regards

    Thread Starter andresmolina

    (@andresmolina)

    Hey!

    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 regards

    Hello 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
    Mark

    I’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 https://nanonutra.wpengine.com/product/liposomal-curcumin/ – and the product is not available outside the US

    • This reply was modified 8 years, 6 months ago by camnanonutra.
    Thread Starter andresmolina

    (@andresmolina)

    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?

    Thread Starter andresmolina

    (@andresmolina)

    yes!

    Thread Starter andresmolina

    (@andresmolina)

    Depending on which country you are in, you will see that it works in this url of mine https://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”?

    Thread Starter andresmolina

    (@andresmolina)

    did you check the url i sent you??

    Thread Starter andresmolina

    (@andresmolina)

    sorry i sent you the wong one, check this one out https://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!

    Thread Starter andresmolina

    (@andresmolina)

    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!

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Not working on variable products’ is closed to new replies.