Support » Plugin: White Label CMS » Woocommerce

  • Resolved napolipizza

    (@napolipizza)


    Hello,
    Thanks for this great plugin White Label CMS.
    I have a question please:
    I set this white label for a client of mine, I disable all woocommerce tabs except “Orders” , but when they open the orders, there is a product link, where they can click and enter to product setting.
    I would like to disable the product link, so they don’t mess around with the settings.
    This maybe unrelated question to your plugin, but I would appreciate the help.
    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support VUM Support – Jhay

    (@jhayvum)

    Hi,

    It is not possible inside WLCMS Plugin settings, but you can do it in your Theme Functions(functions.php)

    
    add_action( 'admin_footer', 'my_hide_product_link1001' );
    function my_hide_product_link1001() {
        ?><script type="text/javascript">
        jQuery(document).ready(function(){
            jQuery('.not-wlcms-admin a.wc-order-item-name').contents().unwrap();
        });
        </script>
        <?php
    }
    Thread Starter napolipizza

    (@napolipizza)

    Thanks a lottt.
    it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce’ is closed to new replies.