Changeset 930112
- Timestamp:
- 06/11/2014 06:43:55 AM (12 years ago)
- Location:
- woocommerce-sample
- Files:
-
- 19 added
- 2 edited
-
tags/0.7.1 (added)
-
tags/0.7.1/LICENSE (added)
-
tags/0.7.1/css (added)
-
tags/0.7.1/css/style-admin.css (added)
-
tags/0.7.1/fonts (added)
-
tags/0.7.1/fonts/isifont.eot (added)
-
tags/0.7.1/fonts/isifont.svg (added)
-
tags/0.7.1/fonts/isifont.ttf (added)
-
tags/0.7.1/fonts/isifont.woff (added)
-
tags/0.7.1/images (added)
-
tags/0.7.1/images/sample-icon.png (added)
-
tags/0.7.1/js (added)
-
tags/0.7.1/js/woocommerce-sample.js (added)
-
tags/0.7.1/languages (added)
-
tags/0.7.1/languages/woosample-it_IT.mo (added)
-
tags/0.7.1/languages/woosample-it_IT.po (added)
-
tags/0.7.1/languages/woosample.pot (added)
-
tags/0.7.1/readme.txt (added)
-
tags/0.7.1/woocommerce-sample.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-sample.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-sample/trunk/readme.txt
r886379 r930112 3 3 Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, woocommerce, sample, free sample 4 4 Requires at least: 3.5 5 Tested up to: 3. 8.16 Stable tag: 0.7. 15 Tested up to: 3.9.1 6 Stable tag: 0.7.2 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 56 56 == Changelog == 57 57 58 = 0.7.2 - 11/06/2014 = 59 * added meta info to the sample item ordered 60 58 61 = 0.7.1 - 17/03/2014 = 59 62 * fix shipping methods - only free shipping is showed if available -
woocommerce-sample/trunk/woocommerce-sample.php
r886372 r930112 6 6 * Author: Michele Menciassi 7 7 * Author URI: https://plus.google.com/+MicheleMenciassi 8 * Version: 0.7. 18 * Version: 0.7.2 9 9 * License: GPLv2 or later 10 10 */ … … 51 51 add_filter('woocommerce_shipping_free_shipping_is_available', array( $this, 'enable_free_shipping'), 40, 1); 52 52 add_filter('woocommerce_available_shipping_methods', array( $this, 'free_shipping_filter'), 10, 1); 53 54 add_action('woocommerce_add_order_item_meta', array($this, 'add_order_item_meta'), 10, 2); 53 55 54 56 // filter for Minimum/Maximum plugin override overriding … … 60 62 } 61 63 64 function add_order_item_meta ($item_id, $values){ 65 if ($values['sample']){ 66 woocommerce_add_order_item_meta( $item_id, 'product type', 'sample'); 67 } 68 } 69 62 70 // filter for Minimum/Maximum plugin overriding 63 71 function minimum_quantity($minimum_quantity, $checking_id, $cart_item_key, $values){
Note: See TracChangeset
for help on using the changeset viewer.