• Hi

    Since upgrading to WC3.0, every time a sale ends for a product with variations in it, the sale does not end correctly. I.e. the item stays on sale until I manually re-save the product itself. Then it’s fine and the sales banner and strike-throughs disappear.

    It works fine for products with no variations – sales on them end correctly.

    I’ve checked that the wc_scheduled_sales() cron is running every day.

    
    ### WordPress Environment ###
    
    Home URL: https://www.redacted
    Site URL: https://www.redacted
    WC Version: 3.0.5
    Log Directory Writable: ?
    WP Version: 4.7.4
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: nginx/1.4.6
    PHP Version: ? 5.5.9-1ubuntu4.21 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 32 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.35.0
    OpenSSL/1.0.1f
    
    SUHOSIN Installed: –
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.0.5
    WC Database Prefix: wp_wp_
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (20) ###
    
    All-in-One Event Calendar by Time.ly: by Time.ly Network Inc. – 2.5.19
    Capability Manager Enhanced: by Jordi Canals
    Kevin Behrens – 1.5.7
    
    Contact Form 7: by Takayuki Miyoshi – 4.7
    Disable Emojis: by Ryan Hellyer – 1.5.3
    Fusion Builder: by ThemeFusion – 1.1.6
    Fusion Core: by ThemeFusion – 3.1.6
    WooCommerce Paymentsense Gateway: by Paymentsense – 2.3.0
    Remove Query Strings From Static Resources: by Speed Up My Website
    Your WP Expert – 1.4
    
    Slider Revolution: by ThemePunch – 5.4.2
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri
    Inc – 1.8.3
    
    Transients Manager: by Pippin Williamson – 1.7.3
    Cookie Consent: by Catapult_Themes – 2.3.2
    WooCommerce: by Automattic – 3.0.5
    Yoast SEO: by Team Yoast – 4.7
    WP Crontrol: by John Blackbourn & contributors – 1.5
    WP Broken Link Status Checker: by Pau Iglesias
    SeedPlugins – 1.0.4
    
    WP-Optimize: by David Anderson
    Ruhani Rabin
    Team Updraft – 2.1.1
    
    Easy Forms for MailChimp: by YIKES
    Inc. – 6.3.18
    
    YITH WooCommerce Deposits and Down Payments Premium: by yithemes – 1.1.0
    WordPress Zero Spam: by Ben Marshall – 3.0.6
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #2304 - /shop/buy-online/
    Cart: #2265 - /cart/
    Checkout: #2267 - /checkout/
    My account: #2269 - /my-account/
    
    ### Theme ###
    
    Name: Client Child Theme
    Version: – 0 is available
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Avada
    Parent Theme Version: 5.1.6
    Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: Avada/woocommerce/cart/cart.php
    Avada-child/woocommerce/checkout/form-checkout.php
    Avada/woocommerce/checkout/form-pay.php
    Avada/woocommerce/checkout/review-order.php
    Avada/woocommerce/checkout/thankyou.php
    Avada/woocommerce/loop/loop-start.php
    Avada/woocommerce/single-product/add-to-cart/variable.php
    Avada/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    Avada/woocommerce/single-product/short-description.php
    Avada/woocommerce/single-product/tabs/additional-information.php
    Avada/woocommerce/single-product/tabs/description.php
    
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Sales with variations do not end sale correctly.’ is closed to new replies.