kristindiannefoss / little_shop

1 stars 0 forks source link

Retired Items #33

Closed Carmer closed 8 years ago

Carmer commented 8 years ago

As a user if I visit an item page and that item has been retired Then I should still be able to access the item page And I should not be able to add the item to their cart And I should see in place of the "Add to Cart" button or link - "Item Retired"

kristindiannefoss commented 8 years ago

Add retired boolean column to item table Add conditional to item create and "add to cart button" something like: if "retired == true", !render