Post by agokulravikumar » Mon Oct 26, 2015 2:34 am

Hi All,

Added an Extra Yes or No option in the Admin Product Page Data Tab. I have added a column 'custom' to the oc_product page on the DB.

The Column will have either 0 or 1. I am done with the Admin page.

But when I fetch the values as $custom on the catalog\view\theme\cosyone\template\product\category.tpl, it says undefined variable.

My requirement is to get the value (1 or 0) for that product from the DB on the Category Page.

How do I fetch the values from DB ?


Posts

Joined
Wed Aug 26, 2015 1:41 am

Post by IP_CAM » Mon Oct 26, 2015 5:19 am

simply by looking here to get 73 replies:
https://www.google.com/search?q=fetch+a ... encart.com
Ernie
bigmax.ch/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 9 guests