Hello!
I have some of the Sample-Products and one self-added product in the shop.
Now, i can add the sample products ti the cart without any problems, but the product i've added, doesn't "work"...
The product is "in Stoc", Quantity is > 0, and it is enabled...
I can't find any errors... ?!
I have some of the Sample-Products and one self-added product in the shop.
Now, i can add the sample products ti the cart without any problems, but the product i've added, doesn't "work"...
The product is "in Stoc", Quantity is > 0, and it is enabled...
I can't find any errors... ?!
Hi this is a new feature in 1.x. You can set a products out of stock status.
In the admin product page you can seee a field called stock status where you can set a status when it runs out. You need to set the statu sto out of stock or set it to 5 - 10 day delivery.
In the admin product page you can seee a field called stock status where you can set a status when it runs out. You need to set the statu sto out of stock or set it to 5 - 10 day delivery.
OpenCart®
Project Owner & Developer.
Hi Guys!
The problem here is the same that I pointed out in my post: http://forum.opencart.com/index.php/topic,3019.0.html
When I add a new product the "date available" automatically gets todays date "now()".
And the cart.php (system/library/cart.php) use "date_available < NOW()" when it select/search for products, which make the product unavailable the same day!
To be able to ad a product the same day as It's added you have to set the "date available" one day backwords. Or...
Change this part in line 28 of cart.php (system/library/cart.php):
p.date_available < NOW()
to this:
p.date_available <= NOW()
I think you also want to change the same thing in review.php (catalog/model/catalog/review.php) on lines: 8, 14, 20, 26, 42 and 48
Or wait for an updated package!
/Leffe
The problem here is the same that I pointed out in my post: http://forum.opencart.com/index.php/topic,3019.0.html
When I add a new product the "date available" automatically gets todays date "now()".
And the cart.php (system/library/cart.php) use "date_available < NOW()" when it select/search for products, which make the product unavailable the same day!
To be able to ad a product the same day as It's added you have to set the "date available" one day backwords. Or...
Change this part in line 28 of cart.php (system/library/cart.php):
p.date_available < NOW()
to this:
p.date_available <= NOW()
I think you also want to change the same thing in review.php (catalog/model/catalog/review.php) on lines: 8, 14, 20, 26, 42 and 48
Or wait for an updated package!
/Leffe
Last edited by Blueforce on Fri Feb 13, 2009 12:10 pm, edited 1 time in total.
Yes!
Now it works fine... but one thing for ToDo list:
If you wrote a review and it is waiting for activating from the admin, the user should get a message!
Because at the moment the user does not know if the review was sent or not...
Now it works fine... but one thing for ToDo list:
If you wrote a review and it is waiting for activating from the admin, the user should get a message!
Because at the moment the user does not know if the review was sent or not...
Last edited by CChris on Fri Feb 13, 2009 4:14 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 15 guests