MULTI CURRENCY ON PRICE in adding new product

Home Forums WC Vendors Pro Support MULTI CURRENCY ON PRICE in adding new product

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

Thank you to all of our customers!

 

Tagged: 

This topic contains 19 replies, has 12 voices, and was last updated by  Karen Thomas 1 year, 3 months ago.

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #20945

    netteran
    Participant

    I’m struggling with the currency switcher compatibility and would like you to point me what exactly should be changed.

    In file: class-wcvendors-pro-form-helper.php
    I have made the following implementation:

    Code:
    $field['value'] = isset( $field['value'] ) ? $field['value'] : get_post_meta( $post_id, $field['id'], true );
    I have replaced with:
    $field['value'] = isset( $field['value'] ) ? apply_filters('woocs_exchange_value', $field['value']) : apply_filters('woocs_exchange_value', get_post_meta( $post_id, $field['id'], true ));
    where woocs_exchange_value is the currency changer plugin.

    This resulted in changing (according to actual currency) not only the price but also the weight and dimentions (sic!)

    then I’ve tried the condition:

      if ($field['data_type'] == 'price')
            {
                $field['value'] = isset($field['value']) ? apply_filters('woocs_exchange_value', $field['value']) : apply_filters('woocs_exchange_value', get_post_meta($post_id, $field['id'], true));
            }

    still nothing

    I was suggested by the third party plugin coder to ask you to add a hook so other could use it like:

    $field['value']= isset( $field['value'] ) ? $field['value'] : get_post_meta( $post_id, $field['id'], true );
    $field['value']=apply_filters('__ANY_HOOK_NAME',$field['value']);

    My basic question is:
    How to influent on the price data using wordpress hooks?

    You are the experts of your own code, so please just solve that problem of mine and I will be more than happy to finally puch the works with my website further.

    Thank you in advance!

    #20958

    ben
    Keymaster

    This is custom coding, and up to you to figure out. We simply don’t have time to analyze custom code for all 11,000 of the sites that use WC Vendors. Sorry man.

    #21005

    netteran
    Participant

    Thank you for your lean reply Ben.

    I didn’t ask you to give me a ready code to implement, but to at least, indicate:

    1) file
    2) string(s) that are responsible for <u>price only</u>

    The coding I will try to figure-out myself or with the help of a third party coder.

    Dear
    @digitalchild

    I’m including you in this post since your replies seems to be more supportive and merit than Ben’s.

    Thank you in advance in helping me to make your plugin ufefull for my purposes.

    #21018

    Jamie
    Keymaster

    Hello

    You’re looking at the wrong file is why 🙂 Every form has its own form controller, so you need to look in the product-form

    public/forms/class-wcvendors-pro-product-form.php

    Every single form input already has filters you can use, you can find them in the file above.

    cheers,

    Jamie

    #21028

    ben
    Keymaster

    Supportive can be a double edged sword. Jamies replies can be more helpful on complex issues like yours, because he’s the guy that codes the plugins. 🙂 But still, having to review all the custom code people send our way would mean that’s my new fulltime job, reviewing peoples custom code. It’s not part of our business model to provide free support for you to customize your site, you’re the admin, that’s your job. 🙂 We’re the guys that write the plugin, not the guys that configure your site for you. 🙂 🙂 Food for thought, anyhow.

    #21037

    netteran
    Participant

    Thanks!

    #21038

    netteran
    Participant

    @digitalchild

    Could you please quote me the service of custom coding concerning implementation the multicurrency of the plugin Woocommerce Currency Switcher by realmag777 (on Envato) into your plugin?

    It may be via PM.

    Thx.

    #21233

    Karen Thomas
    Participant

    Following as would love my Crafties who are based all over the world to add product price and shipping costs in their own currency.
    Thanks for all your support both 🙂

    #21238

    ben
    Keymaster

    I can say for certain Jamie wont have the time to custom code this. He’s buried for the next 3 months right now coding new features into Pro……

    #30069

    Betty
    Participant

    Would also love to see a multi-currency plugin supported by WC Vendors.. following this thread. 🙂

    #34651

    Karen Thomas
    Participant

    Hi there. We are gathering up people who may be interested in allowing their international Vendors to enter product prices and shipping in their own countries currency. We’re hoping if there is enough of us interested, a currency plug in developer will work with Ben and Jamie to develop this functionality.
    If this is something that interests you, please post a ‘I’m interested’ in this forum post:

    change currency depends on vendor

    Many thanks,
    Karen

    #34695

    lisa
    Participant

    very interested

    #37681

    Jeff Maciorowski
    Participant

    Yes count me in. I have no idea how to use this. My site is already global, I think they would be very upset to see me create a shop that is USA only. They don’t want to convert their prices unless there is a SUPER easy way to do this. Like a convertor right next to the price box.

    #39597

    Francis
    Participant

    This is needed. Im interested too.

    #44546

    Mayowa Adewole
    Participant

    Searching for WC Vendor multi currency brought me here, I am so much in need of this right now for my project http://macroshops.com/
    I need buyers to be able to change currency on the same website, Dollars and Pesos

    #45339

    Hawkins
    Participant

    Since there is no solution to the multi Currency need, Whats the Terms of Use of the WC Vendor PRO, possible to install single license on Main Domain and Sub-Domain or Sub-Folders?
    Thanks

    #45384

    Karen Thomas
    Participant

    Can everyone pop over to this topic and post ‘I’m interested’ so we have everyone in the one thread?

    Many thanks,

    Karen

    Go to:
    https://www.wcvendors.com/help/topic/change-currency-depends-on-vendor/#post-45383

    • This reply was modified 1 year, 6 months ago by  Karen Thomas.
    #46388

    honey
    Participant

    I am interested

    #52740

    Diego
    Participant

    Hi again @conscious-crafties. I’m posting the same link I sent you earlier, for the benefit of readers that might not have seen it on the other thread: WC Vendors and multiple currencies – The status so far, and why it might take a while to have such feature implemented.

    I hope this will cover the main threads about multi-currency support. If you think that this information would benefit other users, please feel free to share it. Thanks. 🙂

    #52770

    Karen Thomas
    Participant

    THANK YOU SO MUCH @aelia!!!!!

Viewing 20 posts - 1 through 20 (of 20 total)

The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.