• Resolved Siman-Tov Yechiel

    (@mastersgate)


    hi
    how can i hide fields with a function from add product page like short discription ?

    thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Rafsun Chowdhury

    (@rafsuntaskin)

    Hi,

    you can simply do this using CSS, no function required.

    Add this at the bottom of your theme’s style.css.

    .dokan-new-product-area .dokan-form-container .product-edit-container #post-excerpt,
    .product-edit-container .dokan-product-edit-form .dokan-product-short-description
    {
      display:none;
    }

    Thanks

    Thread Starter Siman-Tov Yechiel

    (@mastersgate)

    thank you

    aqeeliqbal

    (@aqeeliqbal)

    Hi @rafsuntaskin,

    How we hide the downloadable and virtual option from Product Edit page?

    • This reply was modified 9 years ago by aqeeliqbal.
    Plugin Author weDevs

    (@wedevs)

    Hello aqeeliqbal,

    You can hide those checkboxes through CSS

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

    Also, you can override the new-product-single.php file via your child theme to modify the product edit page πŸ™‚

    aqeeliqbal

    (@aqeeliqbal)

    Hi @rafsuntaskin,

    Bundle of Thanks

    Rafsun Chowdhury

    (@rafsuntaskin)

    @aqeeliqbal
    You are welcome πŸ™‚

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘how to hide fields?’ is closed to new replies.