
Originally Posted by
Berserker
Hello,
First, i'd like to say this is an awesome mod! Like all the added features.
I was just wondering though, is it possible to show the category the product is from instead of the model?
Thanks
Not an available option in the default mod
A quick search of zen functions found this function
zen_get_categories_name_from_product($product_id)
It looks useful
Give it the product id and back comes the name of the category
I haven't tried this but this could work
Edit
\includes\modules\YOUR_TEMPLATE\multi_xsell_products.php
Around line 69 near the end of the line find this code segment
PHP Code:
zen_products_lookup($xsell_query->fields['products_id'], 'products_model')
and replace with
PHP Code:
zen_get_categories_name_from_product($xsell_query->fields['products_id'])
See if that works for you?
Bookmarks