279962 OSC: stock-allow checkout mods
N/A
Pago na entrega
Hi
I´m working with a little programming for stock-status.
Here I need two more options than the standard.
"Allow checkout" is now set to false if out of stock.
But on the following two options I need it to "Allow checkout" if stock is 0:
One is "orderbased" where product only is taken home if ordered.
Two is: When out of stock but is coming home.
Also on those two options I need a status on checkout which explains customers that it will be shipped out when on stock.
--------------
NOTE:
--------------
Note is that I use QtPro to control stock-attributes - only on a few products.
As such a workaround for QtPro-controlled products is NOT needed - so QtPro controlled products should/could just work as standard.
If you do have an easy solution for QtPro then let me know in PMB.
--------------
IN DETAILS:
--------------
Based on: "Allow checkout" = false, if stock 0.
What I want is to have 4 options for ordering:
1: More than 0 stock in "products_quantity" = can order. (works now)
2: 0 stock in "products_quantity" = cannot order. (works now)
3: 0 stock in "products_quantity" + "products_date_available" which is above the current date = can order. (This means that product is coming back on stock)
4: 0 stock in "products_quantity" + y in "orderbased" = can order ("orderbased" is and extra field in table "Products". If "y" (yes) then it can be ordered.)
Option 3 and 4 currently does not allow checkout.
Your job is to make this possible.
I would also like an extra status for customers when using option 3 and 4.
I reefer here to "Admin - Stock - "Mark product out of stock"". Currently when a customer adds a product which is not on stock he/she gets:
"
Products marked with *** dont exist in desired quantity in our stock.
Please alter the quantity of products marked with (***), Thank you
"
I would like it to be something like:
"
The product marked with "3+4" will be shipped out when on stock.
You can order this product. No additional shipment will later be added to your order.
"
Thats it.
ID do Projeto: #2026251