Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 13 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 7 months ago.

Assisted by: Long Nguyen.

Author Posts
October 27, 2023 at 8:25 am #14676099

John

He have the regular price and we put a sale price that will expires tomorrow, everything it's scheduled. After the sale price expires tomorrow the regular price will be change with the sale price. Will not return to the normal, to the regular price.
We also had this issue in the past, you can check this ticket https://wpml.org/forums/topic/scheduled-sale-price-mixes-the-pricing-with-default-language-2/

October 27, 2023 at 9:18 am #14676677

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is the forum ticket. I test this issue on my local host, change the clock time to a future date and do not see the issue when activating WPML. The regular price will be set back after the sale price expires.

Let's observe the issue on the sandbox site and see how it goes.

October 30, 2023 at 10:42 am #14690093

John

Hello,
I have checked the sandbox and the issue persist.
Please check it for yourself and let me know if you need anything else from me.
Waiting for your reply,
Thank you!

October 31, 2023 at 1:13 am #14695967

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

On the sandbox site, there is a code in the file wp-config.php that disables WP Cron

define( 'DISABLE_WP_CRON', true );

I've changed it to "false" and the scheduled price is removed correctly. Can you please make a test again?

November 1, 2023 at 10:18 am #14706513

John

Hello,
I have modified the product price and scheduled.
Wait until tomorrow to see what happens with the price.
Thank you!

November 1, 2023 at 11:52 am #14706991

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

I also created another site on Cloudways hosting to double-check. If you want to test, please get the site credentials in the private reply below.

Thanks.

November 1, 2023 at 1:15 pm #14707795

John

Hello,
I have created a product on the second site.
Tomorrow will see if the issue persists.
Thank you!

November 3, 2023 at 2:29 pm #14726573

John

Hello,
In the 2nd stage, the sale price was removed.

November 5, 2023 at 2:31 pm #14733229

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

On the sandbox site, the sale price was removed also, please check the attached screenshot. So we can see that the scheduled price works properly when WPML activated.

On your live site, you can copy it to a staging site and enable a minimal environment as below:
- Deactivate all plugins except WPML plugins and WooCommerce.
- Switch to a standard theme of WordPress.
and observe the WP cron with the plugin WP Crontrol (https://wordpress.org/plugins/wp-crontrol/) to see how it goes.

Look forward to your reply.
Thanks

Products ‹ Sandbox — WordPress 2023-11-05 21-24-36.png
November 5, 2023 at 3:59 pm #14733439

John

Hi there,

I noticed that you have disabled the wp_cron and it seems to have fixed the issue. I apologize for not testing it earlier on the first sandbox. I have now rescheduled the price and will check back tomorrow or on Tuesday morning.

Regarding the wp_cron, we definitely need a fix for it. Could you please let me know how we can resolve this to work also with wp_cron true?

Thank you!

November 6, 2023 at 3:19 am #14734371

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I noticed that you have disabled the wp_cron and it seems to have fixed the issue

No, the WP Cron should be enabled. The correct code in the file wp-config.php is (notice the name of the constant):

define( 'DISABLE_WP_CRON', false );

Please follow the suggested steps I share above to check the issue on your site https://wpml.org/forums/topic/we-are-having-and-issue-with-the-scheduled-prices/#post-14733229

Look forward to your reply.
Thanks

Cron Events ‹ Sandbox — WordPress 2023-11-06 10-16-57.png
November 17, 2023 at 8:40 am #14832539

John

Hello,
We have created a staging of the live website.
And we still have the issue.
Can I give you access so you can test it for your self?
Also, this is the product I have tested. The regular price it's 3900 and I have tested a scheduled price to 3000. This is how it's the product backend after the scheduled price expired (hidden link) and this is the front-end (hidden link), we really don't understand what it's happening. I will stet again the scheduled price so you can test it tomorrow. This is the product SKU so you can find it easily, ESPglassBB72.
Please let me know,
Thank you!

November 17, 2023 at 8:55 am #14832721

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Yes, you can share your staging site credentials (wp-admin and FTP) in the next reply. Please make a full backup of the site and database, I will deactivate all plugins except WPML, WooCommerce and switch to a standard theme of WordPress (as in the sandbox site) and observe the issue.

Look forward to your reply.
Thanks

November 20, 2023 at 2:21 am #14872445

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

It looks like there is an issue with the price of the product "Semineu electric 3D ElectricSun PAULA GLASS". Even if I deactivate all plugins (including WPML) and leave only WooCommerce activated, the price in the frontend still shows 1083 lei.
Then I fix this by re-updating the product and price in the admin area manually, now you can see the price shows correctly. Please check screenshots attached.

I also set the scheduled sale price to 3000 and observe this issue on your site again.

Thanks.

Semineu electric 3D ElectricSun PAULA GLASS negru Mare L183xH45cm, cu sunet, pe perete, podea sau incorporabil – ElectricSun 2023-11-20 09-16-48.png
Edit product “Semineu electric 3D ElectricSun PAULA GLASS negru Mare L183xH45cm, cu sunet, pe perete, podea sau incorporabil” ‹… 2023-11-20 09-13-34.png

The topic ‘[Closed] We are having and issue with the scheduled prices’ is closed to new replies.