Attribute filtering by Multi-price attribute

Author Message

César Camelo

Tuesday 26 June 2007 3:58:42 pm

Hi !!
How can I make a fetch content filtering by Multi-price attribute :

For example :

Fetch all products with prices between 100 and 1000.

fetch('content', 'tree', hash('parent_node_id', 114,
'attribute_filter', array( array( 'product/price', 'between', array( 100, 1000 ) ) ) ))

Is there something I'm forgetting?

Frédéric DAVID

Wednesday 27 June 2007 12:56:46 am

the attribute filtering by multi-price datatype doesn't work. You can find the available datatypes on this page :

http://ez.no/doc/ez_publish/technical_manual/3_9/reference/modules/content/fetch_functions/list

For the moment,the multiprice datatype and the price datatype aren't available.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

Łukasz Serwatka

Wednesday 27 June 2007 1:35:31 am

You can write your extended attribute filter to solve your problem. Example is in documentation.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.