# eCommerce, PHP, Prestashop, Ostoskärryt, verkkosivujen suunnittelu Job by rerdogan

2- Every customers have limit to buy for each product. This limit is two for each product. Customers can not buy more than 2 items for each products So you should put a limit for quantity. However if shopping cart is under \$100, customers can buy another type of products.

For examples: * There are two MP3 players and total price is \$50 ----&gt; Works

* There are two MP3 Player \$50 + 1 Iphone case \$7 + 2 T-Shirts \$30. Total price is \$97 --- Works

* There are 1 Tablet PC \$75 + 2 T-shirts \$30 ----&gt; Does NOT work! Total Price is \$110 and Total price can not be more than \$100

* There are 2 Tablet PC\$75 ----&gt; Does NOT work. Because total price can not be more than \$100

*Lets say customers buy two t-shirts \$30(Product ID 001) and 1 i phone case \$7( PRODUCT ID 987) and his total shopping cart price is \$37. After that he wanted to buy exactly same tshirt again (Product ID 001) ---&gt; It does NOT work. Because customers can not buy same products more than two.

*Lets say customer buy two t-shirts (Product ID 001) \$30and 1 i phone case(PRODUCT ID 987) \$7 After that he wanted to buy a tshirt again \$12 (Product ID 005) Total Price is \$49 ---&gt; It Works. Because He bought 3 tshirts but not a exactly same t-shirt.

Tietoa työnantajasta:
( 65 arvostelua ) Istanbul, Turkey

Projektin tunnus: #4269708

## Myönnetty käyttäjälle:

Hired by the Employer

\$18 USD / tunti
(9 Arvostelua)
3.8