• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Suggestion Show category in product_list_item

McAtze

New Member
Joined
Jun 6, 2016
Messages
11
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
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,854
Hi
Sorry i don't plan to add feature on xf1 addon
If you really need this feature you can request custom developpement

Regards
 

McAtze

New Member
Joined
Jun 6, 2016
Messages
11
Thanks for your quick reply. I've tried it but i failed. Is it a big thing or just some little code?
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,854
Honnestly i don’t know
I have made this addon long time ago so i don’t remember what i had do
 

McAtze

New Member
Joined
Jun 6, 2016
Messages
11
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
 
  • Like
Reactions: Fredxd