Vendor Page Template

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 3 reply threads
  • Author
    Posts
    • #61847
      Pradikta Dwi Anthony
      Guest

      Hi,

      I’m using The Ark from Freshface themes and when I see a single vendor page, you use the “Product Archive” template. Because of that, after the theme printing all single vendor page content, right below the footer the theme also render product archives (Store) template. Is there any way to disable this or for your single vendor template to use different template? Screenshot attached, the site still under development.

      https://prnt.sc/nn8sbh

    • #61912
      WCFM Forum
      Keymaster

      HI,

      Please add this code to your child theme’s functions.php –

      add_filter( 'pre_get_posts', function( $query, $that = null) {
      	global $wp_query, $post;
      	$wcfm_store_url = get_option( 'wcfm_store_url', 'store' );
      	$store_name = urldecode( get_query_var( $wcfm_store_url ) );
      	if ( !is_admin() && $query->is_main_query() && !empty( $store_name ) ) {
      		$query->is_archive    = false;
      		$query->is_post_type_archive    = false;
      	}
      	return $query;
      }, 50, 2 );

      Well, if you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #62276
      Pradikta Dwi Anthony
      Guest

      OMG it works!

      THANK YOU SO MUCH!

      Anyway, how to approve “Booking needs confirmation” when using WooCommerce Bookings extension from vendor page without accessing backend (wp-admin)? Or, can admin (not vendor) approve it on behalf of vendor?

    • #62480
      WCFM Forum
      Keymaster

      Hi,

      You are welcome 🙂

      Well, you are using WCFM Free so getting only partial integration. Others are coming with WCFM Ultimate (https://wclovers.com/product/woocommerce-frontend-manager-ultimate/)

      Thank You

Viewing 3 reply threads
  • The topic ‘Vendor Page Template’ is closed to new replies.