• Resolved Anomn

    (@segurihost)


    Hello.
    We detected a problem (bug) with Woocommerce, specifically with the scheduling of dates for discounts, where the regular price the day after expiration show the discounted price, but without indicating that the product is on discount.

    Example:
    Regular price: $1,500
    Discount price: $1,000
    It shows that it is on sale, correct?

    The day after the expiration, the product is shown with a value of $1,000, but without an offer label. The price to be shown should be $1,500 because the offer expired (this has already been corroborated by 2 people on my team with different products and dates)

    This problem only occurs when the offer expiration date is missed. It does not happen if I manually modify the due date by defining a date before today, therefore this can only be checked by waiting for the day after the due date.

    All the plugins on the site have already been deactivated to test if it was a conflict with another plugin, but it is exclusive to Woocommerce.

    Regards

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @segurihost

    It sounds like the system is still showing sale prices after the expiration of the sale date. Am I right?

    If so, please note that WooCommerce uses WP-CRON to schedule sale prices. Sometimes, it doesn’t work as expected, and that could cause sale prices not to end.

    You can use a plugin like WP Control to check whether the WP-CRON is functioning well on the site.

    The CRON event that triggers the actual pricing changes to the products with scheduled sales is woocommerce_scheduled_sales. You can search for it once you install the plugin and see when it runs. It is possible you’d need to adjust its settings to ensure it runs as you want it to have more control over when the sale price should end. More info: https://woocommerce.com/document/subscriptions/develop/complete-guide-to-scheduled-events-with-subscriptions/#section-4

    I hope this provides some clarity. Please let us know if you have any other questions!

    Thread Starter Anomn

    (@segurihost)

    I ran woocommerce_scheduled_sales manually with your plugin and product is still with sale price without offer label.

    https://rpdeportes.cl/producto/producto-test/

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @segurihost,

    I ran woocommerce_scheduled_sales manually with your plugin and product is still with sale price without offer label.

    I’m reviewing that product you linked but I see its regular price $1.500, not the discounted price (nor its label). Could you set up another test for us to review, please?

    In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • System Status Report?which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs?(if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thanks!
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    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.

    All the best,
    Omar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem (bug) with offer expiration’ is closed to new replies.