Post by danny1515 » Tue Mar 04, 2014 10:23 pm

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

Newbie

Posts

Joined
Fri Aug 02, 2013 8:52 pm

Post by jgsw » Wed Mar 05, 2014 6:06 am

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

Quick Edit Admin Panel (40% off!) - CSS Unique (only $10!)
Sticky Admin Menu (Free) - Add Scripts & Styles to head (Free)


Active Member

Posts

Joined
Sat Mar 16, 2013 3:13 am
Who is online

Users browsing this forum: No registered users and 84 guests