• Resolved hajjem

    (@hajjem)


    Hello , in dokan adding product page i want to oblige sellers to put for example minimum of 100 charachter in the description field.

    how can i do that ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello!

    Dokan has nothing to do with this, because it uses the wp_post_meta table, just like woocommerce.
    But if you use a plugin, for example ACF for Dokan, you can add different fields to the seller’s page when adding or editing a product.
    Here is a small example of the field output:
    Field name = for example Required
    Field Type = checkbox
    Field Label = for example Required
    Vendor Edits Allowed? = slider to the right
    Choices = I confirm that the product description is at least 100 characters
    Default Value = empty
    Return Value = Value

    Go to the Validation tab and move the slider to the right, thereby the seller will be required to check the consent box

    In the settings, select “post type”, and on the right select “product” and save

    Scrinshots:

    Result:

    Plugin Support Yeasin Arafat

    (@yeasinarafathridoy)

    Hi @hajjem,

    You can employ this provided Gist code in the functions.php file of your child theme.

    It’s advisable to test the code on a local server or staging site before implementing it on your production site.

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @hajjem,

    This topic is now closed due to inactivity. If you have any additional concerns or questions, please feel free to start a new topic.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dokan description charachter’ is closed to new replies.