Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Better out of stock message in shopping cart


frimipiso

Recommended Posts

Hi everyone,

 

when a customer is increasing the number of products in the shopping cart

above the number of available products, a strange message OUT_OF_STOCK_CANT_CHECKOUT

is given that does not tell the customer:

 

- which products with which attributes is not available in the desired number

- number of available products

 

Is there a contribution or a quick fix to get a better message?

 

Thanks,

 

Jens

 

P.S.: I hope I described my problem properly

Link to comment
Share on other sites

Hi

catalog /includes / languages / english / shopping_cart.php

 

look for these lines

 

 

define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>Please alter the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '), Thank you');

define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.');

 

If they are not there add them.

It looks to me like they have been deleted!

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Hi Nic,

 

thanks for the fast reply. However, I am looking for a message like:

 

"The product <product_name> <attribute_name> is only avaible <product_stock> times. Please alter the quantity"

 

Currently, you don't see the product name and the number of products on stock.

I got some nasty remarks from customers that had to fiddle around for a long time

to get their order right.

 

Cheers,

 

Jens

 

 

Hi

catalog /includes / languages / english / shopping_cart.php

 

look for these lines

 

 

define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>Please alter the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '), Thank you');

define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br>You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.');

 

If they are not there add them.

It looks to me like they have been deleted!

 

Nic

Link to comment
Share on other sites

Ooops. In my shopping cart, the out of stock items are not marked red.

Still it would be great to add a message about how many items there are on stock.

Currently, the customers have to guess the number of products on stock.

 

Hmm i do not see how as the out of stock items should be high lighted in red.
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...