parmarhardip
470b0a5424
I have updated the code with suggestion and tested it. Please review from your side.
2019-05-16 10:24:00 +05:30
parmarhardip
d5337fac70
fix- 23589 I have fixed pricing issue.
2019-05-15 17:49:46 +05:30
Mike Jolley
e7bb5a8f41
Merge branch 'master' into experiment/product-sorting-index
2019-03-07 12:49:25 +00:00
Mike Jolley
611bf3b1dd
Price filter + stock widget requires lookup table
2019-02-28 14:24:05 +00:00
Mike Jolley
3309276e82
Renamed table to wc_product_meta_lookup
2019-02-15 12:37:45 +00:00
Mike Jolley
7b6558e1df
Correct table names and updater
2019-02-12 14:04:22 +00:00
Mike Jolley
47b37c7104
Queries
2019-02-11 14:42:54 +00:00
Mike Jolley
536c933612
correctly handle steps
...
Co-Authored-By: Gerhard Potgieter <kloon@users.noreply.github.com>
2019-01-23 19:39:59 +00:00
Gerhard
31263f2a4c
Tax calc for price filter
...
Co-Authored-By: Gerhard Potgieter <kloon@users.noreply.github.com>
2019-01-23 18:39:45 +00:00
Mike Jolley
3a94fc6d00
Introduce steps and cleanup variable names for clarity
2019-01-23 18:29:33 +00:00
Mike Jolley
b9de20ed27
Exclude paged from price slider
2019-01-23 17:34:58 +00:00
Mike Jolley
01696d92b0
Add comments and round to 10
2019-01-23 17:34:51 +00:00
Mike Jolley
613a095362
Exclude paged from price slider
2019-01-23 15:31:26 +00:00
Ron Rennick
6618d1e626
fix merge conflict
2019-01-10 11:22:31 -04:00
Ron Rennick
951b68be48
phpcs sniff fixes for class-wc-widget-price-filter.php
2019-01-10 11:13:50 -04:00
Ron Rennick
1033217860
only hide price filter widget when archive has no products
2019-01-10 11:12:09 -04:00
Refael Iliaguyev
127f1cb276
Use WC() instead wc() for consistency
2018-11-08 12:59:07 +02:00
Rodrigo Primo
bb553c88ae
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-29 12:05:55 -03:00
Rodrigo Primo
edfadcf7ae
Product price filter widget: add a new filter to change the query to get max and min prices
2018-03-29 11:52:49 -03:00
Claudio Sanches
cbb1271b2c
Fixed class-wc-widget-product-categories.php PHPCS violations
2018-03-09 17:28:08 -03:00
Claudio Sanches
341dddc3ae
Fixed class-wc-widget-price-filter.php PHPCS violations
2018-03-09 17:26:40 -03:00
Mike Jolley
2ed9691c14
Fix shop on homepage with unsupported themes
2018-02-01 11:15:46 +00:00
Mike Jolley
5ed3c9e37e
Adjusts price filter code to exclude taxes to match how prices are stored in the DB
2017-12-14 15:21:49 +00:00
Mike Jolley
cc18f85baa
Replace usage of global query
2017-11-09 12:01:27 +00:00
Mike Jolley
1b22d97be2
Combined get_page_base_url
2017-11-09 11:16:47 +00:00
Mike Jolley
d125739742
fix init
2017-09-16 12:37:29 -07:00
Mike Jolley
ff5228e944
Standardise widget titles and descriptions
...
Follow the same pattern as core WP widgets, including title case.
Avoids terms like ‘layered nav’ which has no real meaning to new users.
2017-08-25 12:07:17 +01:00
Mike Jolley
47d7fedff8
Correct price query when on a post type archive
...
Fixes #15166
2017-05-19 11:19:30 +01:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Mike Jolley
e9be3a425a
Handle search params in filters
...
Closes #12685
2016-12-23 14:45:58 +00:00
Mike Jolley
0300464613
Use accounting.js in price slider widget
2016-12-20 13:11:09 +00:00
Mike Jolley
e0e0c9e832
Replace rating filters with taxonomy
2016-12-09 15:43:25 +00:00
Mike Jolley
500c68d729
[2.6] Use FLOOR and CEIL to get price filter values
...
Fixes the issue where max price is capped at 99. Fixes #12145
2016-10-21 08:58:57 +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
James Kemp
b2bf294e03
Min/Max Modifications
...
CAST min/max as decimal. Otherwise, a max of 59.99 will return 59 instead of 60 - so the product will be missed when using the filter.
Added filter on post_type so I can add product_variation for compatibility with one of my plugins.
2016-09-15 12:05:59 +01: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
Caleb Burks
417d707996
Cast as decimal when querying prices
2016-08-27 01:03:06 -05: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
644cf79866
Move all query string vars to form in price widget using wc_query_string_form_fields
...
Closes #11593
@claudiosmweb @justinshreve look fine to you?
2016-08-04 13:37:39 +01:00
Mike Jolley
8345f67f6c
Tweak price filter + code comments
...
#10371
2016-02-22 13:23:25 +00:00
Mike Jolley
bf87d292fe
Combine queries
2016-02-10 10:36:06 +00:00
Mike Jolley
0dba78acc0
Remove use of global
2016-02-10 10:19:32 +00:00
Mike Jolley
2642454fee
> is faster
2016-02-10 00:04:01 +00:00
Mike Jolley
8b922cc710
Cast is faster
2016-02-10 00:01:55 +00:00
Mike Jolley
d23c316326
Refactor queries to use WP_QUERY only
2016-02-09 21:14:55 +00:00
Mike Jolley
75cbb74520
Rating widget standards
2016-02-09 15:18:27 +00:00
Fredrik Forsmo
bc9019458c
Improve docblock comments WC_Widget classes
...
* Added better comment to `widget`, `form` and `update` methods.
2016-01-06 19:58:38 +01:00
Ibrahim Ibn Dawood
584a8dac7c
added min_rating query arg to price filter
2015-11-13 15:16:32 +05:30
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
c5cba283ed
Remove numbered arguments from queries
2015-08-07 11:37:19 +01:00