Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Only able to order quantity of one


Guest

Recommended Posts

I am using MS1, and with a new shop (everything else running fine, this was last minute testing), if I try to order a bulk quantity of the product higher than 1 (9 or 10 for example), when I click to the checkout, the quantity goes back to 1.

There is more than enough in "stock", so that's not the problem.

There is only one product on the site, and no mods other than 'CanadaPost' and an 'Update Currency' cron job.

Any help greatly appreciated, as the client is relying on bulk orders for this product and we'd planned on opening shop July 6th.

 

Thanks,

Violet

Link to comment
Share on other sites

Just for grins, set Check Stock Level and Subtract Stock to false in the admin panel and see if you are able to update the quantity then.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

Just looking at the source code for shopping_cart.php and found this:

 

<td align="center" valign="top"><input type="checkbox" name="cart_delete[]" value="1{1}2{2}4"></td>

   <td align="center" valign="top"><input type="text" name="cart_quantity[]" value="1" size="4"><input type="hidden" name="products_id[]" value="1{1}2{2}4"></td>

Do you suppose that "value="1" " has anything to do with it? Do I dare take that out?

 

Violet

Link to comment
Share on other sites

Apparently I was asleep when I posted that! :oops:

 

What I meant to look at was the actual code in shopping_cart.php:

<?php

   if ($any_out_of_stock == 1) {

     if (STOCK_ALLOW_CHECKOUT == 'true') {

?>

 

Would this "1" in the code have anything to do with the checkout going back to a quantity of one?

 

Thanks,

Violet

Link to comment
Share on other sites

Okay, I think I've got it. :(

The only way to order more than one, is to put in the amount at shopping_cart.php & hit "update" before checkout. I was assuming the checkout would update the amount, especially when it is the first chance the customer has to set an amount.

Isn't there some way I can have the amount on the product listing, so when a person places their order, they can just order "10" and checkout, or have the amount automatically update on checkout, without it seeming as though they are changing their order just by wanting more than one?

 

Thanks,

Violet

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...