Jump to content

Modify Product URL - Replace ean13 with reference


Recommended Posts

Ok here's an example for you.

 

The url to the product Weber Spirit E-310 BBQ is currently:-

 

http://www.bbqs2u.co.uk/weber-spirit-bbqs/49-weber-spirit-classic-e-310-bbq-077924015427.html

 

What i want is for the url to use the products Reference number "46410074" rather than the EAN13 number "077924015427" so the url i want in this example is:-

 

http://www.bbqs2u.co.uk/weber-spirit-bbqs/49-weber-spirit-classic-e-310-bbq-46410074.html

 

This should be easy, does anyone know how to do this? I'm sure it needs to be done in the Link.php file.

 

Thanks

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...

Hi,
In case your query is not solved yet, solution to products link (exact like example) is given below.
 
 --
go to: Preferences > SEO & URLs
 
under 'Schema of URLs' tab in 'Route to products' box enter

{category:/}{id}-{rewrite}{-:reference}.html

Let me know if this solves your query or not.

Link to comment
Share on other sites

  • 5 years later...
  • 2 months later...

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...