nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

Sales should allow String #1693

Open nus-se-script opened 2 months ago

nus-se-script commented 2 months ago

Steps to reproduce: Enter command menu pn/cake pc/15 ps/buy 1 get 1 free

Expected: Add item into menu list

Actual: Invalid command format given

Sales should accept String to allow text based sales


[original: nus-cs2103-AY2324S2/pe-interim#2135] [original labels: severity.Medium type.FeatureFlaw]

chonghaoen commented 2 months ago

Team's Response

Sales here simply refers to the price at which the product is selling for. Should users want to implement a buy 1 get 1 free idea, they can simply create a second product of the same item and give it a sales of 0 and assign it to the order.

Duplicate status (if any):

--