Commit Graph

8251 Commits

Author SHA1 Message Date
Mike Jolley 03de576bfb Data update 2014-06-24 15:21:39 +01:00
Mike Jolley fb592a1a79 Variation class modifications (see details)
- Made it load data on the fly, rather than loading it all at once
- Pull some data from variation, some from parent
- Updated stock methods to use variation or parent depending on
manage_stock
- Ensure parent stays in sync on stock status change event
2014-06-24 13:05:13 +01:00
Mike Jolley 21d37e86c2 Handle stock for self and children, as well as syncing status with the children 2014-06-24 13:03:25 +01:00
Mike Jolley d65cb855bc Static is required 2014-06-24 13:02:58 +01:00
Mike Jolley f69e5fc4ee Only use a value for changes - allows automatic changes to stock status to take over 2014-06-24 13:02:48 +01:00
Mike Jolley d631f4acdc Hide status box for variables and handle save event 2014-06-24 13:02:09 +01:00
Mike Jolley 0315e48187 Only call the method to update stock when it changes 2014-06-24 13:01:47 +01:00
Mike Jolley 3ca70b30f5 Add sanity check to stock status change 2014-06-24 13:01:34 +01:00
Mike Jolley 63c0b75972 Conditional is no longer required 2014-06-24 13:00:21 +01:00
Mike Jolley b86b4c91c6 Simplify get_children and use stock status rather than stock level 2014-06-20 10:50:31 +01:00
Mike Jolley 19adbb9bba Product admin/saving 2014-06-19 16:47:04 +01:00
Mike Jolley 7591e07d81 Field show/hide options for stock fields and variations 2014-06-19 16:17:43 +01:00
Mike Jolley c66f2b8232 Split out several transient clearing functions to be called only when needed. 2014-06-19 12:25:10 +01:00
Mike Jolley 3df6a71b96 Removed some transient clears where unnecessary 2014-06-19 12:25:10 +01:00
Mike Jolley 3e0f6e2511 Term counts only need to be deleted when terms are recounted 2014-06-19 12:25:10 +01:00
Mike Jolley af77d8f12c Only remove featured transient when featured changes 2014-06-19 12:25:10 +01:00
Mike Jolley bb787ff8cc Merge pull request #5687 from claudiosmweb/fix-undefined-function-wc_ship_to_billing_address_only-in-admin
Move the wc_ship_to_billing_address_only() function to wc-order-functions.php
2014-06-18 16:18:35 +01:00
Mike Jolley 5eb55ce0ac Merge pull request #5688 from claudiosmweb/5565-fix-address-format-in-plain-text-emails
Change the address format in plain text emails for new lines
2014-06-18 16:17:30 +01:00
Mike Jolley 4187a2465a Merge pull request #5690 from BFTrick/parenthesis
Adding Brackets Around if Statement
2014-06-18 16:14:41 +01:00
Mike Jolley cf3cca4c8e Merge branch 'feature-wc-create-order' 2014-06-18 16:07:29 +01:00
Mike Jolley f2ca5e76bd Use a transaction during checkout's order creation method to ensure all data gets set
Closes #5368
2014-06-18 16:03:46 +01:00
Patrick Rauland 8e3c3a61db adding brackets around if statement 2014-06-17 16:40:54 -05:00
claudiosmweb 7fd6e9f0a0 moved the wc_ship_to_billing_address_only() function to wc-order-functions.php 2014-06-17 17:39:02 -03:00
claudiosmweb 1100d5b39a changed the address format in plain text emails 2014-06-17 17:33:55 -03:00
Mike Jolley 8c1b384f43 [2.1] Total tax should be +, not - 2014-06-17 10:19:40 +01:00
Mike Jolley 7a4efddad1 Merge pull request #5672 from SiR-DanieL/patch-2
Wrong non ASCII content
2014-06-13 18:48:20 +01:00
Mike Jolley 7f3ba80f59 Merge pull request #5674 from claudiosmweb/5673-fix-template-file-check-broken
Fix undefined variable $status in WC_Admin_Notices::template_file_check_notice()
2014-06-13 16:46:29 +01:00
claudiosmweb 97fb619e23 fixed undefined variable $status, closes #5673 2014-06-13 12:18:00 -03:00
Mike Jolley 94549e1462 Notices 2014-06-13 16:11:15 +01:00
Mike Jolley f37d6e12b8 Cleaned up ajax tax calc function 2014-06-13 15:54:08 +01:00
Mike Jolley 93778e72b0 Tax class fixes + notices 2014-06-13 15:53:59 +01:00
Mike Jolley 0f22691767 Calculate tax and totals methods 2014-06-13 15:21:15 +01:00
Nicola Mustone 9d2b70942d Using – for compatibility 2014-06-13 15:36:36 +02:00
Nicola Mustone abd7b2a989 Wrong non ASCII content
Issue with PoEdit translating content on line 32 due to non-ASCII content.
2014-06-13 12:47:51 +02:00
Mike Jolley 76d160c8fc Fire action when adding product 2014-06-13 10:20:38 +01:00
Mike Jolley a6da6e3353 Also use qty 2014-06-13 10:18:03 +01:00
Mike Jolley 5aa8b47c6b When setting totals, if not set get the data from the product 2014-06-13 10:14:18 +01:00
Mike Jolley 375a0e2652 static WC_Tax class - no need for a constructor in this 2014-06-12 16:47:43 +01:00
Mike Jolley 5b835a0def Merge pull request #5652 from justinstern/master
Checkout Update Totals for Radio Fields
2014-06-12 12:01:38 +01:00
Mike Jolley e0b6e78752 Merge pull request #5658 from phikai/master
Send Proper Status Codes on wp_die (Fixes #5656)
2014-06-12 12:01:30 +01:00
Mike Jolley 2f3c60d4cf Merge pull request #5655 from claudiosmweb/fix-order-item-fees-tax-names
Fix tax name in order item fees
2014-06-12 11:59:33 +01:00
Mike Jolley 9beaf30a73 Merge pull request #5657 from claudiosmweb/feature-transaction-id-display
Display Transaction ID in order data
2014-06-12 11:59:17 +01:00
Mike Jolley ff186a23cc Merge pull request #5659 from claudiosmweb/fix-hard-code-strings
Fix some hard code strings
2014-06-12 11:59:06 +01:00
Mike Jolley c7a74e92fa Merge pull request #5654 from claudiosmweb/5551-feature-order-items-attributes-nice-names
Improved order items attributes names
2014-06-12 11:58:45 +01:00
Mike Jolley e532ffa064 Update language updater notices 2014-06-12 11:57:49 +01:00
Mike Jolley c17bae3204 Merge pull request #5653 from claudiosmweb/fix-paypal-syntax-error
Fix two syntax error in paypal gateway class
2014-06-12 11:38:18 +01:00
Kai Armstrong 1274ac3303 Reading the wp_die docs was apparently a giant mental challenge... fixed the fix for #5656 2014-06-11 15:24:27 -05:00
claudiosmweb 61c94f9e25 fixed some hard code strings 2014-06-11 17:12:23 -03:00
claudiosmweb c3ed04197b fixed hard coded Edit string 2014-06-11 17:05:09 -03:00
Kai Armstrong c7410a1630 send proper status codes on die 2014-06-11 14:57:26 -05:00