popup add_edit_product
Modal for adding or modifying a product
Popup Add Edit Product Overview
This is the popup used for adding or modifying an Product on the platform. Exists in the menufocusgroup_product resuable and on the owner's portal.
Key Workflows
Button New Product is clicked
Creates a new
Productif one does not exist alreadySets the
Total soldfield to 0
Runs the
Save productcustom workflow on theProduct
Button Add Image is clicked
Creates an
Imageinstance and adds it to theimagesstate of this reusableIf the product does not have a primary image - which should only be the case when initially creating a product or if you’ve deleted every existing image - then the newly created
Imagewill be marked as the main primaryThe new
Image(s)are not saved to theProductuntil theButton New Product / Save Changesis clicked
Group Remove Image is clicked
Delinks the
Imageinstance from theProductand removes it from theimagesstate on the reusableIf this
Imagewas theImage mainfor the product,Image mainwill be set to a newImage
Save product [Custom workflow]
Updates the product with the inputted values from the form
When saving the
Image mainandImageswe refer to theimage mainandimagesstates on this reusable
Last updated
Was this helpful?