Post by rtune88 » Mon Mar 23, 2015 2:25 am

Where do I look in the code to modify the admin products page feilds? I want to either swap out a couple of them or add in a couple extra fields to be able to search by sku or upc?


I really want UPC as I use barcodes on everything in my bricks and mortar side.

Newbie

Posts

Joined
Mon Mar 23, 2015 2:15 am

Post by rtune88 » Mon Mar 23, 2015 2:41 pm

I think I can explain it better today

I'm wanting to add 2 columns and search fields on the products page on the admin (backend) of my store site, sku and upc, everythiing is available in the database I just need help with the code to show it on the admin work page.


I guess that would be a mod to the .php located here?

site directory/admin/controller/catalog/product.php


Does anyone have the code that would do that for me? I think a lot of people using barcode readers would like it when working with a lot of sku items, I know I would never use my accounting software without barcode reader ever again,

Newbie

Posts

Joined
Mon Mar 23, 2015 2:15 am

Post by yodapt » Mon Mar 23, 2015 2:56 pm

You have to edit pretty much each function inside product.php plus probably edit the catalog_produt model.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by rtune88 » Tue Mar 24, 2015 1:19 am

I'm kind of stumbling through this slowly. I used to do website stuff a decade ago and starting to remember why I gave it up. That was wayyyyy back when we did most everything in html, remember myspace? yeah that long ago.

public_html/admin/view/template/catalog/product_list.tpl
/product_form.tpl


I'm guessing a mod to the template would do what I want? or am I losing my mind?

Newbie

Posts

Joined
Mon Mar 23, 2015 2:15 am

Post by yodapt » Tue Mar 24, 2015 3:24 am

A Mod would be most wise, instead of changing the original files.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm

Who is online

Users browsing this forum: No registered users and 98 guests