Add SEO slugs to OpenCart products (PHP Script)

After using WordPress for years, it was a shock on the last OpenCart project to switch on SEO URL’s and for not a lot to happen. It transpires that each product has a SEO keyword field, which specifies the slug, so below is a script jotted down in a few moments to pull out the title, create an SEO slug and upload to the URL_ALIAS table.

Just upload to your website (I did it to a test folder), make sure the link works and run in your browser. If you have any problems then just drop us a comment.

Grow your digital and realise your potential