New Zenner
- Join Date:
- Mar 2011
- Posts:
- 93
- Plugin Contributions:
- 0
Adding a custom column to Product Listing
So, there are a bunch of standard columns in the Product Listing table:
PRODUCT_LIST_MODEL,
PRODUCT_LIST_NAME,
PRODUCT_LIST_MANUFACTURER,
PRODUCT_LIST_PRICE,
PRODUCT_LIST_QUANTITY,
PRODUCT_LIST_WEIGHT,
PRODUCT_LIST_IMAGE
So let's say I want to add the music genre as a column into the Product Listing table, and only show it when I'm showing a particular category in my shop (the music category).
Are these the steps I have to make:
- Add a new configuration entry with configuration_group_id = 8
- Add this new configuration entry into includes/modules/pages/index/main_template_vars.php (how do I override this?)
- Add to includes/modules/<template>/product_listing.php
... I'm lost. :unsure: