Changeset 2377110
- Timestamp:
- 09/08/2020 10:41:32 AM (5 years ago)
- Location:
- woo-price-per-unit/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
woo-price-per-unit/trunk/readme.txt
r2376574 r2377110 80 80 **Changelog** 81 81 82 **2.0.7** 83 - Backward compatibility for recent bug-fix 84 82 85 **2.0.6** 83 86 - Bug-fix - In certain configurations price with taxes was displayed improperly in Cart … … 203 206 == Changelog == 204 207 208 = 2.0.7 = 209 - Backward compatibility for recent bug-fix 210 205 211 = 2.0.6 = 206 212 - Bug-fix - In certain configurations price with taxes was displayed improperly in Cart … … 291 297 == Upgrade Notice == 292 298 299 = 2.0.7 = 300 - Backward compatibility for recent bug-fix 301 293 302 = 2.0.6 = 294 303 - Bug-fix - In certain configurations price with taxes was displayed improperly in Cart -
woo-price-per-unit/trunk/woo-price-per-unit.php
r2376557 r2377110 4 4 Plugin URI: https://mechcomp.cz/price-per-unit-pro/ 5 5 Description: WooCommerce Price Per Unit allows the user to show prices recalculated per units(weight) and do some customization to the look of the prices 6 Version: 2.0. 66 Version: 2.0.7 7 7 Author: Martin Mechura 8 8 Author URI: http://mechcomp.cz … … 609 609 } 610 610 $round_prices = get_option('_mcmp_ppu_disable_price_rounding') == 'yes' ? false : true; 611 if ( $woocommerce->cart->display_prices_including_tax() ) { 611 //Pre Woo 3.3.0 compatibility - display_prices_including_tax is declared there. 612 if (method_exists($woocommerce->cart,'display_prices_including_tax')) { 613 $incl_tax = $woocommerce->cart->display_prices_including_tax(); 614 } else { 615 $incl_tax = 'excl' !== $woocommerce->cart->tax_display_cart; 616 } 617 if ( $incl_tax ) { 612 618 $normal_price = wc_get_price_including_tax( $product ); 613 619 } else {
Note: See TracChangeset
for help on using the changeset viewer.