Forums / General / How to retrieve the price in the matrix ?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential, 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.