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.
  • 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
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
 

Fred

Administrator
Staff member
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
Thanks for your quick reply. I've tried it but i failed. Is it a big thing or just some little code?
 

Fred

Administrator
Staff member
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
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