How to retrieve the price in the matrix ?

Author Message

Pierre Sudarovich

Monday 06 November 2006 8:45:44 am

Hi all,

i'm pretty new to Ez publish, so excuse me if my question seems to be stupid ;). I create a class for a product using a matrix. I create a field price to be able to add my products to the basket.
But i don't want that my client fill in the price field, i want to retrieve the price from my matrix (5 references, 5 prices ;)). So i add a select list who fill an hidden input (dynamically by javascript) on change on it.
My goal is to be able to define the price value in my database with the price contained in my hidden field.
How can i do that ? Please...

TIA,

Pierre.

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