Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › Integration with the Brazil post office plugin
- This topic has 5 replies, 3 voices, and was last updated 5 years, 4 months ago by WCFM Forum.
- AuthorPosts
- May 8, 2019 at 2:49 pm #61161Guilherme SouzaGuest
Hello good day.
Could you tell me if it would be possible to create some kind of integration with the mail plugin from Brazil?
https://br.wordpress.org/plugins/woocommerce-correios/Or even create a hook that can help with this?
See that in this topic, there is something similar for dokan
is it possible to adapt something like this in this system?https://github.com/claudiosanches/woocommerce-correios/issues/108
- May 10, 2019 at 4:50 pm #61702WCFM ForumMember
Hi,
Well, we never test this plugin.
As per this thready you may use this using this code – https://ibb.co/8m36BHJ
You have to change this function for this code –
function get_cep_seller($seller_id) {
$address = get_user_meta($seller_id, ‘dokan_profile_settings’);
return $address[0][‘address’][‘zip’];
}function get_cep_seller( $seller_id ) { $vendor_data = get_user_meta( $seller_id, 'wcfmmp_profile_settings', true ); $zip = isset( $vendor_data['address']['zip'] ) ? $vendor_data['address']['zip'] : ''; return $zip; }
Thank You
- June 15, 2019 at 8:09 pm #67898brechodaelyParticipant
Hello!
I tried to do it the way you guys did, but nothing happened. Could you check for any errors?
Thank you. - June 18, 2019 at 12:10 pm #68319WCFM ForumMember
Hi,
Do you want to integrate this addon ? https://br.wordpress.org/plugins/woocommerce-correios/
Thank You
- August 16, 2019 at 9:38 pm #76978brechodaelyParticipant
Hello!
Thank you to reply me.
That’s exactly the plugin that i want to integrate to my site.
I want the shipping to be calculated from the seller’s zip code.Thank you.
- August 20, 2019 at 8:09 am #77457WCFM ForumMember
Hi,
OK, we will look into this.
Thank You
- AuthorPosts
- The topic ‘Integration with the Brazil post office plugin’ is closed to new replies.