Ancient thread I know but Im also having this problem...
Printable View
Ancient thread I know but Im also having this problem...
What are your settings in the Configuration ... Stock ...
Hi Ajeh, thanks for popping in here.
Sorry when I say Im having the same problem I mean that I do have the stock setting set correctly and Im using stock by attributes.
Heres the settings:
Check stock level true
Subtract stock true Info
Allow Checkout false Info
Mark product out of stock "Out of stock" Info
Stock Re-order level 5 Info
Show available stock level in cart when less than order true
But you can still checkout. Its 1.39h and I checked the code presented earlier as a fix and that is already there.
When checking out, you do get the message saying there is no stock of this item, but some people will still keep going and make the order.
And if you switch to the Classic Template ... can you still checkout with too much in stock?
Based on your settings, it should be stopping you ...
Is this a clean install of v1.3.9h or an upgrade?
Ill try that late tonight when there aren't too many customers on.
Yes its a fresh install.
Could you also go to phpMyAdmin and search the table:
configuration
for the field:
configuration_key
with the value of:
STOCK_ALLOW_CHECKOUT
How many records do you have for this and what is in the field:
configuration_value
Theres one field I can see thats labeled STOCK_ALLOW_CHECKOUT
Heres what it has-
228 Allow Checkout STOCK_ALLOW_CHECKOUT false
I didnt get a chance to switch the theme last night but will do it tonight.
I presume the above setting is correct?
Well tried classic green theme and I couldnt checkout.
So switched back and now it seems to be fixed on the theme we are using.
Perhaps that fixed it I dont know. I know switching themes in wordpress sometimes fixes things too...
That should not of actually fixed things ... but keep an eye on it and see if it breaks again ... sppokie ... :blink:
what happen when I have a product with several attributes... ej. Christmas balls with several attributes...
A customer want 5 one box of each color.. blue, red, green, pink and gold..
look like if one attribute color is missing (deleted) after the products added to the cart ALL 5 Box is deleted, not only the color missing..
By the way... if customer want 5 box one o each color, and one color is sold out you dont sell nothing... and would sell 4.
to solve this just change in includes/classes the file shopping_cart.php
around the line 1270
$_SESSION['cart_errors'] .= ERROR_PRODUCT_ATTRIBUTES . $chk_products_link . ERROR_PRODUCT_STATUS_SHOPPING_CART_ATTRIBUTES . '<br />';
$this->remove($attributes_id); //<-------------- Change $products_Id for $attributes_id
break;