Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Array as meta field.
- This topic has 7 replies, 2 voices, and was last updated 6 years ago by WCFM Forum.
- AuthorPosts
- October 28, 2018 at 9:07 pm #35193WWWParticipant
Need a little help as I am not cabable of doing this myself.
We have a code:
Array ( [0] => Array ( [wcfmmp_country_to] => FI [wcfmmp_country_to_price] => 6.50 [wcfmmp_shipping_state_rates] => Array ( [0] => Array ( [wcfmmp_state_to] => [wcfmmp_state_to_price] => ) ) ) [2] => Array ( [wcfmmp_country_to] ….etc
Need the [wcfmmp_country_to] as meta key for filtering. Is this doable somehow?
Thanks!
- October 29, 2018 at 3:54 am #35218WCFM ForumMember
Hi,
Can you please know me what is your actual requirement?
DO you want to create shipping country restriction rule for vendors?
Thank You
- October 29, 2018 at 6:33 pm #35273WWWParticipant
No, I already got what I wanted from this. Thanks.
I have another request or question.
Is it possible to somehow filter products by post location? I am using https://wp-filter.com/ plugin for filtering.
Or even better way would be to filter products by shipping to country? - October 31, 2018 at 4:54 am #35364WCFM ForumMember
HI,
“Is it possible to somehow filter products by post location?”
– Yeah off course. Please use Geo My WP (https://wordpress.org/plugins/geo-my-wp/) plugin for the purpose.
Thank You
- October 31, 2018 at 5:39 pm #35453WWWParticipant
I already use Geo My WP. Its a crappy way to filter the products. Not good enough. Unless I can find some alternative way to use it.
Could you tell me how the geo my wp tags the woocommerce products with geo location? Is there some meta key available for use with the https://wp-filter.com/ plugin? I went through the products meta info, but could not find any location related info tied to them.
- November 1, 2018 at 6:42 am #35495WCFM ForumMember
Hi,
Ok, I unerstand.
Between, do you know what meta field use by https://wp-filter.com/ plugin?
If so, then just create such fields using WCFM Custom field.
Thank You
- November 1, 2018 at 5:02 pm #35542WWWParticipant
That’s also a bad solution. Vendor would have to fill it in every time a product is created. I need to assign the location automatically, not manually. The info is already there. The question is how can we use it with the wp-filter or any other similarly capable customiseable taxonomy, meta data filter addon?
From the other topic I saw that WCL team is already working on some solution how to filter products by shipping location. Hopefully we have this feature soon. 🙂
- November 2, 2018 at 10:24 am #35576WCFM ForumMember
Hi,
” I need to assign the location automatically, not manually. The info is already there. ”
– Where it is?“From the other topic I saw that WCL team is already working on some solution how to filter products by shipping location. Hopefully we have this feature soon”
– yeah sureThank You
- AuthorPosts
- The topic ‘Array as meta field.’ is closed to new replies.