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

default discord avatar
taun2160
4 months ago
4

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
    Payload Team
    4 months 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
    taun2160
    4 months ago

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

  • discord user avatar
    jacobsfletch
    Payload Team
    4 months 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

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.