Post by BatKolio » Thu Jan 14, 2021 8:47 am

Hi,
E-shop is OC 3.0.3.2. I have the following problem:
- we are selling on-stock goods, but we are delivering products by request as well;
- lets imagine a product t-shirt with different sizes;
- there are 2 x S, 4 x M on stock, other words - 6 in total;
- customer is ordering 10 x XL
- quantity will become -4, stock status will become "out of stock"
- but I have sizes on stock.

Please advise is there any solution for this issue?

Newbie

Posts

Joined
Mon Jul 22, 2019 4:22 pm

Post by mikeinterserv » Thu Jan 14, 2021 9:12 am

If I understand your question correctly.
You can make ALL the options available in your stock as IN
S - 2
M - 4
L - 0
XL - 0
XXL - 0
Then Only the selected item like XXL will reduce stock for XXL and NOT S M L etc
Then
Choose text like Pre Order in catalog>products>data>out of stock options.
I guess you know how to make the options in options and assign them.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by paulfeakins » Thu Jan 14, 2021 6:56 pm

BatKolio wrote:
Thu Jan 14, 2021 8:47 am
Hi,
E-shop is OC 3.0.3.2. I have the following problem:
- we are selling on-stock goods, but we are delivering products by request as well;
- lets imagine a product t-shirt with different sizes;
- there are 2 x S, 4 x M on stock, other words - 6 in total;
- customer is ordering 10 x XL
- quantity will become -4, stock status will become "out of stock"
- but I have sizes on stock.

Please advise is there any solution for this issue?
Search for extensions like "option stock".

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by JNeuhoff » Thu Jan 14, 2021 9:42 pm

Upon a successful checkout both the product stock as well as the stock for the chosen product option are updated. Just make sure you have enabled the 'Subtract Stock' for both the product and your size option.

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by BatKolio » Fri Jan 15, 2021 7:42 am

May be I'm not explaining correctly the problem.
Let's imagine I have following stock from t-shirt:
S - 2 pieces
M - 4 pieces
L - 0 pieces
Total quantity - 6, status - on stock
A customer orders 10 pieces from L size; Then the options will become:
S - 2 pieces
M - 4 pieces
L - (-10) pieces
Total quantity - (-4), status - out of stock......but I have stock....

Newbie

Posts

Joined
Mon Jul 22, 2019 4:22 pm

Post by Cue4cheap » Fri Jan 15, 2021 8:00 am

BatKolio wrote:
Fri Jan 15, 2021 7:42 am
May be I'm not explaining correctly the problem.
Let's imagine I have following stock from t-shirt:
S - 2 pieces
M - 4 pieces
L - 0 pieces
Total quantity - 6, status - on stock
A customer orders 10 pieces from L size; Then the options will become:
S - 2 pieces
M - 4 pieces
L - (-10) pieces
Total quantity - (-4), status - out of stock......but I have stock....
Have you tried "stock checkout" under System --> Settings --> (edit) Option.

I thought that would stop people from checking out in that manor.
Mike

cue4cheap not cheap quality


Active Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by mikeinterserv » Fri Jan 15, 2021 8:03 am

BatKolio wrote:
Fri Jan 15, 2021 7:42 am
May be I'm not explaining correctly the problem.
Let's imagine I have following stock from t-shirt:
S - 2 pieces
M - 4 pieces
L - 0 pieces
Total quantity - 6, status - on stock
A customer orders 10 pieces from L size; Then the options will become:
S - 2 pieces
M - 4 pieces
L - (-10) pieces
Total quantity - (-4), status - out of stock......but I have stock....
If that's how OC is working for you Its not ideal I would agree
I think this is as much about how you manage STOCK in the shop - Items that are 0 stock maybe DO NOT select subtract stock only items with a positive number stock value to subtract from stock. There's not much point to have negative stock number anyway, maybe its different for you.
Then
As Mike says above check the box in dashboard>settings>shop>options>stock checkout.
Allow customers to checkout when stock is 0
That will solve your problem without technical difficulty

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by straightlight » Fri Jan 15, 2021 10:44 am

There's not much point to have negative stock number anyway
It does have its purpose for inventory assets based on accountability management.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by mikeinterserv » Sat Jan 16, 2021 2:17 am

mikeinterserv wrote:
Fri Jan 15, 2021 8:03 am
There's not much point to have negative stock number anyway, maybe its different for you.
Maybe you missed that bit :-)

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales
Who is online

Users browsing this forum: Baidu [Spider], oussama21 and 27 guests