• Resolved lemoncpl

    (@lemoncpl)


    Hello!
    I need to activate CATALOG MODE, but there is no such tab in your manager. I looked at your FAQ on the site and even reinstalled the plugin, but still did not find such functionality.
    How to enable Catalog mode?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Thread Starter lemoncpl

    (@lemoncpl)

    Thank you for your reply.
    Yes, I have already seen this article. But in my dashboard, there is no such block. Maybe during the upgrade, your product lost this functionality?

    Plugin Author WC Lovers

    (@wclovers)

    Maybe during the upgrade, your product lost this functionality?

    – No, it’s still there. You may check in our demo – https://wcfmmp.wcfmdemos.com/my-account/

    Please go to WCFM Admin Setting – > Modules – Be sure “Catalog” module is ON

    Thank You

    Thread Starter lemoncpl

    (@lemoncpl)

    Thank you again, but I can’t see it on your demo site.

    Step 1. Your demo: screenshot
    Step 2. Login as “Shop manager”. Where is the settings?: screenshot. your dashboard

    Step 3. Login as “Vendor”: screenshot
    Step 4. We can see the settings, but only for vendor: screenshot

    Аs you see there is nothing. Why? What’s wrong?

    Plugin Author WC Lovers

    (@wclovers)

    Don’t you able to see “Catalog” checkbox under Add Product page? https://ibb.co/CQNdKQf

    Thread Starter lemoncpl

    (@lemoncpl)

    Yes, I see it and the checkbox works.
    But I don’t need each vendor to make his own choice, whether he should check this box or not. I need to do a global configuration so that the entire WCFM dashboard for all vendors works in catalog mode.

    Can this be done somehow? Looking at your documentation before, this could be made by choosing just one checkbox.

    Ps. I can make the catalog mode on the site using third-party plugins, but this does not remove all checkboxes and other items (associated with sales) in the WCFM dashboard that are unnecessary for vendors. Unfortunately, I can’t remove them all by configuring the elements in the “capability” block.

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    DO you want to run your whole site in catalog mode?

    All added products will be by default in catalog mode?

    If so, then add this snippet to your site –

    add_filter( 'wcfm_product_manage_fields_general', function( $general_fields, $product_id, $product_type ) {
    	if( wcfm_is_vendor() && isset( $general_fields['is_catalog'] ) ) {
    		$general_fields['is_catalog']['dfvalue'] = 'yes';
    	}
    	$general_fields = wcfm_hide_field( 'is_catalog', $general_fields );
    	return $general_fields;
    }, 150, 3 );
    
    add_filter( 'wcfm_product_fields_catalog_options', function( $catalog_fields, $product_id, $product_type ) {
    	if( wcfm_is_vendor() && isset( $catalog_fields['disable_add_to_cart'] ) ) {
    		$catalog_fields['disable_add_to_cart']['dfvalue'] = 'yes';
    	}
    	if( wcfm_is_vendor() && isset( $catalog_fields['disable_price'] ) ) {
    		//$catalog_fields['disable_price']['dfvalue'] = 'yes';
    	}
    	$general_fields = wcfm_hide_field( 'disable_add_to_cart', $general_fields );
    	//$general_fields = wcfm_hide_field( 'disable_price', $general_fields );
    	return $catalog_fields;
    }, 150, 3 );
    
    add_action( 'after_wcfm_products_manage_general', function( $product_id, $product_type ) {
      if( wcfm_is_vendor() ) {
    	?>
    	<script>
    	jQuery(document).ready(function($) {
    		$('#wcfm_products_manage_form_catalog_head').remove();	
    	});
    	</script>
    	<?php
    	}
    }, 50, 2 );
    add_filter( 'woocommerce_is_purchasable', function( $is_purchasable, $product ) {
    	global $WCFMmp;
    	$is_purchasable = false;
    	remove_action( 'woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button', 20 );
      return $is_purchasable;
    }, 800, 2 );

    Add custom code(s) to your child theme’s functions.php
    In case you do not have child theme then add those using this plugin – https://wordpress.org/plugins/code-snippets/

    Thank You

    Thread Starter lemoncpl

    (@lemoncpl)

    Thank you.
    Yes, I meant the operation of the entire site in the catalog mode.

    Unfortunately, your solution works the same way as third-party plugins. I mean, when activating Catalog mode, extra items and checkboxes remain in the dashboard, which should not be visible to vendors.

    In future updates, I suggest that you make it possible to have a full-fledged Catalog mode, activating which from the vendor’s dashboard and user menu will remove all unnecessary lines, menu items, settings, and the like. This is not fully implemented now.

    • This reply was modified 3 years, 10 months ago by lemoncpl.
    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Do you have added that custom code?

    If so, then vendors will not see any checkbox to enable catalog mode. All products will be by default added as catalog mode.

    You may disable dashboard additional elements from capability settings. Also may disable unnecessary modules from WCFM Admin settings.

    WCFM does not disable everything by default, but you have possibility to do all those.

    Thank You

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Where is the “CATALOG MODE” function?’ is closed to new replies.