What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Suggestion Show category in product_list_item

McAtze

New Member
Hi,

thanks for that great add-on.. :)

I've tried to show the category in the product_list_item as shown in attachment. But it doesn't work. How can i do it or could you integrate it in next release?

Screenshot 2018-11-16 19.58.40.png
 
Hi
Sorry i don't plan to add feature on xf1 addon
If you really need this feature you can request custom developpement

Regards
 
Thanks for your quick reply. I've tried it but i failed. Is it a big thing or just some little code?
 
Honnestly i don’t know
I have made this addon long time ago so i don’t remember what i had do
 
The solution is as simple as it seems. Just a template modification.. :D

Template: xenproduct_product_list_item

Modification key: InsertProductCategories

Search type: Simple Replacement

Search:
HTML:
<xen:datetime time="{$product.product_date}" /></a>
Replace:
HTML:
$0 - <a href="{xen:link 'products', '', 'order=category_{$category.category_id}'}">{$category.category_title}</a>

Screenshot 2018-11-16 23.51.24.png

Screenshot 2018-11-16 23.53.05.png
 
Top