Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Editing SEO field limitations of Products (E-commerce template)

default discord avatar
taun21602 years ago
3

Hi. How do I change the SEO field limitations, such as the min and max characters for the Title of a Product.



Template - Payload E-commerce


Repo -

https://github.com/taunhealy/Melex_CMS
  • discord user avatar
    jacobsfletch
    2 years ago

    There's not currently any way to override these default min and max lengths

    https://github.com/payloadcms/plugin-seo/blob/main/src/defaults.ts

    But this would be a relatively simple feature to support! If you'd like to open a new discussion in that repo with your idea, that would help get the ball rolling.

  • default discord avatar
    taun21602 years ago

    I'll do that, thanks Jacob. I struggled to come up with a title that meets those lengthy requirements.

  • discord user avatar
    jacobsfletch
    2 years ago

    Yea, to be honest those parameters are kinda meaningless afaik and only meant to be a

    suggested length

    but we should also allow a way to turn them off too while were at it

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.