add vendor's info in the Product list

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace add vendor's info in the Product list

Viewing 1 reply thread
  • Author
    Posts
    • #111739
      raul.flores.arenas
      Participant

      hi,

      we need add a vendor custome info to the product list, after or before the sold by label, we try it with a action but it’s not working, this is what we use:

      function poner_universidad($store_id){
      $custom_fields = get_user_meta( $store_id, ‘wcfmvm_custom_infos’,false);
      $field_name = ‘Universidad en que estudió’;
      echo $custom_fields[$field_name] . ‘<-custome field’;
      }
      add_action(‘before_wcfmmp_sold_by_label_product_page’,’poner_universidad’);

      and only get the string.

      thanks

      Attachments:
      You must be logged in to view attached files.
    • #111945

      Hello,

      Kindly modify your script,

      add_action('before_wcfmmp_sold_by_label_product_page','poner_universidad');
      function poner_universidad($store_id) {
      	$custom_fields = get_user_meta( $store_id, 'wcfmvm_custom_infos',true);
      	$field_name = 'Universidad en que estudió';
      	echo $field_name.': '.$custom_fields;
      }

      Thanks.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.