• Resolved svaldesm

    (@svaldesm)


    Hi,

    I have a store with 50,000 products. We increased our server for a sales event to a HUGE machine (64gb RAM, 16core) so hardware-power wasn’t an issue.

    We scheduled sale prices for 15,000 products. When the day changed and the cron function ran, the products were looking like sales (with red price and strikethrought) BUT the price that was shown was the regular one.
    I checked the products and the sale prices were indeed added and the dates were accurate, but some prices were changing while others were not.

    If I entered a product and saved it (without making any changes) the price will be shown correctly.

    I re-run the cron several times without any positive results. I re-imported and some product prices changed, while others didn’t. After a while they started to change until all of them did, but the behavior was completely strange.

    Redis was disabled and all kinds of cache were flushed several times, so it wasn’t a cache thing.

    Is there any explanation for this? We will need to change prices again (when the sale ends) and I’m afraid it won’t work as expected again.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @svaldesm,

    Sorry to hear about the trouble you ran into with the sale prices. You mentioned that you can edit a product and save it, without making changes, and it will update correctly. Sometimes when that happens it indicates that the new prices weren’t copied over to the Product Lookup table correctly.

    You can test to see if that is the case by going to WooCommerce > Status > Tools and clicking on the button there to regenerate the product lookup table.

    product lookup table

    After the table is regenerated, check the prices and see if they’ve updated. Let us know what you find out.

    Cheers

    Hi @svaldesm,

    It’s been a while since we heard from you, so I’m marking this thread resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please let open up a new topic and we’ll be happy to help out.

    Take care

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scheduled sales behaving wrong’ is closed to new replies.