Okay
  Public Ticket #3579258
Muilti Currency
Closed

Comments

  •  26
    Gabriel Guidarelli started the conversation

    Hi, 

    As mentioned we are onboarding some European sellers (we have both EU and UK sellers) 

    Is there a way for EU sellers to insert prices in their currency? 

    I.e. Is it possible to set the "main" default currency based on the User Location? 

    [If a buyer is based in Germany and the seller is in Germany they should see 9.99 EUR, not the converted GBP to EUR price]

    Thanks, hope it makes sense

    Gabriel

  •  26
    Gabriel Guidarelli replied

    Hi there, 

    Really sorry for the many comments / tickets lately from my part. 


    FOX (Multi Currency) unfortunately will only use exchange rates, however as mentioned below a seller may be from Italy. So the final price should be whatever they submitted in Euros.

    So took me some time, and using the WPML plugin (multi-currency) and a few snippets I managed to achieve this structure, and display only the relevant fields needed for the vendors.

    Vendors will now insert their pricing in all currencies they wish to sell to and will use MaxMind to geolocate the final client and select the appropriate store currency, therefore fetching the correct Vendor Pricing :)

    For Variable products this is a visible option (see picture below). However these is not visible for Simple Products in MarketKing. Any idea why? These should appear in the General Tab of a product.

    1967115798.png


    One final question also. 

    If a client checks out in Euros, how is this recorded within MarketKing? (as I take the dashboard & marketKing in general use the Store Default Currency?)

    7523775677.png



    I appreciate your help :) 


    Cheers

    Gabriel



  •  26
    Gabriel Guidarelli replied

    Hi,

    As mentioned I am looking at having prices input in different currencies. 

    It appears that MarketKing hides the input fields when a product is Simple for variable products the Currency input is available.

    This happens with multiple WMPL & XCurrency  (Multi Currency Price Per Product) 


    Would you know why these fields are available for variations but not for Simple Products?


    Variation:

    9156892280.png


    Simple Product (Missing X-Currency)

    3161945345.png



    Same behaviour with WMPL plugin


    Cheers

    Gabriel


  •  2,217
    WebWizards replied

    Hi Gabriel,

    My apologies for the delay in getting back to you on this,


    I understand that you do not want to use live exchange rates, but rather set a price for each country. Could you check and let me know whether this plugin could achieve what you need?

    https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/


    MarketKing is integrated with this plugin. If it works for you, it would be quite advantageous over using your existing setup, because the integration with this plugin also already converts currencies to a single base currency in various places, keeping things coherent.

    (basically it should solve your question here: "If a client checks out in Euros, how is this recorded within MarketKing? (as I take the dashboard & marketKing in general use the Store Default Currency?)")


    Please let me know,

  •  26
    Gabriel Guidarelli replied

    Hi, 

    This could be a solution indeed, the fields are displayed on Variations and Simple products. 

    A few questions just to expand on this

    A) 

    It seems there is a constraint with these price-per-product plugins (also affecting other similar plugins such as WMPL): If an Italian seller only inputs prices in EURO leaving the regular price £ (empty) it will set the product as not purchasable. Is it possible to allow only inserting pricing for their preferred currency?

    if this was possible programmatically, for example to grab the rate from the plugin, then apply the reverted EUR to GBP price and add this to the default regular price...

    It would mean that I could spend time later on hiding all the unnecessary fields based on what country they are in. 

    for example: If they are in EU, I would only display the "Set Manually" for their currency, hide the Regular Price GBP, and let the calculation above fill in the GBP and any other currency  :) 

    B)

    Finally any considerations about EU sellers inputting their shipping prices?

    Could I pull the vendor and its location to determine their base currency, and convert in the cart? Even if I have to store rates somewhere globally and update them manually every day ( have no problem with that).

    Example: 

    EU Seller -> Inputs Shipping Costs in their currency (I mean, there are no currency symbols in the shipping anyway) 

    If someone wants to checkout  in USD or GBP,  I would convert the rates and set final prices in checkout currency 

    Thanks

    Gabriel

  •  26
    Gabriel Guidarelli replied

    Apologies for chasing. 

    Regarding point A) [RESOLVED]


    Regarding Point B)
    Wondering if you may have any considerations on this


    Thanks

    Gab

  •   WebWizards replied privately
  •   Gabriel Guidarelli replied privately
  •  2,217
    WebWizards replied

    Sorry, I forgot to mention this, it is an issue in the latest Wp 6.4.3 version. The following article explains it and solutions: https://diviextended.com/incompatible-archive-error-in-wordpress/

    If you are on Windows you can just unzip + zip that archive again before uploading it.


    Or simply add this code snippet to the site:

    add_filter('unzip_file_use_ziparchive', '__return_false');