How can I build the wcmp_vendor_fields data value?

Theme and Plugin Support

How can I build the wcmp_vendor_fields data value? Resolved

Viewing 4 reply threads
  • Author
    Posts
    • #68833
      jsmithangular
      Participant

      I used wcmp and rest api to connect from mobile app. I have fields on my mobile app,
      -store name,
      -phone number,
      -email,
      -location,
      -city,
      -country.
      I want to save the data as pending. After I looked at the Vendors, this shows “No Vendor Application archive data!!”
      It was because the wcmp_vendor_fields is empty.
      Is there a way I can build the wcmp_vendor_fields value or map the values on wp_usermeta?

    • #68859

      Hello @jsmithangular,

      Thanks for get in touch with us.

      “wcmp_vendor_fields” is being generated by having all data that was being submitted via vendor registration form. We do allow admin to edit those data till the vendor is pending. Once any vendor becomes pending vendor to active vendor all these data will be saved as archive data.

      Now, please check the fileds of vendor registartion form and populate the field as per your need.

      Kindly let us know if you need any further help.

    • #68950
      jsmithangular
      Participant

      But, I have my custom vendor registration form in my mobile app. Is there a way or a function that will build a wcmp_vendor_fields value?
      I’d like to use

      update_user_meta($userID, 'wcmp_vendor_fields', $value);
      copy

      The question is, how can I build the

      $value
      copy

      ?

    • #68988

      Kindly check the function

      wcmp_save_extra_register_fields
      copy

      for the fields. On that function we are creating the data for that field and saving it via update_user_meta.

      Kindly let us know if you need any further help.

    • #75244
      susmita
      Moderator

      Hi @jsmithangular,

      I presume that your issue is resolved, since, we haven’t heard back from you.

      We are marking this thread as resolved.

      Kindly open a new thread if you face any further query.

Viewing 4 reply threads

The topic ‘How can I build the wcmp_vendor_fields data value?’ is closed to new replies.

WCMp bundle is available at a slashed price

Grab It Now