• Resolved dreamh4ll

    (@dreamh4ll)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hello @dreamh4ll,

    It sounds like instead of going through the whole page generation process every time, you have caching that holds a copy of the page and then serves that cached version.

    So, can you clear the cache from any caching plugin you may have installed? You could also temporarily disable those plugins both on your site and at the server. Here’s an article with more information: https://mhthemes.com/support/knb/solving-common-cache-issues-on-wordpress-websites/.

    Hope this will help solve the issue.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions!

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update displayed prices in the Backend of WordPress’ is closed to new replies.