Claudio Sanches
c0da59d75a
Use WC_Shortcode_Products inside best_selling_products shortcode
2017-08-25 11:46:47 -03:00
Claudio Sanches
366686c34a
Fixed unit tests for PHP 5.2 and 5.3
2017-08-25 11:01:25 -03:00
Claudio Sanches
3dabdda480
Apply WC_Shortcode_Products class into sale_products shortcode
2017-08-25 11:00:48 -03:00
Claudio Sanches
0cea847c63
Renamed $loop_name to $type
2017-08-24 22:22:42 -03:00
Claudio Sanches
d7bea55aae
Use WC_Shortcode_Products to render product shortcode results
2017-08-24 22:16:42 -03:00
Claudio Sanches
013da90f51
Included unit test for recent_products shortcode
2017-08-24 21:38:42 -03:00
Claudio Sanches
9b1a047c6f
Use WC_Shortcode_Products inside recent_products shortcode
2017-08-24 21:31:58 -03:00
Claudio Sanches
71019aadfe
Moved woocommerce_shortcode_products_query filter to parse_query_args
2017-08-24 21:24:51 -03:00
Claudio Sanches
461066d2b1
Allow query products by category on products shortcode
2017-08-24 21:24:05 -03:00
Claudio Sanches
429aecd400
Allow set loop name
2017-08-24 20:20:14 -03:00
Claudio Sanches
57379938b5
WC_Shortcode_Products unit tests
2017-08-24 20:12:12 -03:00
Claudio Sanches
a398e4893c
Fixed static method and added default value for construct method
2017-08-24 20:11:18 -03:00
Claudio Sanches
51e80b944b
Apply new WC_Shortcode_Products class into WC_Shortcodes::products
2017-08-24 19:33:14 -03:00
Claudio Sanches
7958f9cca9
Ignore coding standards
2017-08-24 19:17:18 -03:00
Claudio Sanches
84cf4d0be8
Fixed query args
2017-08-24 18:59:04 -03:00
Claudio Sanches
4f18cea88b
Removed extra comments, params and static method
2017-08-24 15:30:44 -03:00
Claudio Sanches
321832ade4
Introduced new WC_Shortcode_Products class
2017-08-24 15:29:30 -03:00
Claudio Sanches
abb9886df1
Merge pull request #16592 from woocommerce/fix/16587
...
If no title is set when uploading images, use filename
2017-08-24 12:05:48 -03:00
Mike Jolley
7a817ee103
Added back missing discount row
...
Closes #16586
2017-08-24 12:49:49 +01:00
Mike Jolley
8e6085b2c0
If no title is set when uploading images, use filename
...
Closes #16587
2017-08-24 12:33:53 +01:00
Claudiu Lodromanean
56e1207903
Merge pull request #16583 from woocommerce/update/apply-fees
...
Improved apply fees
2017-08-23 13:35:18 -07:00
Mike Jolley
25fb505fc4
Debug
2017-08-23 16:42:58 +01:00
Claudio Sanches
b46f5c91e4
Merge pull request #16584 from ramiy/patch-1
...
i18n: Avoid using HTML tags in translation strings
2017-08-23 11:51:28 -03:00
Claudio Sanches
0bf1aa1cb0
Merge pull request #16581 from woocommerce/fix/16577
...
Imported non-published variations should be private, not draft
2017-08-23 11:47:04 -03:00
Mike Jolley
cefa76e58b
Merge branch 'scrutinizer/major-issues'
2017-08-23 14:44:26 +01:00
Mike Jolley
9d877a3b34
Unused vars
2017-08-23 14:40:34 +01:00
Mike Jolley
2beddc59a7
docblocks
2017-08-23 14:38:00 +01:00
Mike Jolley
e0de3643bc
ID is unused
2017-08-23 14:28:25 +01:00
Mike Jolley
9483a7ec19
invalid return
2017-08-23 14:27:30 +01:00
Mike Jolley
c60859bf3c
types
2017-08-23 14:27:10 +01:00
Mike Jolley
a7b697b679
type checks
2017-08-23 14:25:41 +01:00
Rami Yushuvaev
ff289f3bf4
i18n: Avoid using HTML tags in translation strings
...
This PR moves the `<code>` HTML tags from the translation strings.
It also moves the server variables outside of the translation string, because translators can accidentally translate it wrong.
2017-08-23 16:22:52 +03:00
Mike Jolley
714c4c672e
unused prop
2017-08-23 14:21:42 +01:00
Mike Jolley
be042ee8f3
Set to amount before calc
2017-08-23 12:24:33 +01:00
Mike Jolley
804feb9333
Store fee amount and prevent totals going negative
2017-08-23 12:15:06 +01:00
Mike Jolley
372723dae1
min
2017-08-23 11:29:14 +01:00
Mike Jolley
d9e455b9c6
Merge branch 'master' into update/apply-fees
2017-08-23 11:26:13 +01:00
Mike Jolley
f18a146d0f
Prompt to apply fee in admin
2017-08-23 11:22:18 +01:00
Mike Jolley
4c2c051773
Merge pull request #16575 from woocommerce/fix/arraysubsettest
...
Harden + fix plugin updates tests
2017-08-23 11:02:06 +01:00
Mike Jolley
22813663d7
Merge pull request #16569 from woocommerce/update/fees-api-class
...
WC_Cart_fees and negative fee calculations
2017-08-23 10:59:19 +01:00
Mike Jolley
23ca228a40
Fix input width, Closes #16571
2017-08-23 10:55:00 +01:00
Mike Jolley
cb1747216b
Revert "Fix image input width. Closes #16571 "
...
This reverts commit 77ab40cabf
.
2017-08-23 10:54:06 +01:00
Mike Jolley
77ab40cabf
Fix image input width. Closes #16571
2017-08-23 10:47:16 +01:00
Mike Jolley
b3e92869f9
Imported non-published variations should be private, not draft
...
Fixes #16577
2017-08-23 10:45:18 +01:00
claudiulodro
b8af7164db
Harden + fix plugin updates tests
2017-08-22 15:03:54 -07:00
Claudiu Lodromanean
95130b2403
Merge pull request #16574 from woocommerce/feature/16554
...
Allow import/export product position (menu_order)
2017-08-22 14:13:52 -07:00
claudiulodro
577e8f0e2b
Formatting
2017-08-22 14:08:26 -07:00
claudiulodro
1215da6355
WC_Cart_Fees tests
2017-08-22 14:06:33 -07:00
Claudiu Lodromanean
bdba4f7636
Merge pull request #16572 from woocommerce/fix/16559
...
Introduces woocommerce_get_product_id_by_sku filter
2017-08-22 13:31:45 -07:00
claudiulodro
e83758fe38
Cart fee tests
2017-08-22 13:26:55 -07:00