Problem I’ve just created my first set of related classes in React and would like to get feedback from more […]
Tag: e-commerce
A Java Web App with Servlets, JSP and Session: shopping cart example
Problem This is the only Servlet I have: package com.tugay.shopping; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; […]
Reporting sums of shopping carts
Problem I have an object (ShoppingCart) that has a list of CartItems, which contains the related Product and the quantity […]
Note for monitoring buy/sell item list
Problem I’m making note where you can add items that you buy or sell, any suggestions? public class Main { […]
Handling an e-commerce order form
Problem I wrote this form object to handle an e-commerce order form. My areas of concern are the verbosity of […]
Calculating shopping cart discounts
Problem I have a method that checks to see if a hash of given items should have discounts applied and […]
UPenn CIS 194 Homework 1: Validating credit card numbers
Problem I am working through UPenn CIS 194: Introduction to Haskell (Spring 2013). Since I am not able to take […]
PHP shopping cart class
Problem The following is a shopping cart class. The initial version of this was pulled from a production application. Since […]
Shopping cart with discounts
Problem I want to create a shopping cart project with discounts for products. For instance, if you buy 2 books, […]
Shopping cart code kata
Problem I have recently started code kata and learning for myself, as I would like to learn test-first development. I […]