Canonical Url's For Cs-Cart 4.5 Need Help


I'm trying to edit canonical URL's that will show the part number as a category at the end of a canonical url. How would i make the following to include /gft134343.html ?

Here is what i'm trying to fix on all our products?

needs to be

I believe that should be better for Google indexing as it will now show the full title of the product in the url of the google search.

Please let me know how to change it so that it would display the part number as the last category only for the canonical url so that Google can crawl the whole url product title?


Anyone please help?