Currently, the WPC Product Timer plugin does not change the actual product data. For example, when you set a product to be out of stock, it only changes the displayed stock quantity of that product; it does not change the inventory quantity in the database. This ensures that the inventory quantity returns to its correct state when the timer expires. Therefore, it cannot change the 'woosb_discount' value as you wish.
However, we've provided the 'woosb_get_discount_percentage' filter hook directly in the WPC Product Bundles plugin so you can adjust the discount percentage value to your liking.
Hi, could you please add the possibility to set a timer for product custom fields?
For example, I would like to set a timer for WPC Product Bundles discounts which are saved here: "woosb_discount".
This would be really helpful. What do you think?
Thanks
Hi Rudolf,
Thank you for that idea.
Currently, the WPC Product Timer plugin does not change the actual product data. For example, when you set a product to be out of stock, it only changes the displayed stock quantity of that product; it does not change the inventory quantity in the database. This ensures that the inventory quantity returns to its correct state when the timer expires. Therefore, it cannot change the 'woosb_discount' value as you wish.
However, we've provided the 'woosb_get_discount_percentage' filter hook directly in the WPC Product Bundles plugin so you can adjust the discount percentage value to your liking.
Best regards,
Dustin