Questions tagged [shopping-cart]

Shopping cart systems for e-businesses such as online shops.

2075 questions
0
votes
1 answer

If statement to change new row added to quantity added

Hello I'm fairly new here so please correct me if I make any formatting or question errors! I am attempting to create a simple shopping basket file and need some help getting the quantity of items within the basket to change. At the moment I can…
0
votes
1 answer

Cached shopping cart after going back using the browser

I have a shopping cart that I created by myself. My doubt: how to solve the problem of the cached shopping cart? I mean when I go a page of a product and I added it to the cart, and go back using the browser button, the added product is not on the…
ziiweb
  • 28,757
  • 70
  • 168
  • 290
0
votes
1 answer

Assigning Carts to User

I'm trying to build a shopping cart that is assigned to a user. What happens now though is when an item is added to the shopping cart, it's added for every user. It seems every user is using the same cart and I can't get users from being able to add…
codycodes
  • 95
  • 7
0
votes
2 answers

Google Checkout View Cart Button

I'm trying to add a view cart button to my website that is using google checkout, does anyone know a trick to do this? I think I may need to use a special div with a class to create a button that will display the cart when clicked, I'm lost. Thank…
Landmine
  • 1,630
  • 6
  • 35
  • 56
0
votes
2 answers

ASP.NET small online store, shopping cart

Currently I have a site that is using Google Checkout's mini cart system and I like it a lot, however, I'm wondering if there is a more professional way of doing it, while still keeping it simple. I've looked into an authorize.net account, but I…
Landmine
  • 1,630
  • 6
  • 35
  • 56
0
votes
1 answer

php add to cart not adding more than 2 products

Thanks for help in advance. I am trying to make shopping cart and its almost done but only having an issue, that is when i try to add 3rd product or say more than 2 products it only show me 2 products and remove very first entry from the list. Here…
0
votes
2 answers

Implementing PayPal discounts - what if the user cancels?

Alright, I got my Paypal shopping cart set up and working, now I'd like to be able to add discount coupons. I know I can simply implement the 'discount_amount_cart' variable in my form, but I'm still a little lost when it comes to handling the…
proGrammar
  • 39
  • 1
  • 6
0
votes
2 answers

A static php variable that is assigned only once and never changed

the page is online shop page , the user gets js prompt to enter his shopping cart's name, and then selects a product to add to cart, note that each product has its own form and add to cart button, the problem is that i want the name of the shopping…
hhh bbb
  • 1
  • 2
0
votes
1 answer

Running user input PHP validation results in empty SESSION array

I’m doing a simple shopping cart. I’m not sure how to describe my issue. I have two pages. 1st has checkboxes next to each item. 2nd create an empty array into a SESSION then in a loop, pushes all the checked items to the session array and print out…
Moafaq
  • 3
  • 2
0
votes
1 answer

Woocommerce, cart and multiples

I have a client asking for a feature in Woocommerce: He sells different kinds of products and one of them is wine. He would like to display the price per item but to only sell them by 6, 12, 18 etc... So, he would like, when the cart is populated,…
Baylock
  • 1,116
  • 4
  • 23
  • 47
0
votes
1 answer

Django shopping app?

We are developing a django app for several restaurants, it's like a shopping chart. We need the restaurant admins to be able to create their own restaurants, menus and products, and clients must be able to browse the menus and choose the products…
z3a
  • 964
  • 2
  • 10
  • 20
0
votes
3 answers

Confusion regarding how to use a NSMutableArray and Singleton

I am experimenting using a singleton for the first time. I would like to have an array that is global to all my view controllers with some special methods to add and remove items (this is for a shopping cart kind of thing). My singleton class is…
0
votes
0 answers

Magento sets new session before timeout

I am trying to add product to cart in magento, so i am checking the Session checkout cart items, When i am adding the products are adding to cart and session also has the cart item. When I am trying continuously, sometimes my session has empty cart,…
Manikandan Arunachalam
  • 1,440
  • 3
  • 12
  • 30
0
votes
2 answers

Cart Rules base on QTY in magento

I have one group product. And i have two product in group one is the 1 bottle and one is 6 bottle product. Now i want to set free shipping based on the product qty so i have used flat rate shipping method. Now problem is when customer purchase 2…
Jalpesh Patel
  • 3,064
  • 10
  • 41
  • 66
0
votes
1 answer

Get the value for discount in cart

If we have a coupon code that say gives a 5% discount....how can I grab the discounted value into a variable? For example $100 subtotal with a 5% discount. The value of the discount would be 5. I need to get the "5" into a variable.
callmedpit
  • 584
  • 3
  • 9
  • 23
1 2 3
99
100