Magento reindex price product


When you save a product in Magento’s backend admin console application, the system will reindex the price information for that product.
But when you use $product->save() then that product will don’t update immediately to frontend, concrete is in list in search result

Magento reindex price product
To resolve this issue, you only need running this code after save() function:

After, reload and get result

Thanks for whatching!

About Author

Là một developer rất ham chơi nhưng không ham hố, không ham chơi nhưng rất thích cầm đầu...

Leave a Reply

%d bloggers like this: