Commit Graph

5094 Commits

Author SHA1 Message Date
Mike Jolley 2f3cf18013 filter empty values during upgrade 2015-07-13 09:41:28 +01:00
Nicola Mustone 35d8572e0b new outdated templates tutorial link 2015-07-13 09:36:36 +02:00
Claudio Sanches eea72552f6 Added support for Jetpack Markdown in product short description, closes #8563 2015-07-11 21:35:47 -03:00
Max Rice a9f6f7fdfe Introduce woocommerce_order_full_refunded_status filter
In certain situations it’s undesirable to automatically change the
order status for an order that has been fully refunded. For example, an
order processed with a credit card whose charge has been authorized but
not yet captured is typically voided, not refunded since no funds have
actually been transferred. In that case, it’s ideal to allow gateways
to change the status to cancelled instead.
2015-07-10 19:51:02 -04:00
Claudio Sanches 9e4dc64f55 Merge branch 'master' of github.com:woothemes/woocommerce 2015-07-10 20:17:27 -03:00
Claudio Sanches b8a28bdab4 Admin variations - Cancel button reset the default form values
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley 86e0aa106e bulk_edit 2015-07-11 00:05:13 +01:00
Mike Jolley 3ec4003bbb Move add variation button and toolbars 2015-07-11 00:04:16 +01:00
Patrick Garman fb84486798 Update WC_Logger to include actions on add & clear methods
This allows for easy integrating with third party logging services.
2015-07-10 14:26:30 -05:00
Claudio Sanches a01660cbba Fixed WC_API_Products::clear_product() 2015-07-10 10:49:18 -03:00
Mike Jolley 157503a6d3 20 not 25 2015-07-10 14:26:39 +01:00
Mike Jolley 3446880705 Translators 2015-07-10 14:02:52 +01:00
Mike Jolley 33877624ac Welcome page content 2015-07-10 14:00:21 +01:00
Mike Jolley 2834eff221 Merge branch 'variations-8477'
Conflicts:
	assets/js/frontend/add-to-cart-variation.js
	assets/js/frontend/add-to-cart-variation.min.js
	assets/js/frontend/add-to-cart.min.js
	assets/js/frontend/checkout.min.js
	assets/js/frontend/geolocation.min.js
2015-07-10 11:37:05 +01:00
Mike Jolley 1cd2e558ed Remove add to cart variable from links
Closes #8554
2015-07-10 11:17:21 +01:00
Mike Jolley 8bf4469178 woocommerce_save_account_details_errors action
Closes #8532
2015-07-10 11:11:51 +01:00
Mike Jolley ea82ce9f06 Tweak display name to only change if set to an email
#8532
2015-07-10 11:09:14 +01:00
Mike Jolley a976d8e2ba Don't add hyphens for cities
Closes #8547
2015-07-10 11:02:08 +01:00
Mike Jolley d5a74203c2 Only need one numeric check 2015-07-10 10:48:29 +01:00
nils-fredrik@maksimer.no 3c2b54b360 Fix for #8550 2015-07-10 09:32:10 +02:00
Claudio Sanches 76b312b9e7 Use always min.js files on admin 2015-07-10 01:32:30 -03:00
Claudio Sanches 987a789367 Admin variations - Show link all variations bulk action 2015-07-10 00:49:52 -03:00
Claudio Sanches 3394277a86 Admin variations - Set _stock_status when link all variations 2015-07-09 18:28:02 -03:00
Claudio Sanches c5ae7b18c7 Created woocommerce_ajax_save_product_variations action 2015-07-09 17:43:46 -03:00
Claudio Sanches a64695b7f5 Admin variations - Added new triggers and removed data-product_id 2015-07-09 17:31:48 -03:00
Claudio Sanches ce08c336e9 Updated jquery.payment.js to version 1.2.4 2015-07-09 17:17:34 -03:00
Mike Jolley 506b5ef3f6 Set total after update_shipping
Based on add_shipping code Closes #8475
2015-07-09 16:48:34 +01:00
Mike Jolley 60193c7861 Pass product to woocommerce_ajax_variation_threshold 2015-07-09 16:31:46 +01:00
Mike Jolley 30b01ff9b6 Add filter to force price display 2015-07-09 16:15:05 +01:00
Mike Jolley 85855938ec woocommerce_ajax_variation_threshold 2015-07-09 16:04:46 +01:00
Mike Jolley 5f8a5bcb63 We don't need get_transient_version for children transients because other products do not affect this. 2015-07-09 16:02:26 +01:00
Mike Jolley eaed944048 Tweak template logic to load variations when needed 2015-07-09 15:58:58 +01:00
Mike Jolley 65f19d5ca7 Ajax variation handling
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Claudio Sanches c4c2ebd038 Merge pull request #8536 from vicky081/patch-3
Class attribute added for Checkbox in settings
2015-07-09 11:43:00 -03:00
Vignesh 91faacb4c9 Return the output directly
Return the output directly instead of variable.
2015-07-09 13:39:29 +05:30
Mike Jolley 34f149bcbf Replace dash with colon 2015-07-08 23:51:44 +01:00
Mike Jolley fedfa53754 expand/close 2015-07-08 23:46:19 +01:00
Mike Jolley a219243e60 Move link all variations to bulk actions 2015-07-08 23:34:21 +01:00
Mike Jolley 8161cbd095 Change remove buttons into links 2015-07-08 23:08:07 +01:00
Claudio Sanches 042a6644e2 Ajaxify grouped product option, closes #7751 2015-07-08 18:38:17 -03:00
Claudio Sanches 89cef9ff02 Introduces methods to WC_Abstract_Order for get customer full name
New methods:

