Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #4505465
Specific “ON” Rule Fails to Override Universal “OFF” Rule
Open

Comments

  • Jānis started the conversation

    WPC Product Timer Priority Failure: Specific “ON” Rule Fails to Override Universal “OFF” Rule

    Plugin: WPC Product Timer for WooCommerce ([Premium Version])

    I have isolated a logic priority conflict where a specific “Set Purchasable” rule for the current day fails to override the general “Set Unpurchasable” rule, resulting in the product remaining Unpurchasable.

    The issue is not caching, server time, or another plugin. The failure occurs in Health Check Troubleshooting Mode.Failing Test Setup

    The following two-action stack (executed from top to bottom) fails to make the product purchasable on Monday:
    Rule #ActionTime ConditionalDay ConditionalOutcome
    1 (Universal OFF)Set Unpurchasable(None)EverydayCorrectly sets product to OFF
    2 (Specific ON)Set PurchasableDaily time range: 00:00 AM – 11:59 PMWeekly on: Every MondayFails. Product remains OFF (Unpurchasable).

    Why is Rule 2, which is met by the current day and time, not winning the priority battle over the general Rule 1? How can I configure the rules so the specific date/time conditional is prioritized and successfully sets the product as purchasable?

    I switched Mondays to ODD dates (today 13th oct.) and that worked, but not Mondays

    UPDATE: Testing for Tuesday, worked:
    I set Set PurchasableDaily time range: 00:00 AM – 11:59 PMWeekly on: Every Teasday Was Working. Product turned ON (Purchasable).

    Now it seems only Monday was glitching.