Commit Graph

389 Commits

Author SHA1 Message Date
Mike Jolley fb67343611 Tweak content. Closes #2311 2013-01-29 13:58:57 +00:00
Alex Bishop 793a143432 #2311 Fix for 'Exclude sale items from coupon'
included a checkbox on the coupon writepanel for the option

Had issues originally, worked out the in_array() needed to be a strict
type as woocommerce_get_product_ids_on_sale() has a '0' string in it.

Tested using 3.5.1 + git clone of WooCommerce
2013-01-29 23:47:52 +10:30
Alex Bishop f78d3a0e13 Revert "Added 'Exclude Sale Products' option to coupons"
This reverts commit b763c7449a.
2013-01-29 23:41:58 +10:30
Alex Bishop 13de8d9203 Revert "Reset, please ignore"
This reverts commit 3e59e64da3.
2013-01-29 23:41:57 +10:30
Alex Bishop 3e59e64da3 Reset, please ignore
Long Story.
2013-01-29 23:41:00 +10:30
Alex Bishop b763c7449a Added 'Exclude Sale Products' option to coupons
Added exclude sale products functionality based of the 'exclude product
ids' functionality in wc-coupon/wc-cart.

Compares product ID's in cart vs ID's in the array
'woocommerce_get_product_ids_on_sale'
2013-01-29 13:54:54 +10:30
Mike Jolley c51613910b Fix bulk edit. Closes #2283. 2013-01-28 11:18:14 +00:00
Mike Jolley 4f0d7f55c6 Cleaned up session classes 2013-01-27 18:55:29 +00:00
Mike Jolley 1cb13fe740 more json fixes #2268 2013-01-22 16:48:28 +00:00
Frank Martin 7154b96ae1 Random tab 2013-01-22 16:12:19 +00:00
Frank Martin 56d98eed79 Remove items and item meta on permanent delete 2013-01-22 16:06:48 +00:00
Brent Shepherd cf240d96a3 Don't convert zero values to empty string
PHP's empty() function returns true for 0, 0.00, "0.00" and other 0 variants.
That means woocommerce_process_shop_order_meta() will convert item meta with
a 0.00 or similar value to an empty string, which can break things that expect
a float or number. This commit fixes that.
2013-01-21 16:02:52 +10:00
Brent Shepherd 547ea85451 More descriptive variable name 2013-01-21 15:53:41 +10:00
James Koster ef23efdcfb Order status icons
completed = check
pending = dash
cancelled = cross
failed = altert
on-hold = clock
refunded = arrows
processing = dots
2013-01-18 14:23:43 +00:00
Mike Jolley ad1eb92b4c Clean up variation display in admin. Closes #2241. 2013-01-17 11:23:11 +00:00
Gerhard 5f42ae6145 Find term based on id instead of slug, if you use numbers as term names it conflicts with the ids since has_term searches on id, slug and name when a string is passed but only on ids when integers are passed. 2013-01-17 08:53:27 +02:00
Mike Jolley 7eb82f1070 Prompt for variation price since its required. 2013-01-16 12:16:31 +00:00
Mike Jolley 5c878f62b3 Variations should not inherit prices, and variations with no price set should be hidden. Closes #2232.
Also improves price display for empty/free variations.
2013-01-16 12:10:51 +00:00
Mike Jolley 86b7508a51 Hide more tax. #2205. 2013-01-11 11:29:13 +00:00
Mike Jolley abd3f521ec Hide tax options when disabled. Closes #2205. 2013-01-10 16:37:27 +00:00
Mike Jolley 7f1369e01a Merge pull request #2203 from krbvroc1/writepanel-fixes
Fix PHP Warnings
2013-01-10 06:39:57 -08:00
Ken Bass 6ca9d5d552 Fix PHP Warning 2013-01-10 09:35:33 -05:00
Mike Jolley d3e5877953 Check meta exists Closes #2183. 2013-01-10 14:19:27 +00:00
Mike Jolley 8f7dd65656 Fix quick edit Closes #2130 2013-01-10 12:11:04 +00:00
Coen Jacobs 9fade8d6e4 Coupon labelling help, closes #2192 2013-01-10 11:26:28 +01:00
Mike Jolley b5e10315aa Load gateways during checkout + in settings. #2164 2013-01-07 17:23:09 +00:00
Mike Jolley 6e01481220 Fix restore nonce. Closes #2138. 2013-01-07 13:36:38 +00:00
Geert De Deckere 86abb2a7c8 Spelling fix for "visibilty" 2013-01-04 16:30:31 +01:00
Justin Stern b0f1e4b169 Javascript WooCommerce variations added trigger
Javascript trigger added to the ajax woocommerce add variations callback
2012-12-31 17:14:40 -05:00
Justin Stern 61b8df3255 Custom Product Attribute Taxonomy Types
Actions to allow for the support of custom product attribute taxonomy
types
2012-12-31 17:06:13 -05:00
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Manos Psychogyiopoulos c7c15fa856 Hooks for consistancy with writepanel-product-type-variable.php
writepanel-product-type-variable.php already allows filtering the
variation dropdown descriptions in metaboxes. No hook exists here to
take care of the Default Selections dropdown.
2012-12-30 14:00:37 +02:00
Mike Jolley 534859de30 Search line items. Closes #2082. 2012-12-29 17:04:33 +00:00
Mike Jolley 5507e8453f Remove depricated jQuery Closes #2039 2012-12-28 13:02:12 +00:00
Geert De Deckere c66a1af0be Fixed and improved column for featured status
- Bugfix: if the product was featured a double opening anchor tag would be used around the star image, breaking the link.
- Changed the title attribute from "Change" to "Toggle featured".
- Made alt attributes of the images translatable ("yes" and "no").
- Coding standards.
2012-12-28 07:44:02 +01:00
Mike Jolley bdc61bfdce wc_product_type_ transient is unused 2012-12-21 08:44:15 +00:00
Mike Jolley c33ea11e25 $theproduct -> $the_product 2012-12-20 13:36:41 +00:00
Mike Jolley 3eabb171e7 keep product for products admin 2012-12-20 13:33:35 +00:00
Mike Jolley 6bb5ec424e placeholder images for hidden/secure files 2012-12-20 12:35:36 +00:00
Mike Jolley beaefd8ec7 downloadable uploader styling 2012-12-20 11:36:38 +00:00
Mike Jolley c8852bcf40 Revised, roduct gallery panel, images stored in meta = more flexibility. 2012-12-20 01:13:06 +00:00
Mike Jolley 7bd81503b5 Speed up orders page. #1765 2012-12-19 23:09:04 +00:00
Mike Jolley f972501dfa get_post_meta instead of get_post_custom - cut out the middleman. #1765 2012-12-19 21:01:15 +00:00
Mike Jolley f6088cf7e8 Image uploader fixes kudos to justin 2012-12-18 23:16:55 +00:00
Mike Jolley fe92fb6a96 Work on media uploader 2012-12-18 21:56:01 +00:00
Mike Jolley f663a71550 Media upload (started) 2012-12-18 12:04:33 +00:00
Mike Jolley 940c556c40 Insert into button 2012-12-18 10:14:05 +00:00
Mike Jolley 2dc706095b Improve bulk actions and fix after save attributes. 2012-12-18 07:23:13 +00:00
Mike Jolley 01ff7b1083 Fix save attributes for custom attributes. Closes #2002. 2012-12-18 07:08:16 +00:00
Mike Jolley b468f89559 Link images and column header. #2003 2012-12-17 21:46:20 +00:00