Product still showing out of stock - magento

Previously in my Magento store, I had set the Qty for Item's Status to Become Out of Stock in the inventory to 5 under system->configuration->catalog->inventory so that if the quantity of the products reaches to 5 or below it should show as out of stock and it was working properly. Now I want the quantity to be displayed according to the exact number and hence I changed the value of Qty for Item's Status to Become Out of Stock from 5 to 0. But even after changing the products are still showing out of stock when the count reaches 5. I have reindexed all the data and I have even cleared the cache after changing the value. Kindly let me know what should I do to enable the products to show in stock even if the count reaches 5 or below.

Related

How to prevent certain items from being added to the cart first in magento1

As the title I would like to disable prioritization of certain items from being added to the cart In Magento 1.
For example, I want to treat a product with a price of 0 as not being able to put it in the cart, and put the product with a non-zero price first, followed by the product with a price of 0.
Is there any way?

Magento 2.3.2: Product stock status is not automatically updated to Out of Stock on order placed

I have facing issue in admin product stock status Out of Stock once order placed in Magento 2.3.2
When a customer orders an item (and I only have 1 in stock) it would be reserved for them and this item should automatically be shown as out of stock or order as a back order.
But what is happening is that this 1 item in stock won't be removed from website or shown as back order until I mark the first order as shipped.
This is allowing other customer to make a purchase, when there is only 1 and has been sold
Here is screenshot of my settings in admin catalog => inventory :
I see that 'yes' is selected for decrease stock when order is placed but this isn't being applied.
It is only being applied once order is marked as shipped
During this time, other customers can purchase the same product too.
In latest magento version 2.3, the new feature saleable qty has been released.
You can check saleable qty field in products grid.
So this will be decreased after placing an order and the default qty will be decreased afte the shipment.
Can you please check whether are you able to place an order if saleable qty is zero.

KIBANA Split Bar Chart using Sub-Aggregation bucket issue

I am trying to sub-group orders per stock label (e.g: USD/CAD) and then to display its orders' price.
I split the orders chart per sub-group. The sub-group works partially, it doesn't show the right number of orders inside (every sub-group Label should have 40 orders inside but it display 80 orders). Also, the price of each order inside is not displaying the correct price.
So the 2 issues are:
The price of each order inside each sub-group is wrong. They display all the equal same value which is not the correct price. The picture below shows the JSON input data with the correct order price that should be displayed. How can I display the correct value?
And the second issue is the sub-groups show more orders then it should. I have 40 orders inside each label and the number of orders displayed is 80 per sub-group.
Still cant get it after aggregating first per order id, then per Label and in the end summing per order price.
After trying the fix, the price keeps displaying the wrong price per order and also don`t expand the 6 labels as the picture below shows

Magento - products pr page issue

Im setting up a Magento community installation, and im having a weird issue with the settings for showing a particular amounts of products pr page.
Even though i have over 50 products in a category, the first page in the category displays "show 1-9 of total 9 products". So on the first page, the system thinks i have 9 products in total. At the same time, it still show pagination for 4 pages, and if i select "show all products", its show all 50.
So, the problem is that it always think the total amount of products is what the value in "products pr page is set to".
I want it to say: showing 1-9 of total 50 products, not "showing 1-9 of total 9, which really is 50 if you just click next":/
Hope i made myself understood.. Thanks for feedback on this..
Try running a reindex on Category Products.
(admin->system->index management)

How can i automatically change the stock availability in Magento when the inventory is updated?

We have a POS intergration set up to work with our Magento store. Stock figures are updated every few minutes. The issue that we are facing is that when an item goes out of stock (stock at 0), Magento sets the stock availability message to "Out of Stock". The problem is that when the stock figure is updated to a number greater than 0, Magento still shows the item as "Out of Stock", regardless of how many we now have in stock.
Is there a way to automatically change the stock availability message when an item is updated and comes back in stock?
When a product in Magento hits a quantity of 0, the is_in_stock attribute is automatically set to 0.
For your integration, you need to update the is_in_stock attribute to 1 if the quantity is greater than 0 upon import.

Resources