Changeset 2376557
- Timestamp:
- 09/07/2020 01:46:29 PM (5 years ago)
- Location:
- woo-price-per-unit/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
woo-price-per-unit/trunk/languages/woo-price-per-unit-cs_CZ.po
r2305604 r2376557 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: WooCommerce Price Per Unit 2.0. 5\n"3 "Project-Id-Version: WooCommerce Price Per Unit 2.0.6\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2020-0 5-15 13:31+0200\n"6 "PO-Revision-Date: 2020-0 5-15 13:37+0200\n"5 "POT-Creation-Date: 2020-09-07 13:04+0200\n" 6 "PO-Revision-Date: 2020-09-07 13:04+0200\n" 7 7 "Last-Translator: administrator <[email protected]>\n" 8 8 "Language-Team: Czech\n" … … 11 11 "Content-Type: text/plain; charset=UTF-8\n" 12 12 "Content-Transfer-Encoding: 8bit\n" 13 "X-Generator: Poedit 2. 3.1\n"13 "X-Generator: Poedit 2.4.1\n" 14 14 "X-Poedit-SourceCharset: UTF-8\n" 15 15 "X-Poedit-KeywordsList: __;_x;_e;_ex;_n\n" -
woo-price-per-unit/trunk/languages/woo-price-per-unit.pot
r2305604 r2376557 4 4 msgid "" 5 5 msgstr "" 6 "Project-Id-Version: WooCommerce Price Per Unit 2.0. 5\n"7 "POT-Creation-Date: 2020-0 5-15 13:31+0200\n"6 "Project-Id-Version: WooCommerce Price Per Unit 2.0.6\n" 7 "POT-Creation-Date: 2020-09-07 13:04+0200\n" 8 8 "PO-Revision-Date: 2017-04-06 16:00-0500\n" 9 9 "Last-Translator: Martin Mechura\n" … … 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "X-Generator: Poedit 2. 3.1\n"15 "X-Generator: Poedit 2.4.1\n" 16 16 "X-Poedit-SourceCharset: UTF-8\n" 17 "X-Poedit-KeywordsList: __;_ x:1,2c;_e;_ex:1,2c;_n:1,2;_nx:1,2,4c;esc_html__;esc_attr__\n"17 "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;esc_attr__;esc_html__;esc_html_e;esc_html_x:1,2c;_nx_noop:1,2,3c\n" 18 18 "X-Poedit-Basepath: ..\n" 19 19 "X-Poedit-SearchPath-0: .\n" -
woo-price-per-unit/trunk/readme.txt
r2305625 r2376557 2 2 Contributors: mechuram 3 3 Tags: woocommerce, price, weight, price customization 4 Stable tag: 2.0. 54 Stable tag: 2.0.6 5 5 Requires PHP: 7.0 6 Tested up to: 5. 46 Tested up to: 5.5 7 7 Requires at least: 4.4 8 8 … … 80 80 **Changelog** 81 81 82 **2.0.6** 83 – Bug-fix – In certain configurations price with taxes was displayed improperly in Cart 84 82 85 **2.0.5** 83 86 – Bug-fix – Improper price display with taxes … … 200 203 == Changelog == 201 204 205 = 2.0.6 = 206 – Bug-fix – In certain configurations price with taxes was displayed improperly in Cart 207 202 208 = 2.0.5 = 203 209 – Bug-fix – Improper price display with taxes -
woo-price-per-unit/trunk/woo-price-per-unit.php
r2305604 r2376557 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. 56 Version: 2.0.6 7 7 Author: Martin Mechura 8 8 Author URI: http://mechcomp.cz 9 9 Text Domain: woo-price-per-unit 10 WC tested up to: 4. 1.010 WC tested up to: 4.4.1 11 11 WC requires at least: 3.0 12 12 … … 588 588 public function custom_cart_price($price_text, $product_data, $cart_key) 589 589 { 590 global $woocommerce; 591 590 592 if (is_null($product_data)){ 591 593 return $price_text; … … 606 608 return $price_text; 607 609 } 608 $round_prices = get_option('_mcmp_ppu_disable_price_rounding') == 'yes' ? false : true; 609 $normal_price = wc_get_price_to_display($product, array('price' => $normal_price)); 610 $round_prices = get_option('_mcmp_ppu_disable_price_rounding') == 'yes' ? false : true; 611 if ( $woocommerce->cart->display_prices_including_tax() ) { 612 $normal_price = wc_get_price_including_tax( $product ); 613 } else { 614 $normal_price = wc_get_price_excluding_tax( $product ); 615 } 616 //$normal_price = wc_get_price_to_display($product, array('price' => $normal_price)); 610 617 $normal_price = $normal_price / $weight; 611 618 $normal_price = $this->price_ratio_calc($normal_price, $product_id);
Note: See TracChangeset
for help on using the changeset viewer.