Post by austurki@gmail.com » Tue Feb 19, 2019 8:51 pm

hi
if i have item stock 1 pcs
it will accept to add 2 pcs to cart and note appeare in cart
how to prevent add more than available stock when i add to cart?

New member

Posts

Joined
Thu May 18, 2017 7:25 am

Post by rjcalifornia » Wed Feb 20, 2019 12:14 pm

austurki@gmail.com wrote:
Tue Feb 19, 2019 8:51 pm
hi
if i have item stock 1 pcs
it will accept to add 2 pcs to cart and note appeare in cart
how to prevent add more than available stock when i add to cart?
Basically you don't want users to add more items to the cart if there is only one available. There's an option in your system -> settings -> edit store ->options tab, you can select to allow checkout even if out of stock. May be uncheck that?

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by austurki@gmail.com » Sat Feb 23, 2019 5:43 am

but i want to prevent to go to cart and show massage

New member

Posts

Joined
Thu May 18, 2017 7:25 am

Post by straightlight » Sat Feb 23, 2019 7:38 am

austurki@gmail.com wrote:
Sat Feb 23, 2019 5:43 am
but i want to prevent to go to cart and show massage
By doing that, you'd be preventing sales to your customers while the stock only has been depleted. Keeping the sales on-going would definitely be the way to go but to be notified automatically about it. I do have an extension on the side that does this.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 81 guests