Page 1 of 1

external url

Posted: Tue Mar 04, 2014 10:23 pm
by danny1515
Hi
I want the image in product/category page linked to an external url instead of product/product page. I Have already created an extra field in the database ($external_url). Connection (write/rewrite) Admin/database=ok; What do i have to adjust in product/category.tpl? Use open cart version v1.5.6.1

Re: external url

Posted: Wed Mar 05, 2014 6:06 am
by jgsw
hi,

By creating a new field in the db you'll have to edit the product model, controller, language and template files in both admin and catalog.

It might (definitely will be) be easier for you to use an existing product field, SKU, UPC etc.

That way you can get away with only editing controller and template files

jgsw