popup add_edit_item
Modal for adding or editing an item
Last updated
Was this helpful?
Modal for adding or editing an item
Last updated
Was this helpful?
This is the popup used for adding or modifying an Item
on the platform. Exists in the and on the .
Creates a new Item
(and sets its Review count
to 0) if one does not exist already
Triggers the save_item
workflow
Creates an Image
instance and adds it to the Images
state of popup add_edit_item
If the Item
does not have a primary image - which should only be the case when creating a new item or if you’ve deleted every existing image - then the newly created Image
will be marked as the primary image
The new Image(s)
are not saved to the Item
until Button New Item
is clicked
Sets the Image primary
state to that cell’s Image
Deletes that cell’s Image
Updates the Item
with the inputted values from the form
When saving the Image main
and Images
we refer to the Image primary
and Image
states on popup add_edit_item
Links the Item
to the Images
Contains the list of Images
for the item
Populated from the Images
state on popup add_edit_item