Forums / Setup & design / How to edit 'status' attribute triggered by action?

"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 edit 'status' attribute triggered by action?

Author Message

Bill Smith

Tuesday 05 December 2006 7:19:49 pm

For example,

for online shopping, there is an item

previously, its status is available. {$item.data_map.status = 0}

when someone buy this item, its status should be changed to unavailable.

something like {set $item.data_map.status = 0}}

but how to perform this action,

/* status is an attribute of the class item, and is stored in database */

Thanks very much