• Resolved kuhakuneko

    (@kuhakuneko)


    So.. i haven’t had any luck with support from this plugin so far as no one ever replied to the bugs found and/or posts ive made in this forum. But i thought id give it a final chance to see if anyone still cares before moving to another.

    A new “bug” that i noticed is its incompatibility with multi-currency plugins. I tried multiple and i realized that they cannot change the option prices set by the option builder. E.g. when using yaycommerce multi-currency the main price of the product does translate to the correct rates of the selected currency but the option prices by the option plugin remain the same.

    Is there a way to fix this issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    Sorry for that unfortunatelly i don’t think that there is an easy way to fix the issue. Most likely the currency plugin just update the product price but since it is not aware that it has options it never update the options prices. Unfortunatelly i am not sure how to make the plugin work with the currency plugin as i don’t know how it works.

    But if you happen to know an option plugin that can work with the currency plugin let me know and i will check how they do it so i can implement the same on this one.

    Regards!

    Thread Starter kuhakuneko

    (@kuhakuneko)

    I am really glad i at least got an answer on this regardless and to see that this plugin still gets some kind of support in general. I really like this option plugin and it made me fret seeing not many answers or updates.

    In any case i have also contacted the support teams of some of the multi-currency plugins that i am interested in using in my site and they said they will take a look into how your plugin creates the options so they can have their plugins detect the option prices and update them based on rates.

    If i do try any option plugins and see that others work with multi-currency plugins i will come back here and inform you.

    Thanks for now!

    Thread Starter kuhakuneko

    (@kuhakuneko)

    So just an updated on this. I did have a lot of back and forth with Yay!Commerce that has these two plugins:
    https://yaycommerce.com/yaycurrency-woocommerce-multi-currency-switcher/
    https://yaycommerce.com/yayextra-woocommerce-extra-product-options/

    Obviously their multi-currency plugin works with their options plugin and they confirmed but i don’t know if this can help you at all.

    They even told me they will try to make their multi-currency plugin compatible with your options plugin but the outcome was that they “have reviewed the code in the Extra Product Options Builder for WooCommerce plugin, and did not find any data that would allow YayCurrency to integrate with this plugin”

    I don’t know why it is so hard to access the option prices and have them increase or decrease based on currency rates. Can you also confirm that this is indeed impossible?

    I also tried the following multicurrency plugins to no avail: Curcy, FOX Currency Switcher, Currency Switcher for WordPress

    Any suggestions or hope on this?

    Thread Starter kuhakuneko

    (@kuhakuneko)

    @edgarrojas do you happen to know any multi-currency plugins that work with the options builder? Could RedNao make one so it is in the plugin ecosystem of the options builder plugin? Any hope? I don’t have the budget for a pay to build plugin but if it ever came out as public plugin with a monthly or buy once model i would be more than glad to buy it.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    Sorry i missed your previous reply. I am not that familiar with multi-currency plugins so i am not sure how they do their thing thus i am not sure if they are compatible or not, but probably i can do something to make them compatible if they are not. Since you contacted their support team could you ask them if there is a way to retrieve the exchange rate and currency format(more specifically i need the symbol of the currency, whether to place this symbol before or after the amount, decimal separator (commar or dot), thousand separator and number of decimals) while the page loads?

    If so i think i can do some tweaks to the plugin so it takes into account this info to format the prices. If not i guess i can crete a new plugin for this but it could take a lot of time so it would be better to make other plugins compatible with this one.

    Regards!

    • This reply was modified 3 months, 1 week ago by EDGARROJAS.
    Thread Starter kuhakuneko

    (@kuhakuneko)

    Hello @edgarrojas !

    Good news, i contacted them again and they were able to provide me with these:

    // Retrieve Current Currency
    $current_currency = \Yay_Currency\Helpers\YayCurrencyHelper::detect_current_currency(); // Data returned is an array including ID, currency code, currency symbol, and more.

    // Retrieve Exchange Rate for Current Currency
    $current_exchange_rate = \Yay_Currency\Helpers\YayCurrencyHelper::get_rate_fee($current_currency);

    // Retrieve Symbol for Current Currency
    $current_symbol = $current_currency['symbol'];

    // Retrieve Code for Current Currency
    $current_currency_code = $current_currency['currency'];

    // Format Price
    $price = 12;
    $format_price_current_currency = \Yay_Currency\Helpers\YayCurrencyHelper::format_price_currency( $price, $current_currency ); // 12.00
    $format_price_html_current_currency = \Yay_Currency\Helpers\YayCurrencyHelper::format_price( $price ); // html $12.00, 12.00$, $12.00 USD,...

    Do you think these will help?

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.