chatty-clownfish / bangazon-sprint-2

1 stars 0 forks source link

User can remove a product listing #20

Open kimberly-bird opened 5 years ago

kimberly-bird commented 5 years ago

Given the user is authenticated When the user clicks on the My Products hyperlink in the navigation bar Then the user will be presented with a list of products they (s)he has posted for sale

Given the list of products is presented to the user When the user clicks the Delete button next to a posted product Then the product for sale is removed from the system

CosignMyCodesign commented 5 years ago

Do not cascade delete

robbyhecht commented 5 years ago

-- from 'my products' link in navbar --

seller --> VIEW and TEMPLATE for list of products for sale Includes "delete" button with each product

CosignMyCodesign commented 5 years ago

Conditional: If this product has been added to another user, then do a soft delete. If it is a new product, then it is fine to do a hard delete.