Claudiu Lodromanean
12952ebcd0
Update coupon meta box with new date handling
2017-03-13 15:06:44 -07:00
Aristeides Stathopoulos
70ee7ae7ea
Fix some PHPCS errors
2017-03-07 19:57:28 +02:00
Caleb Burks
e782760011
Clean up
...
These lines, so long ;p
2017-02-25 02:27:38 -06:00
Caleb Burks
21da6ee31c
Hide coupon free shipping conditionally
2017-02-25 02:16:30 -06:00
Mike Jolley
34d03e524a
woocommerce_date_input_html_pattern filter
...
Closes #13289
2017-02-23 12:57:33 +00:00
Claudio Sanches
e42e2a3335
Replace woocommerce_coupon_code filter by wc_format_coupon_code()
2017-02-22 14:40:24 -03:00
Beka Rice
24b586c18f
Fixes coupon styles so admin CSS applies
2017-02-21 21:29:06 -05:00
Kathy
c30b1c1bb3
Coupon tweaks ( #13222 )
...
* pass coupon to applied/removed JS trigger
* add coupon id and coupon object to action hooks in admin metabox
2017-02-17 11:58:15 +00:00
Jaydeep Rami
615ba59ebb
Fixed issue #12986
2017-01-26 23:21:34 +05:30
Claudio Sanches
022d4fdac4
Coupon expiry date do not allow multiple date formats
2017-01-14 00:10:51 -02:00
Beka Rice
b8c7d7e771
Fixes undefined index notices with empty select2
2017-01-03 09:16:58 -05:00
Mike Jolley
96877dbb25
Fix product search inputs
2016-12-21 13:23:26 +00:00
Claudio Sanches
1ed2f9d136
Fixed undefined index while saving coupons on admin screen
2016-11-24 15:43:01 -02:00
Rami Yushuvaev
4375618438
i18n context functions ( #12156 )
...
* Replace some context function with translation comments
* Remove two more context function
* Replace another context function with translation comments
2016-10-24 08:31:07 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Justin Shreve
2cc04663ee
Don't run expiry date through date() if it isn't set. Also don't do a string comparison check on an integer.
2016-09-30 14:16:41 -07:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Mike Jolley
402d0ff077
Merge branch 'master' into pr/11797
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
corsonr
8cb17c1923
branch conflict fix
2016-08-30 14:30:05 +02:00
Mike Jolley
df35845d4d
wc_get_coupon_id_by_code
2016-08-30 11:43:53 +01:00
Aristeides Stathopoulos
56fd004a72
WordPress.Arrays.ArrayDeclaration.FirstIndexNoNewline
2016-08-27 06:56:09 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
ed01282340
Made data match schema
2016-08-26 15:20:44 +01:00
Mike Jolley
210763e536
use CRUD in admin
2016-08-26 14:50:17 +01:00
Claudio Sanches
14eeee15ee
Welcome to docs.woocommerce.com
2016-07-19 07:30:31 -03:00
rspublishing
63c0445957
Replacing link
2016-06-30 09:25:39 +02:00
rspublishing
1a0f5ae723
Updates the includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php file
2016-06-30 09:16:52 +02:00
Fredrik Forsmo
da2e0ac950
Add missing phpdoc param tags to all WC_Meta_Box_* classes
2016-01-04 22:31:36 +01:00
Mike Jolley
4cf699ed0a
Update coupon label
...
Closes #9748
2015-12-03 12:02:04 +00:00
Mike Jolley
7b45525dc5
Clear coupon cache on save
2015-11-13 23:15:29 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02: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
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
Claudio Sanches
08c8fad1fc
Fixed standards for #7842
2015-04-13 12:31:18 -03:00
Nathaniel Schweinberg
7de9f02574
fixed variable typo
2015-03-28 09:28:31 -05:00
Nathaniel Schweinberg
9c9b494d0f
Check if product is object before adding to array. Prevents non-object fatal errors
2015-03-28 09:09:43 -05:00
Mike Jolley
064f2ebe17
Fix multiple product section in coupon section. Fixes #7170
2015-01-21 14:24:39 +00:00
Nicola Mustone
47b0c4cb97
clearer coupon option description
2015-01-19 09:18:44 +01:00
Mike Jolley
1fa26f1f6e
Product searches select2
2015-01-12 11:56:44 +00:00
Rtransat
d53210dfbf
Fix label "for" attribute for products_categories
2014-12-19 17:15:24 +01:00
Mike Jolley
549d7ab2c0
Removed 'apply before tax' options for coupons - this should be the default core behaviour
2014-11-24 17:24:25 +00:00
Mike Jolley
589da28f42
Small tweak on text in #6457
2014-10-06 14:31:32 +01:00
Bryce
5a6f0b1529
Re-do coupon free shipping option desc issue #6391
...
I didn’t update the POT as was having some poedit issues
2014-10-03 16:44:57 +07:00
shivapoudel
ae3bc4051f
Absolute path, Indentation & docblocks fix for includes/admin/meta-boxes/*.php :)
2014-09-21 01:50:06 +05:45
Tamara Zuk
fc0e7adacb
Coding Standards: Admin - Meta boxes
...
* 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 03:18:21 -04:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Mike Jolley
dfe30bfe84
Tweak max spend text for #5992
2014-08-13 11:43:28 +01:00