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 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: Request Custom Tabs Manager in Vendor Store Page ? #140739
    ceo3
    Participant
    This reply has been marked as private.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #140375
    ceo3
    Participant

    Hi, I already did everything as directed, but I can’t get the personalized post to appear. Now a “-” is appearing. Can I send the username and password for you to access and help me resolve? Please.

    I don’t know if it’s the source code of the model file.

    I did everything as directed.

    I’m using the Snippet Plugin to place the codes.

    Thank you for your help.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #139689
    ceo3
    Participant

    Hello, could you help me send you the template file here: wcfmmp-view-store-art-works.php

    can attach in a zip.

    Thank you.

    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #135300
    ceo3
    Participant

    ok i will test. Another question, how do I display this personalized “artistas” posting tab on the frontend, according to permissions (capability) in the groups and staff plugin in the admin.

    Can you send me the code for this?

    Tanks.

    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #135276
    ceo3
    Participant

    the last code you sent me is for those who use ELEMENTOR and the DIVI theme. I am not use ELEMENTOR.

    My theme is NORTH and I use VISUAL COMPOSER. I need the code for the NORTH and VISUAL composer. Understood? Tanks

    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #135026
    ceo3
    Participant

    I use the NORTH template with Visual Composer (WP Bakery), can I send this appropriate code?

    https://themeforest.net/item/north-responsive-woocommerce-theme/9117256

    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #134528
    ceo3
    Participant

    Tab Code:

    
    add_action( 'wcfmmp_rewrite_rules_loaded', function( $wcfm_store_url ) {
    	global $WCFM, $WCFMmp;  
      add_rewrite_rule( $wcfm_store_url.'/([^/]+)/'.$WCFMmp->wcfmmp_rewrite->store_endpoint('artistas').'?$', 'index.php?post_type=artistas&'.$wcfm_store_url.'=$matches[1]&'.$WCFMmp->wcfmmp_rewrite->store_endpoint('artistas').'=true', 'top' );
    }, 50 );
    
    add_filter( 'query_vars', function( $vars ) {
    	$vars[] = 'artistas';
    	return $vars;
    }, 50 );
    
    add_filter( 'wcfmmp_store_tabs', function( $store_tabs, $store_id ) {
      $store_tabs['artistas'] = 'Artistas 3';
      return $store_tabs;
    }, 50, 2 );
    
    add_filter( 'wcfmp_store_tabs_url', function( $store_tab_url, $tab ) {
    	if( $tab == 'artistas' ) {
    		$store_tab_url .= 'artistas';
    	}
    	return $store_tab_url;
    }, 50, 2 );
    
    add_filter( 'wcfmp_store_default_query_vars', function( $query_var ) {
    	global $WCFM, $WCFMmp;
    	
    	if ( get_query_var( 'artistas' ) ) {
    		$query_var = 'artistas';
    	}
    	return $query_var;
    }, 50 );
    
    add_filter( 'wcfmmp_store_default_template', function( $template, $tab ) {
      if( $tab == 'artistas' ) {
      	$template = 'store/wcfmmp-view-store-artistas.php';
      }
      return $template;
    }, 50, 2);
    

    Template file code:

    
    <?php
    	$vars    = $wp_query->query_vars;
    	$columns = array_key_exists('columns', $vars) ? $vars['columns'] : 3;
    	$cols    = 'large-4';
    	switch($columns) {
    		case '1':
    			$cols = 'large-12';
    			break;
    		case '2':
    			$cols = 'medium-6 large-6';
    			break;
    		case '3':
    		default:
    			$cols = 'medium-6 large-4';
    			break;
    		case '4':
    			$cols = 'medium-6 large-3';
    			break;
    	}
    ?>
    <div class="small-12 <?php echo esc_attr($cols); ?> columns item">
    	<article itemscope itemtype="http://schema.org/Article" <?php post_class('post style1'); ?>>
    		<?php if ( has_post_thumbnail() ) { ?>
    		<figure class="post-gallery">
    			<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
    				<?php the_post_thumbnail( 'north-blog-masonry-2x' ); ?>
    			</a>
    		</figure>
    		<?php } ?>
    		<?php get_template_part( 'inc/templates/postbit/post-categories'); ?>
    		<header class="post-title entry-header">
    			<?php the_title('<h3 class="entry-title" itemprop="name headline"><a href="'.get_permalink().'" title="'.the_title_attribute("echo=0").'">', '</a></h3>'); ?>
    		</header>
    		<div class="post-content">
    			<?php the_excerpt(); ?>
    		</div>
    		<?php do_action( 'thb_PostMeta' ); ?>
    	</article>
    </div>
    

    Attached screen showing that you continue to display products. Need that display custom post type (cpt) “artistas”.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #133748
    ceo3
    Participant

    Hi, Sarmistha Chakraborty,

    I want to change it to show the news in the template’s grid format, how do I do it?
    >> For this “wcfmmp_store_article_template” function body which we have mentioned previously. This is theme customizations. You will find the “theme blog template here -“\wp-content\themes\north-wp\inc\templates\blogbit”

    Can you send me a template file to list a custom post type in a grid?

    how could I use this code to have another tab showing a custom custom post type?
    >> Please check here – https://wordpress.org/support/topic/custom-tab-in-vendor-store-page/

    I’ve done everything in (https://wordpress.org/support/topic/custom-tab-in-vendor-store-page/) but keep listing products, where in the code do I change to display a custom post type (CPT “artists”)?

    I forgot to take one more question, how do I display it only on the store page, and not on the home and other parts of the site?
    >>Sorry this point is not clear, the above code we have mentioned you previous reply is for add “article” tab for vendor store page.

    I’ll be clearer. How to make news from the supplier only display on the supplier’s page. It cannot display on the website’s homepage.

    Tanks

    ceo3
    Participant

    I made the changes, but the site went offline. Did I do something wrong? Check the code as it was, please. I put this link to better visualize:

    https://pastebin.com/KxW30r2x

    ceo3
    Participant

    Thanks. I have another need. How do I display these types of personalized posts in a new tab on the store page? Can you help me by sending a source code to add to a snippet?

    ceo3
    Participant

    Thank you very much it worked. But I have one more need, I need CPTs to also appear in the permission settings of Managers and Staffs.

    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #133189
    ceo3
    Participant

    Deculpe, but I forgot to take one more question, how do I display it only on the store page, and not on the home and other parts of the site?

    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #133188
    ceo3
    Participant

    Thank you. It worked. If I want to change it to show the news in the template’s grid format, how do I do it?

    Another question, how could I use this code to have another tab showing a custom custom post type?

    ceo3
    Participant

    Thank you very much, the code worked. However, I still only have two problems. Menu items continue to appear even though they are disabled. see attached screen.

    The titles of the two CPTs, are appearing duplicated in WCFM’s capability.

    I await help to resolve. Thanks.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Request Custom Tabs Manager in Vendor Store Page ? #132863
    ceo3
    Participant

    My template is: North (https://themeforest.net/item/north-responsive-woocommerce-theme/9117256)

    What’s the code for it?

    in reply to: Add "article tab" to Townhub theme #132860
    ceo3
    Participant
    in reply to: Add "article tab" to Townhub theme #132859
    ceo3
    Participant

    How can I add this code that creates a new tab for articles in a standard way to any template? I need that code.

    in reply to: Add "article tab" to Townhub theme #132857
    ceo3
    Participant

    How can I add this code that creates a new tab for articles in a standard way to any template? I need that code. Tanks.

    ceo3
    Participant

    Create two CTPs with the WCFM-CPT plug-in.
    I want these two custom post types “Artists” and “Exhibits” to appear under “Permissions (Capability)”. I want to configure them using the Group and Staff plugin.

    I believe it is some limitation of the plugin. Because the CPTs that appear appear in WCMF “Permissions (Capability)”.

    Attachments:
    You must be logged in to view attached files.
    ceo3
    Participant

    Hello, I’m using the WCFM-CPT plugin, and I want to know how do I make the three CPTs appear in the wcfm group & staff plugin’s permission control?

Viewing 20 posts - 1 through 20 (of 20 total)