Okay
  Public Ticket #3579355
Can I mask/ hide vendor store ?
Closed

Comments

  • sabby started the conversation

    can I mask/ hide vendor store and other details on the front end? I would like to not show the details of a few vendors in the initial stages.

    i would not want any name or contact details on the customer end. 

    is there a compatible plugin that is a photo-upload option by customer on few customised products and a message box to be written by them on the products that are being sold  eg. happy birthday. any ocassions if they want.

  •  1,884
    WebWizards replied

    Hi there,

    Thank you for getting in touch,


    It is possible to completely hide all vendor information from customers on the frontend. For that, please add the following PHP code snippet to your site:

    global $marketking_public;
    global $marketkingpro_public;
    add_filter('marketking_show_vendor_product_page','__return_false');
    remove_filter( 'woocommerce_my_account_my_orders_columns', array($marketking_public, 'marketking_orders_vendor_column') );
    remove_action('b2bking_before_offer_add_to_cart_public', array($marketkingpro_public,'add_vendor_offers_public'));
    remove_filter( 'woocommerce_get_item_data', [$marketking_public,'marketking_show_vendor_cart'], 10, 2 );
    remove_filter('wc_get_template', [$marketking_public, 'marketking_template_orderdetails'], 10, 5);
    remove_filter('wc_get_template', [$marketking_public, 'marketking_template_order_received'], 10, 5);
    

    A PHP snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    If that does not fully hide something, just let us know what you are looking to target.


    is there a compatible plugin that is a photo-upload option by customer on few customised products and a message box to be written by them on the products that are being sold  eg. happy birthday. any ocassions if they want.

    I believe you could achieve this by using a product add-ons / options plugin. MaretKing is currently integrated with the following 2 plugins - either one of them is a good choice:

     

    Let me know if I can help with anything, or if you have any questions,

    Kind regards,

    Stefan