Mike Jolley
a8b2a5668f
Added cancel button to shipping zones UI
...
Closes #10754
2016-04-21 16:18:15 +01:00
Mike Jolley
fbca27b3d4
Tweak postcode example text
...
Closes #10755
2016-04-21 12:15:17 +01:00
Matheus Lopes
2c191f5bb7
Enable countries exceptions to Billing and Shipping
2016-04-20 14:55:05 -03:00
Mike Jolley
586587b5ec
Merge pull request #10719 from JeroenSormani/zones-output-tweak
...
Only ouput zones UI when in that section, don't default to it
2016-04-18 09:37:45 -05:00
Mike Jolley
62e6c9dbfa
Merge pull request #10722 from shivapoudel/select-option
...
Fix - Close option as its not the list-item
2016-04-18 06:08:13 -05:00
Mike Jolley
3fcc68e2f8
Replace http hrefs with https
...
Closes #10716
2016-04-18 11:58:12 +01:00
Shiva Poudel
31b5530c3e
Its option not the list-item to close :P
2016-04-18 16:26:51 +05:45
JeroenSormani
f53b59dbc4
Remove unneeded returns
2016-04-18 08:26:24 +02:00
JeroenSormani
88bcaa585c
Only ouput zones UI when in that section, don't default to it
2016-04-18 08:23:37 +02:00
Mike Jolley
1c21505b0b
Make shop page display wording more clear
...
Closes #10699
2016-04-15 15:57:06 +01:00
Mike Jolley
687d4be0bf
Case
2016-03-29 19:51:09 +01:00
Mike Jolley
975c360ae3
Tweak icons and blank slate text
2016-03-29 19:37:02 +01:00
Mike Jolley
5f6aa6c160
Fix modals and ajax events
2016-03-24 19:06:51 +00:00
Mike Jolley
8b53d1a618
Only load modal if supported
2016-03-24 18:31:39 +00:00
Mike Jolley
d3ac3f4073
Modals first pass
2016-03-24 17:26:40 +00:00
Mike Jolley
bea3c66777
Change arrow entity
...
@jameskoster
2016-03-24 14:27:32 +00:00
Mike Jolley
679443c9c9
Zones screen feedback
...
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles
@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley
1549158981
Add 'is_enabled' column to instances table and allow toggle in zones screen
...
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley
0ac7b23a1c
Use one save button and add classname
...
@allendav
2016-03-15 16:21:57 +00:00
Mike Jolley
e22d324be4
Add notice for legacy shipping zones after update
2016-03-15 15:58:03 +00:00
Claudio Sanches
5fbd88489b
Input type for api keys
2016-03-10 14:39:52 -03:00
Shiva Poudel
d567d12b64
Remove colon from tax setting page
2016-03-10 11:32:33 +05:45
Thi
348f9cc235
Fix wrong URL and request duration in webhook logs
2016-03-06 01:24:10 +09:00
Justin Shreve
927941e2ca
Merge pull request #10260 from justinshreve/token-api
...
Payment Token API
2016-03-04 04:34:41 -08:00
Allen Snook
1dbe6c21a0
Add hide_save_button to shipping zones instance template
...
(Like what is done for legacy shipping methods in the
html admin settings view)
2016-03-03 09:44:09 -08:00
Justin Shreve
32eabbc685
Provide a fallback message if copying to the clipboard fails.
2016-03-02 10:13:17 -08:00
Justin Shreve
5d8967c7d7
Prepare a list of payment methods for output on the payment methods "my account" page.
2016-03-01 11:49:40 -08:00
Mike Jolley
efe836dc12
Merge branch 'add/id-based-section-loading-shipping-and-checkout'
2016-02-26 15:26:45 +00:00
Mike Jolley
c3554490b5
Backwards compatibility
2016-02-26 15:26:39 +00:00
Jeff Stieler
346b25d01b
Use ID instead of classname when saving settings for Checkout and Shipping.
2016-02-19 11:46:52 -07:00
Justin Shreve
c2d29e4884
Add a back button on the email notification management screens so you can easily get back to the main listing of emails.
2016-02-18 08:46:06 -08:00
Justin Shreve
608f651133
Fix hierarchy on settings screens.
2016-02-18 08:39:02 -08:00
Jeff Stieler
067b406a5c
Load Shipping settings sections using Shipping Methods’ IDs rather than their class name.
2016-02-17 18:07:14 -07:00
Jeff Stieler
f1a2a5f974
Load Checkout settings sections using Payment Gateways’ IDs rather than their class name.
2016-02-17 18:06:48 -07:00
Claudio Sanches
2de00c61ff
Added account endpoint for customer payment methods
2016-02-16 13:57:46 -02:00
Claudio Sanches
00a0841708
New options for orders and downloads endpoints
2016-02-16 13:50:06 -02:00
Mike Jolley
9be6942f29
Merge pull request #10331 from aelia-co/master
...
Modified scope of WC_Shipping_Method methods
2016-02-16 12:33:46 +00:00
Mike Jolley
3dba3378c2
Merge pull request #10315 from woothemes/layered-nav-wp-query
...
Layered Nav Improvements
2016-02-12 11:59:40 +00:00
Diego Zanella
e938fdddd2
Modified scope of WC_Shipping_Method methods
...
* A "private" scope is rarely required, and it prevents extensibility. Having methods accessible by descendant classes is vital, especially when breaking changes are introduced.
2016-02-11 17:25:38 +00:00
Mike Jolley
bc83a04c6c
Feedback from Justin
2016-02-11 11:13:48 +00:00
Mike Jolley
d598e6ffad
Tooltip
2016-02-10 14:11:32 +00:00
Mike Jolley
75c264837f
Justins feedback/code tidy
2016-02-10 13:21:16 +00:00
Mike Jolley
114cbdd450
Autoload tweaks
2016-02-09 23:26:22 +00:00
Mike Jolley
78296adf67
Missin list element
2016-02-05 15:45:32 +00:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley
8c85183d6e
[2.5] Remove case check from tax rate country REGEX
2016-01-27 12:10:36 +00:00
Claudio Sanches
e87007d5cd
[2.5] Fixed tax row autocomplete htmlentity, closes #10149
2016-01-23 14:32:09 -02:00
Claudio Sanches
6277d96770
Stop direct access
2016-01-19 15:57:03 -02:00
Mike Jolley
b788418283
Load shipping methods during save
...
Fixes #10072
2016-01-14 13:24:02 +00:00
Mike Jolley
d821b87f8a
Move shipping classes to custom UI in shipping section
2016-01-13 16:52:28 +00:00
Mike Jolley
8064b35350
Add methods from zones screen
2016-01-13 15:04:10 +00:00
Mike Jolley
31be09073f
Show zones if no matching shipping method is found
2016-01-13 12:41:54 +00:00
Mike Jolley
c8025705c1
Text changes
2016-01-13 12:38:31 +00:00
Mike Jolley
6a8819fc23
Text changes
2016-01-13 12:31:10 +00:00
Mike Jolley
68e30f0f38
Zones page text
2016-01-13 12:12:58 +00:00
Claudio Sanches
636e2389aa
Changed … to …
2016-01-12 14:03:01 -02:00
Mike Jolley
70a9eb3807
Fix pagination + sorting on tax screen
...
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley
accc62d5ef
Breadcrumb tweak
2016-01-08 12:10:40 +00:00
Mike Jolley
cef3ec7e37
Indicate disabled methods
2016-01-08 11:57:49 +00:00
Mike Jolley
ad11042afd
[2.4] Don't unforce SSL on secure blogs
...
@claudiosmweb can you check this and cherry pick if good to go?
Fixes #10029
2016-01-08 11:27:18 +00:00
Fredrik Forsmo
72f062b452
Improve docblock comments in WC_Settings_* classes
...
* Added comments to properties that don’t have any.
2016-01-05 16:22:18 +01:00
Mike Jolley
97d47fb576
Move zones to main settings
2016-01-05 11:23:15 +00:00
Mike Jolley
62ca37f651
Merge branch 'master' into shipping-zones
...
# Conflicts:
# includes/admin/class-wc-admin-assets.php
# includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Andrew Benbow
d4f4e7625c
Correct a to an
...
SSL is pronounced "es es el" and so requires an not a, see Use 6 here http://www.englishpage.com/articles/a-vs-an.htm
2015-12-29 20:35:13 +00:00
Mike Jolley
8aec02f625
Remove shipping select box option, tidy up logic and add filters from #9797
...
closes #9797
2015-12-16 13:00:16 +00:00
Fulvio Notarstefano
d7d70298c5
#9857 change get_class to
2015-12-16 14:25:17 +08:00
Mike Jolley
9818796d3e
Removing selection priority
...
This option was added so you could sort methods in a custom order, but
choose a different default.
Doing this per zone would add extra complexity, and this has also
proven problematic when a method registers multiple rates.
This commit removes usage of the setting. We should use the display
order and choose the top method by default. It think this balances ease
of use with control.
2015-12-15 15:49:35 +00:00
Mike Jolley
63f8eebd6a
Started on refactoring settings for instances
2015-12-11 16:41:38 +00:00
Claudio Sanches
987b93c87e
Changed (Untitled) to (no title) #9806
2015-12-09 16:28:34 -02:00
Claudio Sanches
2a5b785e50
Show (Untitled) in settings when payment method don't have title
...
Fixed some coding standards too.
Closes #9806
2015-12-09 15:11:59 -02:00
Mike Jolley
d585e65e5a
Use cache and invalidation for taxes
...
Closes #9712
2015-12-02 15:53:54 +00:00
Mike Jolley
1756aa8fca
Use help tip function in email table.
2015-11-03 16:12:13 +00:00
Mike Jolley
1b38f380af
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/emails/class-wc-email.php
2015-11-03 16:09:01 +00:00
Mike Jolley
1e945026b3
Tweak screen description
2015-11-03 15:41:31 +00:00
Mike Jolley
8457dbb57d
Display if emails are manually sent
2015-11-03 15:40:10 +00:00
Mike Jolley
d95f863d79
Show descriptions inline
2015-11-03 15:04:29 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
5f65494e27
Restructure emails admin to avoid listing emails along the top
...
Moves emails to a table on the settings screen.
Also tweaks some section text and moves descriptions to tooltips for a
less cluttered interface.
2015-11-02 16:27:00 +00:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Mike Jolley
d5409f5b5e
Merge conflicts
2015-10-08 13:28:25 +01:00
Mike Jolley
0197a99065
Merge branch 'issue/8587'
...
Conflicts:
assets/css/admin.css
assets/css/woocommerce.css
includes/admin/class-wc-admin-assets.php
includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley
8ee479afd7
Remove unused input
2015-10-08 13:25:01 +01:00
Mike Jolley
ac02ec290a
Improved styling and wording
2015-10-08 13:18:00 +01:00
Claudio Sanches
91c30310ee
Fixed stock email recipient description typo, closes #9199
2015-09-22 13:06:10 -03:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Caleb Burks
c53248896e
Allow for multiple email recipients
...
Allow multiple emails to be used for the low stock / out of stock email.
2015-09-01 07:11:41 -05:00
Mike Jolley
5e984faebc
Allow HTML in store notice.
2015-08-24 16:15:16 +01:00
George Stephanis
81804d8d3b
Don't show the `pre` displaying the changes by default.
2015-08-14 11:07:35 -04:00
George Stephanis
2aa1650f54
Rearrange things to get ajax working.
...
Spread them out throughout WooCommerce.
2015-08-13 17:49:59 -04:00
George Stephanis
ec287f116f
Add ajax submission processing.
...
Not quite finished yet, as the add_action isn’t catching.
2015-08-13 16:57:54 -04:00
George Stephanis
3a87b98ba6
Rewrite onAddNewRow for Backbone models.
2015-08-13 14:10:47 -04:00
George Stephanis
b4bd433342
Update the unsaved message to give better data.
2015-08-13 11:58:09 -04:00
George Stephanis
e10064d0fe
Revert back to passing in array values. We can indexBy in JS
2015-08-12 17:17:39 -04:00
George Stephanis
f77b77e335
New template for empty set.
2015-08-12 15:29:17 -04:00
George Stephanis
220550621a
Populate the search field value attribute
2015-08-12 14:38:25 -04:00
George Stephanis
3ee43646ae
Pass in the current page's base url to js for appending.
2015-08-12 14:18:49 -04:00
George Stephanis
4aedda5eb8
Indent the template file properly.
2015-08-12 13:52:04 -04:00
George Stephanis
56218b0824
Add in a notification for unsaved changes.
2015-08-12 12:59:13 -04:00
George Stephanis
8dc2126718
Update the tablenav so the gotos are never out of range.
2015-08-12 12:59:12 -04:00
George Stephanis
837931f99a
Check for truthiness.
...
This avoids silliness where `’0’` evaluates to true. Just parse it as
an int and evaluate that.
2015-08-12 12:59:11 -04:00
George Stephanis
2a0951e4e5
Add more data attributes to the rows and fields.
2015-08-12 12:59:11 -04:00
George Stephanis
1a066ebbe0
Swap to associative array for model.
2015-08-12 12:59:11 -04:00
George Stephanis
ce7cb1f65d
Add a `beforeunload` event to prompt before leaving with unsaved changes.
2015-08-12 12:59:10 -04:00
George Stephanis
8a416f105b
Should be comparing to `'1'` not `1`.
2015-08-12 12:59:10 -04:00
George Stephanis
ddba588987
Migrate the logic and queries out of the template file.
...
Move them where they belong, in the class that calls it.
2015-08-12 12:59:09 -04:00
George Stephanis
5f4cbf78d0
Remove the legacy pagination.
2015-08-12 12:59:09 -04:00
George Stephanis
4df13e6ffb
Don't set them for unexistent rates.
2015-08-12 12:59:09 -04:00
George Stephanis
7bebbaff9e
Pagination now works by first, prev, next, last.
...
Still need to get number based pagination working.
2015-08-12 12:59:09 -04:00
George Stephanis
cf59aec17d
Add in and populate pagination template.
...
The buttons don’t actually do anything yet, but it outputs accurately
and inherits core styles.
2015-08-12 12:59:09 -04:00
George Stephanis
be4c7db8bd
Pass rates in as an array, not an associative array, so it's an Array in js.
2015-08-12 12:59:08 -04:00
George Stephanis
c9a1ba2f39
A default placeholder to show until the rendering code replaces it.
2015-08-12 12:59:08 -04:00
George Stephanis
536402c183
Insert placeholder divs for search and pagination.
2015-08-12 12:59:07 -04:00
George Stephanis
308c7f8676
Whitespace tweaks
2015-08-12 12:59:07 -04:00
George Stephanis
676af1f308
JSHint fixes.
...
The other advantage of splitting js out of php files — jshint can run
on it! :) :) :)
2015-08-12 12:59:07 -04:00
George Stephanis
52d4ea822c
Extract 'No Rows Selected' string
2015-08-12 12:59:07 -04:00
George Stephanis
973348d6ad
Whitespace tidy!
2015-08-12 12:59:06 -04:00
George Stephanis
18293cf365
Extract the autocomplete for states and countries data.
...
Localize it!
2015-08-12 12:59:06 -04:00
George Stephanis
5d5a64753d
Migrate csv columns to localize script.
2015-08-12 12:59:06 -04:00
George Stephanis
39749c4563
Move js in from php template file.
2015-08-12 12:59:06 -04:00
George Stephanis
a63ef876d7
Rename and tweak how js is registered.
...
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-12 12:59:06 -04:00
George Stephanis
0ed5f40fa2
Prefix template name with `wc-`
...
Good call, @mikejolley
2015-08-12 12:59:06 -04:00
George Stephanis
a59ed70774
Big changeover to JS templating for the table.
...
Switching over to building the table with JS — wp.template.
We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.
I’ve also started building stuff in an external JS file rather than
straight on the page. Will continue migrating things to it and
localizing as needed.
Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.
More coming.
2015-08-12 12:59:06 -04:00
George Stephanis
cb4e3cb774
Tax Rate Search: First whack.
...
This is by no means complete. A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-12 12:59:05 -04:00
Mike Jolley
ddd97b64c3
Remove white space to fix appearance of new rows
...
Fixes #8730
2015-08-06 11:38:46 +01:00
Shiva Poudel
0d1c2dc4dc
Fix - calls for esc_*
2015-08-06 02:04:21 +05:45
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis
29d9a7da8c
Found two missing `esc_js()` calls as well.
2015-08-05 14:10:10 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches
054dfe0c7b
Changed default Underscore's template for wp.template in API Keys
2015-08-05 15:02:55 -03:00
Fredrik Rossland
841beb95a6
Found a typo, "Permissons"
...
Changed "Permissons" to "Permissions"
2015-08-01 19:42:10 +02:00
Claudio Sanches
eebd47ecf8
Improved truncated key description
2015-07-16 15:45:00 -03:00
Claudio Sanches
e0be5a2e9f
Added truncated consumer key and last access fields in woocommerce_api_keys table
2015-07-16 15:42:00 -03:00
Beka Rice
54e00fc84a
Fix typo while creating API keys
...
adds missing closing parentheses around user email:
https://cldup.com/pvTlBGBMot.png
2015-07-15 17:30:41 -04:00
Mike Jolley
ed451f278f
Unused var
2015-07-15 16:37:29 +01: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
14c88b49bc
Tweak option labelling
2015-06-23 12:20:13 +01:00
Mike Jolley
4a9c2aece9
Update option wording
2015-06-17 14:27:42 +01:00
Mike Jolley
33c298fea7
Experiment with appending geolocation to query string to prevent caching
2015-06-17 12:12:49 +01:00
Evan Mattson
2181cd1d26
rename $email_id to $email_key
...
`$email_id` here is not the same as `$email->id`, renaming to show this, and for consistency with similar code
2015-06-16 21:37:54 -04:00
Evan Mattson
c9c48b718e
identify current section by email key to be consistent
2015-06-16 21:36:36 -04:00
Tamara Zuk
bd7f07d29f
[2.3] Fix bug introduced in #8365
...
my mistake 🙀
2015-06-16 14:46:54 -04:00
Claudio Sanches
dde7bc699b
Merge pull request #8385 from jobthomas/master
...
Copy edit shipping settings
2015-06-16 10:54:19 -03:00
Job
fd5fec705b
Copy edit shipping settings
...
users > customer's
2015-06-16 15:51:36 +02:00
Mike Jolley
09fb3a604b
[2.3] Small tweak to use email ID rather than classname directly
...
#8365
2015-06-16 14:47:03 +01:00
Tamara Zuk
92c6d3d649
[2.3] Email settings save tweak
...
Allows emails to use a single common class as is done in Order Status
Manager
2015-06-13 10:15:58 -04:00
Claudio Sanches
4698111dd2
Hide api key fields when generate a new keys
2015-06-08 20:22:49 -03:00
Claudio Sanches
51c5ef6b20
Removed extra <p>
2015-06-08 19:45:14 -03:00
Claudio Sanches
89ddda9ff6
Added new api key generation methods
2015-06-08 19:41:35 -03:00
Mike Jolley
1e3fcd0e6d
[2.3] Avoid initialising classes when saving
2015-05-29 17:38:25 +01:00
Claudio Sanches
f503cda874
Improved hold stock input width, closes 8233
2015-05-27 14:26:12 -03:00
Claudio Sanches
e106d57947
Merged #8021
2015-05-18 16:53:04 -03:00
Claudio Sanches
c4d4a623b5
Improved the API Keys table list, added actions and fixed the links
2015-05-18 15:33:36 -03:00
Claudio Sanches
2f5df9c185
Added methods to generate and edit API keys
2015-05-18 15:23:05 -03:00
Matt Harrison
b656ef904a
minor grammar fix. "an SSL" to "a SSL"
2015-05-18 09:03:51 -04:00
Claudio Sanches
c49ab520b8
Created page to edit and create keys
2015-05-16 00:09:29 -03:00
Claudio Sanches
2689d8b51e
Created api keys table list
2015-05-15 23:03:24 -03:00
Claudio Sanches
572712cb52
Improved the access to the keys/apps section in api tab
2015-05-15 17:14:31 -03:00
Claudio Sanches
eb6f25b47b
Moved some webhooks admin methods from WC_Settings_Rest_API to WC_Admin_Webhooks class
2015-05-15 16:50:30 -03:00
Claudio Sanches
7b8a24924a
Moved api settings to API tab
2015-05-15 16:35:50 -03:00
Claudio Sanches
0edbfeaa35
Created new Settings API tab and moved the old webhooks tab to API tab
2015-05-15 16:12:11 -03:00
Gabor Javorszky
fc66b8581a
Adds a filter to webhook topic dropdown values
...
Fixes #8098
2015-05-02 02:31:24 +01:00
Mike Jolley
c9ce3baceb
Load settings from DB in case of re-run
2015-04-29 14:55:12 +01:00
Mike Jolley
9f65d2a1fc
Added priorities for shipping methods to give more control over defaults.
...
Closes #7871
2015-04-13 15:32:57 +01:00
Mike Jolley
aed8ae36cf
woocommerce_calc_discounts_sequentially option to keep backwards compatible
2015-03-24 15:51:53 +00:00
Mike Jolley
e81d2182f5
Sanitize tax_rate_id when saving taxes in the backend to prevent potential SQL injection.
2015-03-13 12:44:04 +00:00
Mike Jolley
af2407a089
Move default customer location to general settings tab.
2015-03-06 14:45:04 +00:00
roykho
af940dcf72
fix taxes save issue when page is paginated
2015-02-18 22:52:34 -08:00
Claudio Sanches
69f44e1d4f
Changed get_bloginfo("title") to get_bloginfo("name")
2015-02-18 13:47:30 -02:00
Claudio Sanches
0979fc475a
Merge pull request #7466 from qTranslate-Team/master
...
replace get_bloginfo('name') with get_bloginfo('name', 'display')
2015-02-18 13:44:49 -02:00
Mike Jolley
470b259a8a
Don't download GeoIP Database until geolocation option is enabled in settings.
2015-02-18 12:53:24 +00:00
John Clause
6c9f863c04
replaced get_bloginfo('name') with get_bloginfo('name','display')
2015-02-17 20:56:18 -07:00
Claudio Sanches
1a3617c55b
Improved the select fields in webhooks ui
2015-01-30 10:31:43 -02:00
Claudio Sanches
f7e24c0b77
Fixed more typos
2015-01-29 01:31:03 -02:00
Mike Jolley
b289c9446c
WC_INSTALLING constant - don't create options for any gateways/shipping methods during install.
2015-01-23 13:05:38 +00:00
Claudio Sanches
ffbafbf652
Prevent errors in webhook log display
2015-01-21 14:25:33 -02:00
Mike Jolley
7f2a6b5e41
Fix pagination by preventing old query args from being re-added to the link
...
Fixes #7164
2015-01-20 09:43:56 +00:00
Mike Jolley
33e046a4d0
Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
...
Closes #7151
2015-01-19 13:19:44 +00:00
Claudio Sanches
26ea24ae4c
Removed useless data-tip in webhooks save button
2015-01-15 09:44:29 -02:00
Claudio Sanches
9c52a70597
Fixed webhooks status description
2015-01-13 22:09:54 -02:00
Claudio Sanches
695b04be61
Fixed conflits
2015-01-12 16:02:46 -02:00
Claudio Sanches
9a6dc0bf41
Added select2 for all settings fields
2015-01-12 15:45:47 -02:00
Mike Jolley
50c6e1e4a0
select2 settings
2015-01-12 16:29:01 +00:00
Claudio Sanches
f3e5c03b38
Repositioned the "move to trash" and "save" buttons
2015-01-12 09:27:09 -02:00
Claudio Sanches
052380e191
Added webhooks search field
2015-01-09 22:41:33 -02:00
Claudio Sanches
c71869cd6e
Added method to create webhooks on settings page
2015-01-09 16:21:19 -02:00
Claudio Sanches
2626275782
Edit and deleted webhooks
2015-01-09 15:42:01 -02:00
Mike Jolley
f18b2c6c93
Added and enqueued select2 to admin
2015-01-09 16:39:10 +00:00
Claudio Sanches
03193b867b
Creted new webhooks edit interface
2015-01-08 16:34:30 -02:00
Claudio Sanches
baca07f9d2
Added webhooks table list views
2015-01-06 22:02:33 -02:00
Claudio Sanches
3c038e613f
Created initial webhooks table list in settings page
2015-01-06 17:24:32 -02:00
Mike Jolley
054d499636
Made checkout JS more modular
2015-01-06 17:49:22 +00:00
Mike Jolley
5b31745061
Add geolocation option for default address
2014-12-23 17:33:10 +00:00
Claudio Sanches
24cfef046e
Fixed the email settings save method
2014-12-12 10:48:55 -02:00
Mike Jolley
8b4332a037
Refactors to shipping tax rate methods
2014-11-21 13:06:33 +00:00
Mike Jolley
f088f81dcf
Optimise tax rate importer and use same code as tax settings class
2014-11-20 18:41:51 +00:00
Mike Jolley
1ec8dabf8a
Added method for expanding postcode ranges
2014-11-20 17:08:17 +00:00
Mike Jolley
97d241c33c
Moved delete tax rate rule
2014-11-20 15:46:07 +00:00
Mike Jolley
7472a722b2
Corrected format_ methods
2014-11-20 15:43:40 +00:00
Mike Jolley
ce1a9b84c7
Redo construct and move settings/html to separate files
2014-11-20 15:03:45 +00:00
Mike Jolley
4fd8cd63cb
Split up save_tax_rates() method
2014-11-20 11:11:08 +00:00
Mike Jolley
c70c232e2c
Optimised save tax rate logic
2014-11-20 00:51:06 +00:00
claudiosmweb
8eeb6fc204
Removed more some unused code
2014-11-19 22:43:09 -02:00
Bryce
71909a7c72
Update default for 'Default Product Sorting' option
2014-11-17 15:37:02 +07:00
Nicola Mustone
fc2429549e
Improved Shop Page Display option
...
I tweaked the text of the second option in Shop Page Display because i guess it confuse users that only read "Show subcategories". What about main categories?
I'd like to change also "Show both" to "Show all". What do you think?
2014-11-12 15:01:17 +01:00
Mike Jolley
9e53b3fb33
Clear shipping transient on save
...
Closes #6723
2014-11-11 16:22:29 +00:00
James Koster
57809bc017
coding standards
2014-11-11 15:47:14 +00:00
James Koster
ecb5c77eae
coding standards
2014-11-11 14:40:13 +00:00
James Koster
0321fc79d1
yoda
2014-11-11 14:31:27 +00:00
James Koster
7fd28c1295
order. #6639
2014-11-11 14:29:54 +00:00
James Koster
c153a62406
Products setting tab. #6639
2014-11-11 14:25:46 +00:00
Mike Jolley
83fb26e30d
Dump chosen select option. Closes #6593
2014-11-11 12:12:28 +00:00
James Koster
5c04007605
products settings tab. #6639
2014-10-31 19:07:04 +00:00
claudiosmweb
861a34c348
Removed the frontend styles setting #6589
2014-10-21 20:12:39 -02:00
Mike Jolley
1af90cd169
Only show integrations subnav when there are multiple integrations.
2014-10-16 15:53:12 +01:00
Mike Jolley
b340fd68ae
Made tax importer expand postcode ranges.
...
Closes #4463
2014-10-10 15:18:47 +01:00
Gustavo Bordoni
c335d223d8
Remove all calls to get_page(), as it was deprecated on WordPress 3.5.0
2014-10-06 06:55:45 -03:00
Mike Jolley
c8ffee57ff
[2.2] Ensure rate is double
...
Fixes #6442
2014-10-03 10:11:14 +01:00
James Koster
e92be69c9c
Increase default product image sizes. closes #5480
2014-09-26 17:49:27 +01:00
claudiosmweb
2a255de172
changed the LESS compiler to SCSS compiler #5606
2014-09-22 15:30:07 -03:00
shivapoudel
ab52b93592
Absolute path and Indentation fix for includes/admin/settings/*.php :)
2014-09-21 01:40:47 +05:45
Mike Jolley
aee2b62c85
Added woocommerce_get_settings_ID filters.
...
Closes #6231
2014-09-12 12:20:06 +01:00
claudiosmweb
ec9e08ba7d
Fixed images crop option and wc_get_image_size() function
...
Reported in http://wordpress.org/support/topic/hard-crop
@mikejolley
2014-09-11 21:22:30 -03:00
Gerhard
deb440ffcf
Escape js array labels.
...
Closes #6222
2014-09-11 15:43:41 +02:00
James Collins
1e251d36b6
Fix query error when saving tax rates
...
Fixes #6202
2014-09-10 09:47:09 +08:00
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Tamara Zuk
a0ce139f7d
Coding Standards: Admin - Settings
...
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability
@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Mike Jolley
6bd38b5ce0
Tweak display order text
2014-08-15 11:50:53 +01:00
Mike Jolley
c465c7235d
Merge branch 'credit-notes'
...
Conflicts:
includes/abstracts/abstract-wc-order.php
includes/class-wc-order-factory.php
includes/class-wc-post-types.php
includes/wc-formatting-functions.php
includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Mike Jolley
4a306beef5
Max 100 taxes displayed, but show text input
2014-07-23 11:30:06 +01:00
Michael Silber
32bd50c379
Move TFOOT to after TBODY element throughout templates and classes
2014-07-10 21:50:51 -04:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
3fbd036b81
Merge pull request #5573 from claudiosmweb/5180-tax-validation
...
Add validation for country code in tax settings
2014-05-28 09:32:09 +01:00
claudiosmweb
9ea27fd416
fixed another variable overwritten in tax settings
2014-05-27 19:12:11 -03:00
claudiosmweb
c4cb110af1
fixed a variable overwritten in tax settings
2014-05-27 19:08:18 -03:00
claudiosmweb
322c655e61
added validation for country code in tax settings, closes #5180
2014-05-27 19:03:21 -03:00
Mike Jolley
b1c32f5724
Merge pull request #5508 from lukecarbis/issue-5506
...
Fix notice that occurs from external function call
2014-05-22 09:56:01 +01:00
Luke Carbis
97fb685b2e
Add $tax_rate_id to the added and updated actions
...
Resolves https://github.com/woothemes/woocommerce/issues/5524
2014-05-21 09:14:49 +10:00
Luke Carbis
97bf6053e3
Fix notice that occurs from external function call
...
Resolves https://github.com/woothemes/woocommerce/issues/5506 .
This checks to see if the `integrations` array has any values before getting it's current value.
2014-05-19 15:57:34 +10:00
Luke Carbis
d4a38f0009
Add action hooks when saving tax rates
...
Resolves https://github.com/woothemes/woocommerce/issues/5505 .
Add three actions when tax rates are saved:
* woocommerce_tax_rate_added
* woocommerce_tax_rate_updated
* woocommerce_tax_rate_deleted
2014-05-19 15:49:35 +10:00
Mike Jolley
0dd8dcba2e
Update label for force http option Closes #5474
2014-05-15 12:40:08 +01:00
Mike Jolley
247bd15f68
Change label and add description Closes #4698
2014-04-23 14:24:20 +01:00
Mike Jolley
dbe99502bb
Merge pull request #5331 from corsonr/settings-tooltip
...
fixed incorrect "order received" endpoint tooltip
2014-04-22 16:34:50 +01:00
Remi Corson
7e955ba1f9
fixed incorrect order received endpoit tooltip
2014-04-17 11:03:47 +02:00
Akeda Bagus
2a97f07d47
Typo fix.
2014-04-15 22:56:35 +07:00
claudiosmweb
89772bf970
fixed some coding standards in includes/admin/settings/class-wc-settings-general.php
2014-04-08 19:11:33 -03:00
claudiosmweb
a969952266
added validation when save the frontend colors, closes #5298
2014-04-08 19:08:04 -03:00
Mike Jolley
f869e12aac
[2.2] Missed one file for #5284
2014-04-08 16:29:29 +01:00
Mike Jolley
937db45913
[2.2] Merge ship to billing and billing only options
...
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
Mike Jolley
31ee45cf5c
Add context to strings #4986
2014-03-03 14:47:19 +00:00
Mike Jolley
c7a129c7fd
Only show settings link if method has_settings
2014-02-20 15:16:53 +00:00
Mike Jolley
8c7996e5b1
Fix notice when left blank
2014-02-17 14:54:06 +00:00
Mike Jolley
f9251084d9
woocommerce_get_sections_{id} filters Closes #4817
2014-02-17 14:30:42 +00:00
Mike Jolley
2dd73acb9d
Context for checkout string Closes #4646
2014-02-06 15:46:18 +00:00
Mike Jolley
98e49e3b99
Delete tax rates transients on settings save Closes #4503
2014-01-20 16:00:15 +00:00
Coen Jacobs
1f5f163916
Added option to hide Returning customer message. Closes #4220
2013-12-05 10:43:46 +01:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Coen Jacobs
e41687ba4f
Merge pull request #4138 from woothemes/api-implementation
...
API implementation merge to master
2013-11-19 00:53:11 -08:00
Max Rice
001ce0fc3e
Add option to enable/disable API
...
Part of #4055
2013-11-19 03:01:46 -05:00
Max Rice
dcdca4d4d2
Remove API settings tab
...
Part of #4055
2013-11-19 03:01:14 -05:00
Brent Shepherd
b69066405b
Move /add-payment-method/ endpoint to /my-account/
...
Part of #3396
2013-11-05 13:02:13 -08:00
thenbrent
1bbe03d139
Add new /checkout/add-payment-method/ endpoint
...
Part of #3396
2013-11-03 16:53:14 -08:00
Max Rice
4daaf22304
Add REST API settings stub
2013-11-03 18:55:34 -05:00
Mike Jolley
19fcf30a66
Option to limit reviews to purchasers. Closes #4021
2013-10-31 17:37:36 +00:00
James Koster
5aeaed888e
Add review form no longer opens in lightbox. closes #3804
2013-10-28 09:56:03 +00:00
RistoNiinemets
a96cb41c83
no dot use ucfirst nor ucwords for method title
2013-10-25 18:44:17 +03:00
RistoNiinemets
ae00faecdd
change ucwords to ucfirst
2013-10-25 13:53:53 +03:00
Mike Jolley
8ce3b8dd57
Filters for shortcode tags
2013-10-23 14:55:18 +01:00
Mike Jolley
05d9c0e045
Rename menus, removed woocommerce_
2013-10-22 17:26:18 +01:00
Mike Jolley
ff928714a2
Keep leading zeros. Closes #3930
2013-10-22 16:28:44 +01:00
Gregory K
c577e75a6b
class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT)
2013-10-01 08:13:14 -04:00
Mike Jolley
79942691ec
Init no longer needed - settings API refreshes settings Closes #3858
2013-10-01 10:12:16 +01:00
Mike Jolley
49656cb250
Notice fix Closes #3859 .
2013-10-01 10:12:15 +01:00
Mike Jolley
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
b93df4e706
Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506 .
2013-09-19 16:31:54 +01:00
Mike Jolley
9f323af118
Fix paging total closes #3774
2013-09-13 12:28:20 +01:00
Mike Jolley
b6e7eeb241
Support no default and make the gateway/shipping tables more streamlined. Closes #3472
2013-09-09 17:16:02 +01:00
Mike Jolley
64d87cbef7
Make logout an endpoint. Still hide it from menus. Fixes #3589
...
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley
126068de8c
Moved options around for checkout settings.
2013-08-22 12:11:19 +01:00
Mike Jolley
3d078397b3
Merge branch 'Re-organise-settings'
...
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
sjeden
0617d6e7f0
Remove need for min-width:150px; in shipping setting admin panel.
...
Doesn't affect the standard WordPress display but if you are using MP6 makes extended width radio buttons.
2013-08-16 12:12:47 +01:00
Mike Jolley
b62747a810
Tax rates pagination. Closes #3036 .
2013-08-13 12:18:24 +01:00
thenbrent
64832114ee
Replace deprecated $wpdb::escape() with esc_sql()
...
Conflicts:
admin/settings/settings-tax-rates.php
2013-08-09 14:56:39 +02:00
Mike Jolley
918e30d0e6
compare to lowercase class name
2013-08-08 12:38:26 +01:00
Coen Jacobs
930cd6125f
Make sure end( gets a variable to work around strict notices
2013-08-07 14:15:53 +00:00
Mike Jolley
110d8c3026
BACS, Cheque, COD Closes #3172
...
Rather than merging them (they are all different) I've refactered code
and added multiple accounts in BACS which has had multiple requests.
2013-08-05 16:34:54 +01:00
Mike Jolley
7ad7f31e3b
Remove last pipe
2013-08-05 16:34:54 +01:00
Mike Jolley
03af136986
Separate ship to options from sell to. Closes #3215 .
2013-08-02 16:54:28 +01:00
Mike Jolley
7dee74ba9e
Show settings only when needed #3165
2013-08-02 12:27:31 +01:00
Mike Jolley
9462dde581
Settings refactoring
2013-07-26 15:36:28 +01:00
Mike Jolley
8a6ff89bf1
Moved admin directory and moved some functions to classes (ongoing refactor)
2013-07-24 17:01:36 +01:00