WC_Abstract_Order::get_formatted_billing_full_name()
WC_Abstract_Order::get_formatted_shipping_full_name()

closes #8535

cc: @mikejolley
2015-07-08 18:00:19 -03:00
Claudio Sanches 94aa610dc0 Admin variations - Prompt when changing page #6995 2015-07-08 17:45:19 -03:00
Claudio Sanches 0a820f055f Admin variations - Add cancel changes button #6995 2015-07-08 16:10:45 -03:00
Claudio Sanches 064af9a54c Admin variations - Split the save button from the link/add buttons #6995 2015-07-08 15:53:00 -03:00
Claudio Sanches bed51c6d0c Removed code test on WC_AJAX::save_variations() 2015-07-08 14:17:33 -03:00
Claudio Sanches ffef95f56f Fixed ajax variations posted data 2015-07-08 13:55:29 -03:00
Vignesh 8a4e7e34ca Update class-wc-admin-settings.php 2015-07-08 20:42:04 +05:30
Vignesh 4eef4bf846 Class attribute added for Checkbox in settings
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Mike Jolley 38d0d0dcad trim invalid chars from sum 2015-07-08 11:02:20 +01:00
Mike Jolley d19a7d2c2e Shipping debug for all users 2015-07-08 11:02:20 +01:00
Claudio Sanches 2ec12a7985 Prevent errors when variation don't have sale price dates 2015-07-08 04:05:08 -03:00
Claudio Sanches 843a55a6b5 Admin ajax variations 2015-07-07 20:53:36 -03:00
Claudio Sanches c03ea5625d Fixed the delete all variable products action 2015-07-07 19:51:50 -03:00
Claudio Sanches 4f3fb07dc9 Added new styles for variable pagenav 2015-07-07 19:06:51 -03:00
Claudio Sanches bbe3cb5b1b Added bulk variation edit for increase and decrease prices 2015-07-07 17:35:21 -03:00
Claudio Sanches 8b681fddf7 Created bulk edit actions for variable sale schedule 2015-07-07 16:39:59 -03:00
Claudio Sanches e69d172f6c Fixed bulk variation edit and added cases to save regular and sales prices 2015-07-07 16:07:09 -03:00
Claudio Sanches 11ca22ef1a Created _wc_save_product_price() private function 2015-07-07 16:06:34 -03:00
Mike Jolley 85dcee63ae Flat rate shipping costs should ignore virtual items.
Closes #8506
2015-07-07 10:41:56 +01:00
Claudio Sanches 268a696918 Initial bulk edit variations actions 2015-07-06 22:50:35 -03:00
Claudio Sanches de01133142 Save only updated/edited variations and fixed the variations sync and product cache/transients 2015-07-06 19:07:01 -03:00
Claudio Sanches af0b786104 Improved relative path check #8503 2015-07-06 15:02:15 -03:00
Claudio Sanches e888294caa [2.3] Fixed download URL for relative paths, closes #8503 2015-07-06 15:00:04 -03:00
Claudio Sanches ffd63efbe2 Merge pull request #8513 from paulwilde/woocommerce-form-field
Refactor woocommerce_form_field to remove duplication.
2015-07-06 14:07:33 -03:00
Mike Jolley fd6fd817a2 Merge pull request #8516 from Sk-Shaikat/master
Refund deleted hook parameter fix
2015-07-06 18:57:39 +02:00
Claudio Sanches 47eb3c5deb Merge pull request #8523 from adnanoner/master
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
2015-07-06 13:52:35 -03:00
Mike Jolley 6676ed08fa 500 response on IPN fail
Closes #8519
2015-07-06 17:48:46 +01:00
adnanoner 725e3ee4e0 Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Mike Jolley 270eb785da Merge pull request #8522 from shivapoudel/wp_json_encode
Encode pointers into json, with some sanity checks
2015-07-06 18:07:02 +02:00
Mike Jolley e908055f31 Only check changelog for woothemes plugin URI plugins
Closes #8520
2015-07-06 16:02:34 +01:00
Mike Jolley 439ce9eed2 Merge branch 'save-fields-refactor-8495'
Closes #8495
2015-07-06 15:31:43 +01:00
Mike Jolley 2440717f72 live -> interactive 2015-07-06 14:52:41 +01:00
Shiva Poudel 3d328c92c4 Method should be conditional_includes 2015-07-06 15:34:31 +05:45
Shiva Poudel ba2afde068 Encode pointers into json, with some sanity checks 2015-07-06 15:30:10 +05:45
Mike Jolley 792536bd8e Prevent white space in report
Closes #8499
2015-07-06 10:18:23 +01:00
Claudio Sanches ae18af8cc7 Added method to save variations via ajax 2015-07-06 01:50:20 -03:00
Claudio Sanches 2dc0ef3f86 Added method to set the pagenav fields when add and remove variations 2015-07-06 01:09:36 -03:00
Claudio Sanches c3b5ad2337 Refactored the link all variations, remove variation and add variation methods 2015-07-05 23:55:08 -03:00
Claudio Sanches ee437bb646 Improved the navigation and tested if variations have some edition 2015-07-05 22:31:56 -03:00
Claudio Sanches 3de8405cc9 Created variations ajax pagination 2015-07-05 22:00:38 -03:00
Claudio Sanches b16b026647 Load initial variations when click on variations tab 2015-07-05 20:19:45 -03:00
Mike Jolley 18c6a940f1 Merge branch 'onboarding'
Conflicts:
	assets/css/admin.css
	assets/css/select2.css
	assets/css/woocommerce-layout.css
	assets/css/woocommerce.css
	assets/js/admin/order-backbone-modal.min.js
	includes/admin/class-wc-admin-help.php
	includes/admin/class-wc-admin.php
	includes/admin/views/html-admin-page-status-report.php
	includes/admin/views/html-notice-install.php
	includes/admin/views/html-notice-template-check.php
	includes/admin/views/html-notice-theme-support.php
	includes/admin/views/html-notice-tracking.php
	includes/class-wc-install.php
	includes/class-wc-language-pack-upgrader.php

includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Mike Jolley 1257343006 Added missing locales based on popularity (from tracker) 2015-07-04 22:35:23 +01:00
Mike Jolley 45d89438c7 Ensure cart item key is set 2015-07-04 15:25:08 +01:00
Mohaiminul Islam 653bb17414 Add new parameter on refund deleted hook
This hook parameter dose not helps to get order id when trigger in action due to delete that post. This should add '$order_id' as parameter
2015-07-04 15:22:19 +06:00
Mohaiminul Islam 64f2e2bed0 Refund deleted hook parameter fix
This hook parameter dose not trigger in action due to delete that post. This should set '$order_id' as parameter
2015-07-04 14:17:05 +06:00
Paul Wilde e62291963f Set featured image labels for product image. 2015-07-03 20:57:16 +01:00
Paul Wilde 5c5e6fb015 Refactor woocommerce_form_field so that the container, label and description are not repeated for every field type. 2015-07-03 20:37:47 +01:00
Claudio Sanches 3d59933d6b Created initial methods to load variations by ajax 2015-07-02 17:42:22 -03:00
Andrew Wikel 968586f2ed Update to reflect current PayPal menu structure
Just update instructions to be more accurate.
2015-07-01 14:53:16 -05:00
Mike Jolley 02464c62cf Revised HELP tabs
Added links to education partners (@jobthomas) and included WooCommerce
101 videos in context.
2015-07-01 15:22:43 +01:00
Mike Jolley f779166bd1 onboarding site links #7829 2015-07-01 13:38:24 +01:00
Mike Jolley 84f0b541ed Tweak wording and US states 2015-07-01 13:30:34 +01:00
Mike Jolley 7d1a016502 Adjust sales report to deal with partial shipping refunds and full refunds 2015-07-01 12:11:21 +01:00
Mike Jolley 99b96daf70 Wording for inc/ex prices 2015-06-30 14:06:36 +01:00
Mike Jolley 049c95e724 Filter all item data
Closes #8361
2015-06-30 13:40:32 +01:00
Mike Jolley dc00921ced Merge pull request #8486 from justinshreve/get-price-suffix-price-param
Add $price and $qty parameters to get_price_suffix
2015-06-30 12:59:43 +02:00
Justin Shreve eb85cd1682 Add $price and $qty to get_price_suffix so custom values can be passed into get_price_including_tax and get_price_excluding_tax 2015-06-29 19:24:48 +00:00
Justin Sainton 4d5d018a34 Deprecate PHP4 constructor usage in widgets. This is deprecated in upcoming PHP versions. 2015-06-29 11:46:03 -07:00
Claudio Sanches c13409150f Fixed tests for get_woocommerce_currencies()
@mikejolley
2015-06-29 15:13:42 -03:00