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

Okay
  Public Ticket #3400923
Stock status doesn't change inside product
Closed

Comments

  •  1
    Mykhailo started the conversation

    I had your plugin installed on my old site, however now I'm developing new site with WPML and latest Woocommerce and the product status doesn't change on time inside product, but in the list of products in admin it is shown as in stock nrMeDhn.png

    k9EwrvM.png

    9eRKVD4.png

  •  767
    Janilyn replied

    Hi Mykhailo,

    Thanks for contacting us here. The issue you're having is because you have configured the timers incorrectly.

    Now, let's try "interpreting" the actions, then from now on, you will be able to set up timers easily for your needs.

    1. For your information:

     - Default actions ( set visible, set in stock, set purchasable) cannot work alone like that. It must follow another universal reverse action (set hidden/set out of stock/ set unpurchasable with the conditional = Everyday).

    - Each action can only carry 1 date and 1 time part.

    So there are two ways for you to set it up for that action:

    Method 1 - Use reverse actions: 

    - Action 1: Set out of stock, daily before time: 11:00 AM

    - Action 2: Set out of stock, daily after time: 4:00 PM

    Method 2 - Combine a universal reverse action & default action(s): 

    - Action 1: Set out of stock, Everyday.

    - Action 2: Set in stock, daily time range: 11:00 AM - 4:00 PM

    As reverse actions can work alone, so you directly set the conditionals to make the product out of stock as in method 1 then when the time goes beyond that, your product will automatically be in stock. 

    In method 2, action 1 will cover all the actions under it, so that action must always stay on top of your action list. Then if your product has more complicated conditionals, such as visible on every Tuesday and Thursday for example, you can easily add more actions under in the same way as action 2 above. Action 1 will revert your product back to out of stock outside the configured date and time of "set in stock" actions.

    2. When you need to configure timers for different weekdays, please separate them. Only 1 weekday per action is permitted. If you would like to make your product out of stock on the weekend, it should be:

    - Set out of stock, weekly on every Saturday

    - Set out of stock, weekly on every Sunday

    3. If you would like to make your products only available within that time range and on weekdays, you will need to combine them as:

    - Action 1: Set out of stock, Everyday.

    - Action 2: Set in stock, Weekly on Every Monday, then click Add time and choose "Daily time range: 11:00 AM - 4:00 PM"

    - Action 3: Set in stock, Weekly on Every Tuesday, then click Add time and choose "Daily time range: 11:00 AM - 4:00 PM"

    - Action 4: Set in stock, Weekly on Every Wednesday, then click Add time and choose "Daily time range: 11:00 AM - 4:00 PM"

    - Action 5: Set in stock, Weekly on Every Thursday, then click Add time and choose "Daily time range: 11:00 AM - 4:00 PM"

    - Action 6: Set in stock, Weekly on Every Friday, then click Add time and choose "Daily time range: 11:00 AM - 4:00 PM"

    With this method, you can easily add more actions under the Action 1 to define complex conditions when products should be available. you can use the Duplicate button to configure the timers faster.

    You can set it up in a shorter way if you don't need to add more conditions:

    - Action 1: Set out of stock, Everyday.

    - Action 2: Set in stock, daily time range: 11:00 AM - 4:00 PM

    - Action 3: Set out of stock, weekly on every Saturday

    - Action 4: Set out of stock, weekly on every Sunday

    You can learn more about how to set up timers properly here: https://doc.wpclever.net/woopt/.

    Best regards.


    Janilyn T. - WPClever Support Agent