Skip to main content

Questions tagged [shopping-cart]

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

shopping-cart
6 votes
4 answers
52k views

Submit Multiple Forms With One Button

I am using $_SESSION to dynamically create forms for my web store. These forms hold the custom info for the product that the customer wants. This is the layout: Page1 Customer fills out form that ...
JJJ's user avatar
  • 3,322
22 votes
10 answers
53k views

Need Woocommerce to only allow 1 product in the cart. If a product is already in the cart and another 1 is added then it should remove the previous 1

I think this code should work but not exactly sure where to place it. Everywhere I have tried has failed so far... add_action('init', 'woocommerce_clear_cart'); function woocommerce_clear_cart() { ...
Swof's user avatar
  • 221
23 votes
6 answers
8k views

shopping cart for non registered users

I am in the process of making a website that involves a shopping cart. There are two major requirements: The user experience guys want login/authentication to be the very last step in the entire ...
nano's user avatar
  • 687
6 votes
3 answers
12k views

Programmatically add Bundle Products in Magento, using the SKU / ID of Simple Items

I have some simple catalog products in Magento, so I have their SKUs & IDs. Now I want to create a Bundled product using the array elements "bundle_options" & "bundle_selections" of the Bundle ...
Knowledge Craving's user avatar
1 vote
1 answer
8k views

ModelValidationException was unhandled user code

Can you help me on the following error, i checked everything no ID mistakes ModelValidationException was un handled by user code An exception of type 'System.Data.Entity.ModelConfiguration....
Kande's user avatar
  • 13
16 votes
3 answers
20k views

When does Magento consider a cart to be abandoned? Where's that time limit set?

If left to default settings, what circumstances would have to occur for Magento 1.7 to consider a cart abandoned? Where is the code that makes this determination located? I know that this is probably ...
Kale's user avatar
  • 601
8 votes
2 answers
13k views

Listen to shopify cart update quantity

I am writing a Shopify app and I would want to listen to the shopify cart update event. I know that when user clicks on remove or increase the item quantity. Shopify send a POST request to the backend ...
 coinhndp's user avatar
  • 2,431
8 votes
1 answer
35k views

Storing multiple values in a $_SESSION variable with PHP

I'm creating a site which has a shopping cart. I do not need any special functionality so I'm creating the cart on my own rather than integrating any ready one. My products do not have a predefined ...
cycero's user avatar
  • 4,661
4 votes
1 answer
9k views

Builing a cart with multiple items and the PayPal button in PHP

I'm building a shopping cart in PHP and want to allow customers to enter the quantity for each item and then press a button which brings you to PayPal and lists how many products you have. On PayPal'...
jmasterx's user avatar
  • 53.6k
0 votes
2 answers
2k views

Using acts_as_shopping_cart how do I implement basic quantity editing?

The acts_as_shopping_cart gem requires two models - Shopping Cart and Shopping Cart Item. The attributes it allows you to access like this for the item: <td><%= shopping_cart_item.item.name ...
marcamillion's user avatar
  • 33.6k
13 votes
2 answers
8k views

Shopping cart and stock management

I am currently building an ecommerce site with PHP/MySQL. Recently, I have been working on the Shopping Cart integration. The client wanted to ensure that stock was available to potential buyers, ...
jgallant's user avatar
  • 11.2k
13 votes
2 answers
14k views

OpenCart: Where is the div for the drop down header cart info?

I am trying to style OpenCart but am having difficulty finding which TPL file holds the div that appears when you click the Shopping Cart icon in the header (the 'mini cart' that slides down - it ...
MeltingDog's user avatar
9 votes
2 answers
6k views

Is it safe to use CodeIgniter shopping cart?

According to CodeIgniter documentation their Shopping Cart Class "is DEPRECATED and should not be used". Is there any harm in going ahead and using it? It is a very close match to what I need and I ...
Bill Noble's user avatar
  • 6,654
8 votes
4 answers
5k views

Purchase physical product from iPhone app without Apple in app purchase

Can an iPhone app allow a user to purchase a physical product (say a pen or a mouse) from inside an app, without using Apple in app purchase? Is it allowed by Apple? If yes, do you know any API that ...
AJ.'s user avatar
  • 1,463
5 votes
3 answers
11k views

Changing order of shopping cart totals in Magento

I am having a requirement that I have to change the order of totals in a shopping cart in Magento. My requirement is shipping charge should display before Tax. Currently it is displaying as Subtotal-...
Nafee's user avatar
  • 109

15 30 50 per page
1
2 3 4 5
8