Jump to content

[SOLVED] Customizing fields on product list


Recommended Posts

When showing the products in a particular category, I am looking to include the Reference # as well as the supplier reference number in this list as well. This is for a company that refurbishes products - so I want to list both the OEM number as well as their part number in the list.

How is this done?

Thanks!

Bob

Link to comment
Share on other sites

OK, I found this out by digging through the code.

Simply edit /classes/Products.php

On line 54, I just added:

OEM#{$product.reference}


Our#{$product.supplier_reference}

And again on line 58.

You can replace the smarty variables with whatever you like. Only limitation is the length of the string can't exceed 20 characters unless you mess with the theme/template.

Hope this helps someone...

Bob

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...