Product Icon

Product Add-Ons for WooCommerce

Offer add-ons like gift wrapping, special messages or other special options for your products.

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.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.