• Resolved metalsunny

    (@metalsunny)


    How do i disable the virtual and downloadable check box as well as tag when vendor try to upload a new product. I want to make deter vendor from selecting those options

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @metalsunny

    The Downloadable and virtual checkbox exists on the edit product page and not on the add product page. To remove those from the edit product page you can add the below-mention CSS on your wp-admin panel’s Appearance > Customize > Additional CSS.

    .dokan-form-group.dokan-product-type-container.show_if_subscription.show_if_variable-subscription.show_if_simple{
      display: none !important;
    }

    To remove the tags from the edit product page, you will need to comment out line number 319 to 338 of wp-content\plugins\dokan-lite\templates\products\new-product-single.php this file after overriding the template.

    To remove the tags section from the add new product pop-up you will need to override wp-content\plugins\dokan-lite\templates\products\tmpl-add-product-popup.php this template and comment out line number 145 to 148.

    To remove the tags section from the add new product (without pop-up) you will need to override and comment out wp-content\plugins\dokan-lite\templates\products\new-product.php this file’s line number 254 to 257.

    If you are not familiar with how to override using a child theme then you can have a look at this blog.

    I hope the information will help.

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @metalsunny

    As we haven’t heard back from your side for a while we are marking this thread as closed. Feel free to open a new topic for any further inquiry.

    Thanks for being with us.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable tag e.t.c’ is closed to new replies.