• Resolved pctec

    (@pctec)


    Hello.

    I was able to add character limit to the title and short description when the seller creates a new product. I set it to 55 characters for the title and 120 for the short description using “maxlength” in the files I copied to the child theme. It works fine.

    I modified these two files : new_product_php, tmpl_add_product

    But if the seller edits the product again, the limit does not work. I seem to be missing some other file where to use “maxlength”.

    I tried in “edit_product_single” but I couldn’t find where to put maxlength.

    could you tell me which file I need to edit and in which line? if you can send me a screenshot I would appreciate it.

    Greetings!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @pctec

    In order to limit the title and short description length on the edit product page this will require proper customization from the dokan-lite\templates\products\edit-product-single.php template file. Since by default Dokan does not have any functionality to limit the title and short description length on the edit product page.

    In that case, you can contact a professional developer to achieve such requirements.

    I hope this help.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @pctec

    Due to inactivity, we are marking this topic as resolved. Feel free to open a new one if you face any further issues.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘where to use maxlength to avoid long titles?’ is closed to new replies.