Jump to content

8.1.0 - Change maximum characters for meta title/description for the New Product Page


bloggus

Recommended Posts

Anyone has done that change?

Since it was easy to save longer meta title and meta descriptions in the old product page, it creates a problem when suddenly using the New Product Page, that prohibit to save the product is meta title or/and meta description is longer than 70/160 characters.

Link to comment
Share on other sites

  • 1 month later...
On 12/28/2023 at 7:59 AM, bloggus said:

Thank you for the opinion, but it is already changed basically, since this is possible in the old product page.

Can you tell me how you increased the limit?

Link to comment
Share on other sites

I found you can change here the parameters but I think every update it will overwrite src/Core/Domain/Product/ProductSettings.php

    public const MAX_NAME_LENGTH = 128;
    public const MAX_MPN_LENGTH = 40;
    public const MAX_META_TITLE_LENGTH = 160;
    public const MAX_META_DESCRIPTION_LENGTH = 350;

 

Edited by pette (see edit history)
Link to comment
Share on other sites

3 minutes ago, pette said:

I found you can change here the parameters but I think every update it will overwrite src/Core/Domain/Product/ProductSettings.php

 

Still, it is just great! Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...