Mike Jolley
3dbe9ccd95
Better fallback for ajax variations in case sync_attributes has ran
2015-09-14 16:50:58 +01:00
Mike Jolley
fc78f85bc6
Merge branch 'pr/9034'
2015-09-14 15:56:38 +01:00
Mike Jolley
3a1bcd8e7d
Store prices in class to prevent running get_variation_prices multiple times
2015-09-14 15:09:57 +01:00
Mike Jolley
2d90e1c6c6
Ensure _product_version checks act the same regardless of the attributes being checked
2015-09-14 12:12:05 +01:00
Mike Jolley
8ec5986d48
Tweak hash logic
2015-09-09 22:29:54 +01:00
Manos Psychogyiopoulos
e3dad9106f
elseif
2015-09-07 19:17:33 +03:00
Manos Psychogyiopoulos
d9d11974fe
introduce context in transient with price filters
2015-09-07 19:13:41 +03:00
Manos Psychogyiopoulos
68e24c8f8a
no filters allowed when generating variable product price transients
2015-09-03 19:04:31 +03:00
Mike Jolley
28da8a40d8
Tweak wc_var_prices naming to allow them to be flushed on save
2015-08-26 12:28:04 +01:00
Mike Jolley
ae21b511f0
Support 0 value attributes
2015-08-24 13:32:20 +01:00
Mike Jolley
ae207466d4
Ajax variation < 2.4 attribute name handling.
2015-08-23 21:47:04 +01:00
Mike Jolley
dc1798f942
woocommerce_variable_children_args hook.
2015-08-13 23:35:41 +01:00
Diego Zanella
5b29d23daf
Added filter for Variable Products, as suggested in #8820
...
* The new filter allows to alter the query used to retrieve children of a variable product.
2015-08-13 22:42:16 +01:00
Mike Jolley
56b6c0ab9c
Link to full image
...
Closes #8809
2015-08-13 16:55:32 +01:00
Mike Jolley
a52619c344
Ajax variation handling when 'any' attribute is set.
2015-08-13 13:57:26 +01:00
Mike Jolley
61f7dd428e
use shop_single instead of full image size for variations.
...
Closes #8764
2015-08-11 12:54:26 +01:00
Mike Jolley
42e99286c7
If all variations are out of stock, maintain pricing.
2015-08-11 10:33:47 +01:00
Mike Jolley
77b2316d80
Merge pull request #8754 from JeroenSormani/is_on_sale
...
FIx is_on_sale bug on variable products
2015-08-10 15:43:35 +01:00
JeroenSormani
95609928ba
FIx is_on_sale bug on variable products
2015-08-10 16:36:40 +02:00
Mike Jolley
7363c85a2c
Get filtered variation prices #8753
2015-08-10 15:34:10 +01:00
Mike Jolley
060fb16e2e
Move Pre 2.4 handling for attributes - DRY
...
@claudiosmweb @franticpsyx
2015-07-28 16:20:51 +01:00
Mike Jolley
6626c68175
When syncing OLD products, update the attributes to 2.4 standard
2015-07-28 15:13:25 +01:00
Mike Jolley
794af1c013
When the stock level is changed via update_post_meta ensure the stock_status is kept in sync
...
Closes #8605
2015-07-27 19:04:08 +01:00
Mike Jolley
9a7893ba23
Moved variation dropdowns logic into wc_dropdown_variation_attribute_options()
2015-07-27 16:42:22 +01:00
Mike Jolley
dcd273d343
Rename transient - 45 chars is max legnth
2015-07-27 10:57:14 +01:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Claudio Sanches
8d2a98eab1
Improved some docblocks
2015-07-16 16:29:01 -03:00
Mike Jolley
30b01ff9b6
Add filter to force price display
2015-07-09 16:15:05 +01:00
Mike Jolley
5f8a5bcb63
We don't need get_transient_version for children transients because other products do not affect this.
2015-07-09 16:02:26 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Mike Jolley
622b11ae9f
Add version check to prevent pre-2.4 logic kicking in when not needed
...
@claudiosmweb
2015-06-16 15:10:53 +01:00
Mike Jolley
12396f4296
Attempted bw compat by comparing sanitised text to real text
2015-06-11 15:42:18 +01:00
Mike Jolley
89f7e15052
Save full version of text based attributes when dealing with variations
2015-06-11 14:43:02 +01:00
Mike Jolley
aaaef5bfcf
[2.3] Incorrect wc_product_total_stock_ transient
...
Closes #8337
2015-06-10 18:28:34 +01:00
Mike Jolley
5771969c2c
Prevent notices in get_children
2015-06-09 10:32:40 +01:00
Mike Jolley
68974655d6
Tweak visible child product query and cache
2015-06-08 13:18:23 +01:00
roykho
b812b2fd94
add dynamic variation description feature
2015-05-14 10:56:26 -07:00
Mike Jolley
906940791a
Merge branch 'variation-prices-sync'
2015-05-01 15:01:14 +01:00
Illimar Tambek
3e9c56a5ca
Pass current variation to woocommerce_hide_invisible_variations filter
2015-04-29 12:16:58 +03:00
Nicola Mustone
d2af01df5b
scrutinizer suggested tweaks
2015-03-27 16:15:40 +01:00
Mike Jolley
302fca886c
ID needs to be part of transient
2015-03-25 16:27:11 +00:00
Mike Jolley
8cb2ca86d7
Store variation ID in transient
2015-03-25 16:23:19 +00:00
Mike Jolley
c76a08aad2
woocommerce_variation_prices filter
2015-03-25 15:48:51 +00:00
Mike Jolley
01c13a52cd
Fix price/sale price listings
2015-03-25 15:23:28 +00:00
Mike Jolley
99fcb77262
woocommerce_get_variation_prices_hash array
2015-03-25 14:52:33 +00:00
Mike Jolley
0ab0a12156
_has_multiple_variation_tax_rates no longer needed
2015-03-25 13:37:11 +00:00
Mike Jolley
9f50d41b97
New approach to getting min/max variation prices using transients
...
New method will get all prices and store in array format. Cached based
on user location (tax) and product transient hash.
Fixes #6504
2015-03-25 13:35:49 +00:00
Mike Jolley
d9455994c8
Use 30 days instead of year for transients to avoid bugs in memcache plugins.
...
Closes #7520
2015-02-24 12:02:56 +00:00
Scrutinizer Auto-Fixer
19f660171e
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-23 14:37:20 +00:00
Mike Jolley
186f223d92
Fix indents in #7174
2015-01-23 11:17:27 +00:00