PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Sale Price not used during sale

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I recently installed BEAR v2.1.4.7 on my WP ver 6.9 running WC v10.4.3
First, while important for me to get this working, it is not critical for me.
Everything seemed to work to set up a sale beginning on Dec. 31 @ 00:00:01
I was able to set sale prices on all 387 products. I set the 'Sale Time From' to Dec 31 @ 00:00:01 and the 'Sale Time to' to Jan 2 @ 00:00:01
Basically for a 2 day sale. I was monitoring the site when the sale kicked in just after midnight on Dec 31st. This morning.
All prices crossed off, products were flagged as 'sale' and the sale prices, um, showed the regular price of the products! Not the sale prices I had set!
I have no idea why. I went to the first product and cleared the 'Sale Time From' block. Checked the website and the sale price showed.
So I simply bulk edited all products, clearing the start date/times and the sale was on. All sale prices showed correctly. But why?
Not knowing if the sale would end correctly, I also cleared the end date/time blocks and I will manually bulk edit out the sale prices at the end.
This is not how I want it to work. Right now I am busy with all this but since you guys are all on vacation, I will play around with it some after the sale and see if I can figure it out. Just wanted to give you a heads up in case you had any ideas. If I find anything, I'll make another post here and let you know.

Hello

Thanks for the detailed report! This is indeed strange behavior.
Possible causes:

- Caching - Do you have any caching plugins or CDN? They can cache prices and not refresh when scheduled sales start
- Timezone mismatch - Check WordPress timezone settings vs server time
- Third-party conflict - Could be theme or another plugin interfering with WooCommerce price display logic
- WooCommerce 10.4.3 compatibility - Possible issue with how newer WC handles scheduled sales

Good news:
We're preparing an update for BEAR (not sure if it's related to your issue though). We tested scheduled sales on our side with WooCommerce + BEAR + Storefront theme - everything worked correctly.

Could you test with one product on your end? Just to isolate if it's a conflict with your theme or other plugins. Try with:

- Single test product
- Temporarily disable caching
- Simple scheduled sale (1-2 days ahead)

To get link full version place please actual purchase code of the plugin into the private area of this ticket:
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png

This will help us understand if it's environment-specific or a BEAR issue.
Let us know what you find!

Thanks for responding.

I did some testing on a few products. Everything seemed to work okay.
But I set 3 products to expire the sale on Jan 6, and 1 product to expire on Jan 7th.
The 3 expired yesterday, the 6th and the prices showed the normal price.
The last product, that should have expired today, is still showing on sale. No idea why.
Again, the other 3 were set to expire yesterday, and did. This last one should have returned to normal price today, and did not.
I'm leaving it alone to see if it expires tomorrow. If so, I'm going to test again just to make sure I'm not losing my mind. :)

I'm hopeful maybe it's a theme issue although I use a WooCommerce theme, so . . .
Maybe your update will clear it up. Maybe it's the black helicopters flying overhead . . . kidding!
I'll let you know tomorrow what happens. Please let me know when the update is ready! Thanks!!

 

Hello

Anything can happen, there are no exceptions :)

Lest start from updated code, I placed link into the secret area of this ticket, you can download and install updated version please, then do the same tests you did to see how is it, and if still no luck create clone of your site using duplicator https://wordpress.org/plugins/duplicator/ and in the secret area provide wp-admin access there + instructions what exactly you did and why its wrong. Also I have an idea maybe you have installed cache plugin with enabled object cache - disable object cache and never use it as its distorts current data and mislead to errors

Welcome!

 

Got the NEW code installed. Tried it.

First, I use no cache programs. I've had an issue with them and WooCommerce before. No page cache and no object cache.
I should also give you more background on my site. I make and sell 3D rendered and AI generated graphics but market only to a very select audience right now. My site is self hosted on my own home server. I could afford a server, I could not afford a FAST server. So my site may seem a little slow at times ( no cache ). This doesn't concern me right now simply because of my selected customer base.

That said, I found that if I enter a Sale Price first, then the start and end dates for the sale, when I go check the site, the Sale Price is displayed as if the sale had already started. I'm not sure when or how often your script checks the data before updating the product but I did clear the browser cache, closed the browser, re-opened the site and it still showed the sale price.

So, I deleted that data and the site returned to normal.
I next entered a stop date, then a start date, then the sale price. Checked the site and it is still showing the normal price. So, start date is tomorrow and I'll see if the product goes on sale. I'm assuming it will.

Two things.
Does your script only check and update things once a day? Or more often? It was not surprising that when I entered the sale price first, the site updated right away and put the product on sale, but when I updated the start date for that product, it did not update and restore the normal price until the start date.

Second, I downloaded your duplicator that you suggested and will try it out later today. I have a couple of appointments this morning. If all goes well I will post back later with admin credentials.

Hello

Thank you for detailed report, we investigated it and made little fix, use the same share link please and update the plugin, now should work with no matter what you et firstly.

What we fixed:

The problem you experienced was related to the order of data entry. When you set the sale price FIRST, then add the start/end dates AFTER, the sale was being applied immediately and wasn't properly synced with the scheduled dates until WooCommerce cron ran.

We've now added instant synchronization - when you save sale dates, the plugin immediately checks if the sale should be active NOW based on the current timestamp, and updates the actual product price accordingly. This means you no longer have to wait for cron to run.

About WordPress Cron:

WordPress doesn't use a true system cron - it's a"pseudo-cron" that only triggers when someone visits your website. This means:

  • If your site has low traffic, scheduled tasks might be delayed
  • On your self-hosted home server setup with limited visitors, cron might not fire at all or fire very irregularly
  • This is why you experienced delays in scheduled sales starting/ending

Our fix bypasses this limitation by forcing immediate price synchronization when you set the dates.

Please test:

  1. Download and install the updated version from the same secret link in this ticket
  2. Test the exact scenario that failed before:
    • Set a sale price first
    • Then add start date (tomorrow) and end date
    • Check if the site still shows regular price (it should!)
    • Wait until tomorrow to see if sale starts correctly

Let us know how it works! This should solve both the immediate application issue and reduce dependency on WordPress cron timing.

p.s. I downloaded your duplicator - its not my plugin, but its works fine :)

Awesomesauce!

Your latest fix solved everything. Seems to be working fine and I could not be happier. Your support is fantastic and I can't wait to try my next large scale sale. Thanks again for this fantastic plugin and your support. My 5-Star review was well deserved! You can close this out and I'll post back if I have any further issues. Thanks again!

Thank you and Welcome ❤️