Template creation fix #42
Reference in New Issue
Block a user
Delete Branch "template-creation-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Template creation fix
https://app.asana.com/0/697944902557002/878158373076731
Preparation:
For one time migration import field localed in
backend/app/plugins/wiaas/includes/db-updates/data/wiaas-ui-field-general.jsonSmoke test:
Login to backend as admin
Go to new product
Notice that box for selecting type and country is visible
Select Template
Notice country option is gone but Choose button is still there
Select choose
Validate template is created and template data metabox is visible
Make some changes and publish
Validate template is published and template data metabox is visible
Go to new product
Select Simple
Click Choose without selecting country
Validate error box is shown
Select country and click choose
Validate simple product is created and its metaboxes are visible
make some changes (ex. price) and publush
Validate product is published and its data is show in metaboxes
Go to new product
Select Bundle
Click Choose without selecting country
Validate error box is shown
Select country and click choose
Validate Bundle product is created and its metaboxes are visible
make some changes (link product or change title)
Validate product is published and its data is show in metaboxes
changed the description
merged
mentioned in commit
18f40d9403mentioned in merge request !46