WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

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!

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add a Categories Tab to the Vendor Store Page #123747
    csheriff
    Participant

    HI,

    The Marketplace Settings is already set to 20, but that seems to only affect the main Shop page, not the individual Vendor Store page…

    I would like the Categories on a Tab on the Store Vendor Page, in addition to the Products and About tabs. I need to list the Product Categories on that tab and sort the Products by category (just like on the main Shop page).

    Thank You

    csheriff
    Participant

    Hi,

    Thank you for your quick response! The information that I need is for the Vendor Registration, not the Customer…
    I’m using the WooCommerce Front End Manager – I think that I need to update the wcfmmp_profile_settings in the database,but I don’t know what action hook to use. I was able to populate the Shop Name with my custom post type Business title using the following code, but I haven’t been able to populate the Address Fields from the Business address…

    add_action( 'wcfmmp_new_store_created', function( $member_id, $wcfmmp_settings ) {
    	global $WCFM, $wpdb;
    	update_user_meta( $member_id, 'store_name', $member_id );
    	update_user_meta( $member_id, 'wcfmmp_store_name', $member_id );	
    	$wcfmmp_settings['store_name'] = $member_id;
    	update_user_meta( $member_id, 'wcfmmp_profile_settings', $wcfmmp_settings );
    	$wpdb->query( "UPDATE {$wpdb->prefix}users SET <code>user_nicename</code> = '{$member_id}' WHERE ID =  $member_id" );
    }, 50, 2 );
    add_filter( 'wcfm_is_allow_store_name', '__return_false' );
Viewing 2 posts - 1 through 2 (of 2 total)