Array as meta field.

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 6 reply threads
  • Author
    Posts
    • #35193
      WWW
      Participant

      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!

    • #35218
      WCFM Forum
      Member

      Hi,

      Can you please know me what is your actual requirement?

      DO you want to create shipping country restriction rule for vendors?

      Thank You

    • #35273
      WWW
      Participant

      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?

    • #35364
      WCFM Forum
      Member

      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

      • #35453
        WWW
        Participant

        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.

    • #35495
      WCFM Forum
      Member

      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

    • #35542
      WWW
      Participant

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

    • #35576
      WCFM Forum
      Member

      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 sure

      Thank You

Viewing 6 reply threads
  • The topic ‘Array as meta field.’ is closed to new replies.