Minor filter issues / requests, and bookable product issue
-
1) I need to be able to completely replace the Woocommerce add to cart message, rather than append it. If I use the wc_add_to_cart_message filter to remove it, it wipes the whole lot including the Stock Reducer text, so I have to manually remove the text from Woocommerce itself.
2) I have found it useful to add the expire_soonest variable to both the wc_csr_expire_notice_additional and the wc_csr_expire_notice filters (by adding $item to the end of the filter on line 315 and $this->expire_items() to the filter on line 326). This allows me to notify the user of exactly how long they’ve got before items start being removed, rather than just telling them that there are items expiring sooner. Thought you might want to consider adding this to a future version.
3) I am using this with the Woocommerce Bookings plugin, but in order for it to work I have to remove the stock management check from the conditionnal on line 471, as it’s not possible to enable stock management for bookable products (as far as I know).
Just some things to consider. Thanks for this great plugin ??
- The topic ‘Minor filter issues / requests, and bookable product issue’ is closed to new replies.