Flowchart
Untitled
Flowchart content
Visits the Edit page
If product_backup exists
Proceed to frontend
Create product_backup
Check source -> if unpublised
Display label and link to reset to original
click save
Json to backend as usual but with type save to draft
Display content from the draft column
Click publish
Save to the database to backup table to draft column.
Click reset
reset() method of the controller
Get product backup object and save contents from that object to product. Use already existing methods
Remove backup
Create new backup
publish() method of the controller
save to draft first
then get data from draft object and update product with it
Remove backup
Create new backup
Information
- Description
- Flowchart on Untitled, created by Александр Лейба on 24/06/2022.
- Created by
- Александр Лейба
- Views
- 0
- Rating