• Resolved jurasjo

    (@jurasjo)


    Hi
    I have found some small problem or maybe it is only a matter of better settings on my site.

    When sale price is set for a Woocommerce product and there is set automatic expiration of the price, it expires (I think at 23:59 PM, 5 June).

    SCREEN2

    In my case normal price (fresh cache )should be visible from 00:00.

    But I have noticed that I could see cached version (with sale price) even around 11:00 AM next day (6 June).
    SCREEN1

    Is there some special setting which should be set?

    SCREEN3

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Emre Vona

    (@emrevona)

    hmm. this is so specific setting. you should set cache timeout for the “sale price dates”.

    Thread Starter jurasjo

    (@jurasjo)

    Hmm. Strange.

    So what “twicedally” option do? Maybe I should simply clear All cache for the site more often?

    Or maybe only for URL contains /product/ ? When I cleared the cache it showed a proper price.

    What do You think?

    • This reply was modified 7 years, 9 months ago by jurasjo.
    Plugin Author Emre Vona

    (@emrevona)

    “twicedally” may be enough I think.

    Thread Starter jurasjo

    (@jurasjo)

    “twicedaily” is at specific hours? Like midnight or noon?

    I’m thinking if sale price ends at 23:29 so maybe I should clear cache after midnight? So “twicedaily” should fix my problem but it doses not.

    Everything works so looks like “twicedaily” is ok but I’m looking for some solution for this sale price matter.

    Plugin Author Emre Vona

    (@emrevona)

    you should set “once a day” at 23:35

    Thread Starter jurasjo

    (@jurasjo)

    Ok. THX. One more thing.

    So settings from the SCREEN are my version of “twicedaily” and maybe also covers Woocommerce sale price problem.

    SCREEN1

    • This reply was modified 7 years, 9 months ago by jurasjo.
    • This reply was modified 7 years, 9 months ago by jurasjo.
    Plugin Author Emre Vona

    (@emrevona)

    you should set two rules which are ‘once a day’ with hour and minute. it will be better.

    Thread Starter jurasjo

    (@jurasjo)

    So I set clearing cache at 00:01 and 12:01.

    Should I also keep this “twicedaily” or should I remove it?

    SCREEN

    Plugin Author Emre Vona

    (@emrevona)

    So I set clearing cache at 00:01 and 12:01.

    nice.

    Should I also keep this “twicedaily” or should I remove it?

    yes.

    Thread Starter jurasjo

    (@jurasjo)

    So I removed twicedaily.

    Thanks for help. I will see if this help.

    Plugin Author Emre Vona

    (@emrevona)

    you are welcome.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Woocommerce sale price and cache’ is closed to new replies.