Comments (3)
Recall piazza posts that we don’t need to add new items just update the stock. Please specifically read the instructions for adding items. They are very particular.
from databases.
Sorry... re-tested with existing item, but it still doesn't work.
(I'm assuming that the items being re-stocked will have the same UPC as the original item, which is usually the case)
Also, is there a reason why the price has to be a whole number?
Input: Item with UPC 213469245706
Result:
Error: Error: %s.
Error: Duplicate entry '213469245706' for key 'PRIMARY'
from databases.
Price definitely shouldn’t be a whole number... I initially set the table as a real number with up to 2 decimal points, not sure what it is right now.
from databases.
Related Issues (20)
- Format error messages HOT 4
- User feedback HOT 2
- Return item HOT 9
- Have User name at top of screen HOT 1
- Searching causes results to go bottom of screen
- Cannot Purchase items HOT 15
- /?page=purchase Shouldn't exist? HOT 1
- cart allows negative quantities
- Add error handling for all mysqli queries HOT 1
- Customer Registration HOT 6
- Remove exit() in purchase_items.php
- Checkout Bill HOT 2
- remove exit() in process_refund.php HOT 5
- Process Delivery Page Looking Wierd HOT 2
- View cart no item found bug also nothing in cart should draw nothing HOT 2
- Receipt format displays total etc HOT 4
- Create Short User Manual HOT 1
- Clearing the Shopping Cart HOT 1
- Optional ideas if time allows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from databases.