WooCommerce Bookings integration: include data attributes in filter

I use the filter `woocommerce_product_addons_option_price` in `select.php` to change the price of an addon dynamically. However, when I add this product to the cart / use it with WooCommerce Bookings the old price is taken into account.

Theory: I change the price with the filter, but the data attributes are not affected by this.

Non invasive solution: Change `$option[‘price’]` –> `$price`in line 24 in `woocommerce-product-addons/templates/addons/select.php`

Author

Current Status

Open

Last updated: September 7, 2017

0 comments

Log in to comment on this feature request.