Matt-Yorkley
|
6afda87baf
|
Add explanatory comment on soft-deleted variant stock logic
|
2020-05-05 13:57:50 +02:00 |
|
Matt-Yorkley
|
0e429da377
|
Return zero available stock (total_on_hand) for variants that are soft-deleted
|
2020-05-05 13:57:50 +02:00 |
|
Matt-Yorkley
|
6afda141a1
|
Remove track_inventory_levels conditional
This value is always true in OFN
|
2020-04-09 09:19:37 +02:00 |
|
Matt-Yorkley
|
b3c968856b
|
Fix some rubocop issues
|
2020-04-09 09:19:37 +02:00 |
|
Matt-Yorkley
|
f959e632ea
|
Modify Spree::Stock::Quantifier to not re-fetch stock items if they are already eager-loaded
This helps to remove a big N+1 here, and will also be very helpful elsewhere in the app
|
2020-04-09 09:19:37 +02:00 |
|
Matt-Yorkley
|
f9cf826f1c
|
Bring Spree::Stock::Quantifier in to OFN
This is the original unmodified Class from Spree. Modifications added in subsequent commits.
|
2020-04-09 09:19:36 +02:00 |
|