dwerning1 / test-for-wrike

0 stars 0 forks source link

MerchStores > MerchStoreProductList > Delete Product #35

Closed sync-by-unito[bot] closed 3 years ago

sync-by-unito[bot] commented 3 years ago

In MerchStore, clicking on delete icon in the Product List will delete that item.

Note: You will have to refresh page after deleting to see item removed, that functionality for updating is within another task

Steps to Test...

  1. Go to deploy preview
  2. Login as a superuser
  3. Go to /admin/merchstores/M0004
  4. Select "Products" tab
  5. Go to Shopify Partners > Merch Services > Products
  6. Select "Add Product"
  7. add a Title like "TEST DELETE"
  8. select status to "Active"
  9. add the following tag to item: merchstore_code=M0004
  10. click "Save"
  11. Return to "Products List on /admin/merchstores/M0004
  12. Refresh page, you should see your new item in Product List
  13. Click Delete icon of your product.
  14. Should receive toast "Your product was deleted"
  15. You will have to refresh page after deleting to see item removed, that functionality for updating is within another task.
  16. After refresh, your created product should no longer be in the Product List.

┆Issue is synchronized with this Wrike Item by Unito

sync-by-unito[bot] commented 3 years ago

➤ Patrick Nelson commented:

michaelsiddall Nice testing instructions! Appreciate the detail.

The item was indeed deleted from merchologysolutions, but it was also completely wiped out from the product list in the admin. Wouldn't we just want to delete the merchstore_code=M0004 tag so that the product doesn't show up in the list of selected products?

Also, do we want any sort of confirmation modal after clicking the delete icon? Maybe a question for Noah / Levi.

sync-by-unito[bot] commented 3 years ago

➤ jborek commented:

patrickrnelson