Trusted by Over 15,000 Marketplaces, and Growing! Forums WC Vendors Pro Support MULTI CURRENCY ON PRICE in adding new product

Tagged: 

19 replies, 12 voices Last updated by Profile photo of Conscious Crafties Conscious Crafties 1 week, 4 days ago
Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #20945 Score: 0
    Profile photo of netteran
    netteran
    Participant
    2 pts
    @netteran

    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 Score: 0
    Profile photo of ben
    ben
    WC Vendors Official Support
    268 pts
    @ben

    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 Score: 0
    Profile photo of netteran
    netteran
    Participant
    2 pts
    @netteran

    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 Score: 0
    Profile photo of Jamie
    Jamie
    WC Vendors Official Support
    82 pts
    @digitalchild

    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 Score: 1
    Profile photo of ben
    ben
    WC Vendors Official Support
    268 pts
    @ben

    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.

    Profile photo of Nofski
    #21037 Score: 0
    Profile photo of netteran
    netteran
    Participant
    2 pts
    @netteran

    Thanks!

    #21038 Score: 0
    Profile photo of netteran
    netteran
    Participant
    2 pts
    @netteran

    @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 Score: 0
    Profile photo of Conscious Crafties
    Conscious Crafties
    Participant
    29 pts
    @Conscious Crafties

    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 Score: 0
    Profile photo of ben
    ben
    WC Vendors Official Support
    268 pts
    @ben

    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 Score: 0
    Profile photo of Betty
    Betty
    Participant
    1 pt
    @betise

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

    #34651 Score: 0
    Profile photo of Conscious Crafties
    Conscious Crafties
    Participant
    29 pts
    @Conscious Crafties

    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 Score: 0
    Profile photo of lisa
    lisa
    Participant
    @agora

    very interested

    #37681 Score: 0
    Profile photo of Jeff
    Jeff
    Participant
    @jeffmace

    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 Score: 0
    Profile photo of Francis
    Francis
    Participant
    @focansey

    This is needed. Im interested too.

    #44546 Score: 0
    Profile photo of Mayowa Adewole
    Mayowa Adewole
    Participant
    @Mayowa

    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 Score: 0
    Profile photo of Hawkins
    Hawkins
    Participant
    @orjense

    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 Score: 1
    Profile photo of Conscious Crafties
    Conscious Crafties
    Participant
    29 pts
    @Conscious Crafties

    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

    Profile photo of Anna
    #46388 Score: 0
    Profile photo of honey
    honey
    Participant
    3 pts
    @honey

    I am interested

    #52740 Score: 1
    Profile photo of Diego
    Diego
    Participant
    7 pts
    @aelia

    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. 🙂

    Profile photo of Conscious Crafties
    #52770 Score: 0
    Profile photo of Conscious Crafties
    Conscious Crafties
    Participant
    29 pts
    @Conscious Crafties

    THANK YOU SO MUCH @aelia!!!!!

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

You must be logged in to reply to this topic.