Update displayed prices in the Backend of WordPress
-
Hello,
we have updated all our prices with an custom function. Here we go insert wp_postmeta and search for post_id and the regular prices of the product. Then we start the update. So no problem – everything works fine. The prices are correct in our Products and we do a custom field update, too.
One problem which we cannot fix is that the prices in the woocommerce listing of our products are displayed not correct. Here we have the old prices before we start our custom function update. When we go on the productpage, the prices are correct updated. In the Listing of our Products in the woocommerce Backend the prices are not updated. When we go inside the product and click save (without changing something) the prices in the woocommerce listing are shown corrected.
So it looks like when we do a manual import, we have also to go inside the products and click safe to have the correct displayed prices in the backend product listing, too.
So how we can change the displayed prices in the product listing without doing the step of saving each product manually. I look inside the database and change every value of prices to check if there something changing. But nothing changes the prices in the woocommerce product listing except for saving the products manually.
Thank you for helping
- The topic ‘Update displayed prices in the Backend of WordPress’ is closed to new replies.