This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » Latest products added-extension?
expandshrink

Latest products added-extension?

Latest products added-extension?

Monday 31 January 2011 10:56:30 am - 2 replies

Hello,

I'm coming from the Joomla/VirtueMart world and there it is very easy to display the latest products added to the shop, on the frontpage.

Does an extension like this exists for eZ? I've browsed and searched, but to no avail.

Modified on Wednesday 02 February 2011 10:25:27 am by Vidar G

Monday 31 January 2011 11:47:53 am

Hi

You can use fetch function in template:

fetch( 'content', 'list',
 hash( 'parent_node_id',          --- parent_node_id ---,
     'sort_by',                     array('published', false()),
     'limit',                       1,
     'class_filter_type',           'include',
     'class_filter_array',          array('product') ) )

Modified on Monday 31 January 2011 11:50:27 am by Karol Radziuk

Wednesday 02 February 2011 10:17:39 am

Thanks for the reply,

Can you please elaborate a bit?

All I can see is that a list of child objects are created from a parent. Or something like that.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from