Commit Graph

392 Commits

Author SHA1 Message Date
Mike Jolley 98684233dc Filter visible children when outputting grouped products 2017-06-20 15:01:14 +01:00
Mike Jolley ccad987bac Allow state field to have the correct country set by passing it through
Fixes #15632
2017-06-16 11:45:53 +01:00
Mike Jolley 0b14e91a60 Merge pull request #15533 from woocommerce/fix/order-item-meta-formatting
Removes the use of strip_tags() when outputting order item meta
2017-06-13 11:35:03 +01:00
Mike Jolley 636ad8b652 Add a nonce and confirmation for logging out via the customer my account page 2017-06-12 14:02:29 +01:00
Matt Cohen e644bccbe8
Removes the use of strip_tags() when outputting order item meta, to account for basic HTML tags, hyperlinks, etc. 2017-06-09 11:00:23 +02:00
Mike Jolley 5ee38c54c2 Option to disable reviews globally 2017-06-08 15:26:30 +01:00
Mike Jolley 41e8b22b5a Merge branch 'pr/15219' 2017-05-23 19:28:45 +01:00
Mike Jolley 002dd935b5 Check we have a product object 2017-05-23 19:28:35 +01:00
Mike Jolley c16acc6b51 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	assets/css/wc-setup-rtl.css
#	assets/css/wc-setup.css
2017-05-23 19:00:24 +01:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Mike Jolley 00e5189a05 Merge pull request #15070 from rasmusbe/phpdoc-missing-return-throws
Phpdoc: Add missing return and throws
2017-05-23 18:50:58 +01:00
Mike Jolley 8f27df6af3 Merge pull request #14294 from woocommerce/fix/14292
When searching, disable WC sort order
2017-05-23 16:43:24 +01:00
James Kemp 90c987af70 Utilise $product method to get thumbnail
Is there any reason this function isn't using the `get_image()` method? It seems if we're accessing the `$post->ID`, then we should have access to the `$product` object too?

The reason being, the `get_image()` method also checks for the parent featured image, so is more robust. It may also be worth considering a filter in the `get_image()` method.
2017-05-22 22:07:51 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Rasmus Bengtsson 4f00d7e5e3 PHPDoc: Add missing return statement 2017-05-15 13:37:59 +02:00
Mike Jolley af949b73ec Add noscript style for gallery
Fixes #14882
2017-05-08 14:35:23 +01:00
Claudio Sanches c0e71a2238 Merge pull request #14797 from woocommerce/fix/14426-1
Standardize rating HTML in all templates
2017-05-05 17:47:28 -03:00
Claudio Sanches 95f2033f88 Merge pull request #14895 from franticpsyx/tweak-wc-display-item-meta
[3.0] Tweak meta display value rendering in `wc_display_item_meta`
2017-05-05 17:09:03 -03:00
Manos Psychogyiopoulos bbf0be1205 Tweak meta display value rendering in wc_display_item_meta 2017-05-05 16:11:49 +03:00
Claudio Sanches 1753406dc0 Fixed warning when no customer country is defined.
Fixes #14850
2017-05-04 18:54:44 -03:00
Claudio Sanches ed5877f395 Improve docblocks 2017-05-02 16:48:00 -03:00
Claudio Sanches ad09564ff3 Removed extra comment 2017-04-28 20:08:37 -03:00
Claudio Sanches 1d65c9d8b7 Better screen reader support 2017-04-28 19:59:50 -03:00
Claudio Sanches 5826a9bce0 Display total of customer reviews and applied to rating template 2017-04-28 19:56:05 -03:00
Claudio Sanches 685b999357 Fixed missing variable 2017-04-28 19:41:11 -03:00
Claudio Sanches d62e68fdb5 Better i18n support 2017-04-28 19:36:43 -03:00
Claudio Sanches a049835c05 Introduced new wc_get_star_rating_html() function 2017-04-28 19:32:25 -03:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 29feafb116 Merge branch 'pr/14414' 2017-04-27 12:01:45 +01:00
Mike Jolley 2e77b0f417 Keep both classes 2017-04-27 12:01:37 +01:00
Mike Jolley 13a610d1d8 Merge branch 'pr/14612' 2017-04-26 13:26:26 +01:00
Mike Jolley 13bc235020 Bump template version and move to correct function files. 2017-04-26 13:25:14 +01:00
Mike Jolley 763c8e8018 Sort grouped products by menu order
Fixes #14665
2017-04-25 12:08:17 +01:00
Mike Jolley 3b6e7d9d14 Address field sorting was not working due to wrong data name
Fixes #14533
2017-04-19 16:33:32 +01:00
Akash Soni e17e7f38bd Change format of product link class.
In this class use capital characters, it's not good formate.

So, I change that and create a new class " woocommerce-loop-product__link ".

The example we use this class for loop product title tag " woocommerce-loop-product__title ".

Thank.
2017-04-16 01:26:38 +05:30
Mike Jolley 3fe7df6515 When searching, disable WC sort order
Closes #14292
2017-04-12 12:42:55 +01:00
Mike Jolley a7e22e3749 Return if there is no product in woocommerce_upsell_display
Fixes #14162
2017-04-11 19:21:13 +01:00
Claudio Sanches c42505f7e5 Merge pull request #14096 from woocommerce/fix/14087
Add missing woocommerce_cross_sells_columns filter.
2017-04-07 09:18:54 -03:00
Mike Jolley 078dfb4ffa Add missing woocommerce_cross_sells_columns filter.
Closes #14087
2017-04-07 10:35:42 +01:00
Gareth 425752d8ff Updates product title in product loop commenting
Commenting indicated the product title in the product loop was enclosed in an `<h3>`, when the code was actually printing an `<h2>`.
2017-04-07 09:55:48 +02:00
Mike Jolley e16119f687 Cross sells were not showing first last classes since columns (2) was not being set 2017-04-05 23:28:13 +01:00
Mike Jolley b251973a66 Don't filter hidden grouped products
Fixes #13903
2017-04-04 20:33:36 +01:00
Mike Jolley 7bea5db423 Use h2
Fixes #13660
2017-03-21 12:54:04 +00:00
Mike Jolley e7397f96e7 Force max to blank string when < 0
Fixes #13639
2017-03-17 12:57:18 +00:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley 7baf3ddc1c Remove the clear code and property from woocommerce_form_field
Fields can be sorted dynamically with JS, so the clear div will never
move with it and cannot be output reliably.

Clearing should be done with CSS.
2017-03-14 17:49:42 +00:00
Rami Yushuvaev d2457fe922 i18n: escape translation strings and fix wrong usage of i18n functions 2017-03-13 07:39:46 +02:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Claudio Sanches 6dad909570 Merge pull request #13425 from woocommerce/fix-13411
Dont render empty stock descriptions
2017-03-02 13:49:12 -03:00
Claudiu Lodromanean 3f1d538878 Single quotes instead of double 2017-03-02 08:45:01 -08:00