Commit Graph

1432 Commits

Author SHA1 Message Date
Matt ad3a7bef8e Fix when instantiating WC_Product_Variation when it isn't a variation 2012-11-27 11:16:17 -05:00
Mike Jolley 5124604710 Merge pull request #1851 from Geczy/ucfirst-classname
ucfirst() on the $product_type when instantiating WC_Product_x
2012-11-27 07:40:09 -08:00
Mike Jolley 0361a2f0cb Settings API tweaks.
Uses same names as the settings API for gateways which Closes #1848.
Allows a single level of array based IDs for options which Closes #1826.
Related to #1826 this is now used for image size settings.
2012-11-27 15:39:32 +00:00
Matt eddbf11e13 ucfirst() on the $product_type when instantiating WC_Product_x 2012-11-27 10:31:07 -05:00
Coen Jacobs 4e1a451566 Merge pull request #1843 from scottbasgaard/master
Add order email notifications for failed orders > on-hold status
2012-11-27 03:26:39 -08:00
Mike Jolley 279bbd126d Local pickup zips. Closes #1809. 2012-11-27 11:25:21 +00:00
Scott Basgaard 3304694cef Add order email notifications for failed orders > on-hold status 2012-11-27 12:15:52 +01:00
Mike Jolley 7d580cf3a6 default to text. Closes #1838. 2012-11-27 10:37:28 +00:00
Mike Jolley a7a681b38d Merge pull request #1841 from Geczy/customer-data-address
Add address to customer session. Closes #1836
2012-11-27 02:23:45 -08:00
Matt 8243974004 Add address to customer session. Closes #1836 2012-11-26 20:56:48 -05:00
Matt e51651980a 'woocommerce_matched_rates' filter on get_rates() 2012-11-26 17:01:15 -05:00
Mike Jolley ddbfd2bd28 Factory tweak 2012-11-26 13:39:12 +00:00
Coen Jacobs 930a36e90c Filter to provide icon to COD. Closes #1831 2012-11-26 12:48:19 +01:00
Coen Jacobs fccbb18fb4 Check for empty terms array before current(). Closes #1807 2012-11-23 13:39:01 +01:00
Mike Jolley 64b3af1ffc Fix notices 2012-11-22 14:59:04 +00:00
Coen Jacobs 554c73f05b Fixed missing $args attribute in class construction 2012-11-22 15:13:34 +01:00
Mike Jolley e95509adff Merge pull request #1803 from andreibarabas/update-shareyourcart
Apply coupons only for shared products
2012-11-22 06:10:23 -08:00
Andrei Barabas fb4dd68a4b v1.9.6 apply coupons only for the woocommerce product that has been shared 2012-11-22 16:04:29 +02:00
Coen Jacobs 13f6ec9b29 Moved WC_Abstract to abstracts folder 2012-11-22 15:04:15 +01:00
Andrei Barabas f32b01fdf7 Merge branch 'update-shareyourcart' of https://github.com/andreibarabas/woocommerce into update-shareyourcart 2012-11-22 15:27:15 +02:00
Coen Jacobs 85f55e5ee8 Set the product type to 'variation' if post type is like that
Because variation post types do not have a product type
2012-11-22 13:56:52 +01:00
Andrei Barabas a5908571ad remove sprintf as it seems there is a conflict between Gettext and sprintf 2012-11-22 14:08:09 +02:00
Coen Jacobs afc0add816 Default to the arguments array as second param for get_product() 2012-11-22 12:48:16 +01:00
Coen Jacobs 098e2d5d4d Reinstated post_type to be used as a class parameter 2012-11-22 12:40:42 +01:00
Coen Jacobs b2a868301c Simplified version of Product Factory using an args array 2012-11-22 12:37:41 +01:00
Coen Jacobs 93cddbaa16 Abstract main product class, added simple product class 2012-11-22 11:22:18 +01:00
Mike Jolley 069325862a remove instanceof 2012-11-21 18:39:51 +00:00
Mike Jolley 841624a0b2 Ensure child_ids (transient) is cleared on delete. Closes #1786. 2012-11-21 18:26:42 +00:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs cb4f34a177 Introducing woocommerce_date_format() to properly do #1791 2012-11-21 13:28:16 +01:00
Coen Jacobs 3734f7addc Changed rest of #1791 translatable strings to date_format 2012-11-21 12:16:17 +01:00
Mike Jolley 4c0f805edf More input types and settings API support. Closes #1322. 2012-11-20 17:32:50 +00:00
Mike Jolley 8b7b297b8e 3.5 checks + 2012 tweaks. Closes #1788. 2012-11-20 13:03:45 +00:00
Mike Jolley ad78c3ccc0 Flat rate shipping - if no rules match, and no default is set, don't return a rate. Closes #1695. 2012-11-19 14:48:44 +00:00
Mike Jolley 4720628a71 Hooks galore for integers vs floats. Closes #1113. 2012-11-19 14:05:06 +00:00
Mike Jolley 7d017ca25c Merge pull request #1777 from andreibarabas/update-shareyourcart
increment the version to 1.9.5
2012-11-16 10:13:53 -08:00
Mike Jolley 5d91e9ad42 Shareyourcart tweaks. Closes #1774. 2012-11-16 18:13:23 +00:00
Andrei Barabas e9d3772484 increment the version to 1.9.5 2012-11-16 16:02:13 +02:00
Mike Jolley ffed61e35e Merge pull request #1774 from andreibarabas/master
Update ShareYourCart Integration
2012-11-16 05:54:14 -08:00
Mike Jolley 2d0909d28b Update weights/dimensions for variations if they differ. Closes #1629. 2012-11-16 13:50:15 +00:00
Andrei Barabas b7acbc2d2a Updated the ShareYourCart Integration such that it uses the latest SDK but still has the layout style of WooCommerce.
Analytics has been disabled
2012-11-16 13:55:15 +02:00
Mike Jolley 554634dd01 1 left in stock triggers is_sold_individually(). Closes #1701. 2012-11-15 15:28:08 +00:00
Mike Jolley d54bdb6609 Auto apply. #1641. 2012-11-15 15:12:42 +00:00
Mike Jolley a232f21575 Shipping tax class options. Closes #1625. 2012-11-15 14:01:16 +00:00
Mike Jolley 25077e6b20 Add disabled to settings API. Closes #1761. 2012-11-15 11:46:18 +00:00
Mike Jolley d804588334 Fix emails in gmail + added a function to insert inline styles. Closes #1710. 2012-11-14 17:44:58 +00:00
Mike Jolley 31e59aa6c0 Missing countries. Closes #1722. 2012-11-14 12:28:01 +00:00
Mike Jolley 514a313f0a Isset check Closes #1750. 2012-11-13 23:40:13 +00:00
Mike Jolley 58778fa4fe Store taxes on checkout 2012-11-13 15:28:39 +00:00
Mike Jolley 7e5d2ac174 Calc totals/tax rows rework 2012-11-13 14:54:34 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley f4a931f7cc Tweak panel layout and simplify get_items 2012-11-12 16:08:05 +00:00
Mike Jolley 6ecef0139c Calc totals for fees. 2012-11-12 14:34:10 +00:00
Mike Jolley a1ad595822 Add fees 2012-11-12 13:41:54 +00:00
Mike Jolley 8e74d043c1 template 2012-11-09 21:17:48 +00:00
Mike Jolley 2c26f06e55 Fees api started, and playing with line items 2012-11-09 21:15:15 +00:00
Mike Jolley fde3ba05bd Made armed forces 'states' under the US rather than in their own 'country'. Closes #1605. 2012-11-09 11:54:11 +00:00
Mike Jolley 764b34a938 Case insensitive coupons. Closes #1633. 2012-11-08 16:57:59 +00:00
Coen Jacobs 3baaf6029a Removed all deprecated classes and functions except for 1.6.x template files and functions 2012-11-08 16:27:47 +01:00
Mike Jolley 30410ff775 Dont track variable/grouped. Closes #1703. 2012-11-08 12:11:46 +00:00
Mike Jolley 92d61e5627 Fix grouped product issues. Closes #1693. 2012-11-08 11:15:52 +00:00
Mike Jolley 990fda440d fix guest cookie. 2012-11-08 10:22:39 +00:00
Mike Jolley 9bb52f8bd4 Work around rounding issue 2012-11-07 21:07:03 +00:00
Mike Jolley 1826e1632c Checkout line item clear 2012-11-07 21:06:52 +00:00
Mike Jolley ea3d1bb378 Filters for rate manipulation 2012-11-07 16:54:38 +00:00
Mike Jolley 58d60c5480 _cookie_expiration filter. Closes #1617. 2012-11-06 16:43:41 +00:00
Mike Jolley 133d93c592 Merge pull request #1673 from helgatheviking/feature/individual_product
allow any product to be sold individually
2012-11-06 06:01:59 -08:00
Mike Jolley 4124d0236c Class 2012-11-06 12:22:28 +00:00
Mike Jolley 54203455ba Set message. Closes #1681. 2012-11-06 11:31:31 +00:00
kathy 5f94c847b8 add woocommerce_add_order_item_meta hook 2012-10-31 12:09:22 -05:00
kathy 73175288c5 add write panel check box to allow any product to be sold individually 2012-10-31 12:02:32 -05:00
Mike Jolley aef47868fa Merge branch 'Line-items-data-tweak' 2012-10-24 17:53:44 +01:00
Mike Jolley df22e53412 Supress fclose errors. Closes #1631. 2012-10-24 11:28:45 +01:00
Mike Jolley 549880b8eb New structure for line items (this one uses meta more) 2012-10-23 17:41:42 +01:00
Mike Jolley 4b68bf78a3 PP clean 2012-10-20 15:40:27 +01:00
Mike Jolley c97aeaf533 use wp api for meta, and done the checkout 2012-10-19 18:59:17 +01:00
Mike Jolley a11804a61f add/remove/save meta 2012-10-18 18:56:28 +01:00
Mike Jolley 657c43a620 Order line work. 2012-10-18 14:47:21 +01:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Coen Jacobs 9769b8851f [3.2.4] Sanitization #1575 2012-10-18 12:33:52 +02:00
Max Rice 7d445a9822 update woocommerce_product_discount_after_tax_* hook 2012-10-17 11:50:36 -03:00
Coen Jacobs 9bca393e79 [3.2.3] Classes XSS #1575 2012-10-17 14:46:38 +02:00
Mike Jolley 38ccc92f47 [3.1.1] Append hash to logs and restrict directory listings. #1575. 2012-10-17 13:28:41 +01:00
Mike Jolley 36824b0849 woocommerce_order_item_needs_processing. Closes #1592. 2012-10-17 12:34:05 +01:00
Mike Jolley a3bf44b073 [3.2.4] Sanitize #1575 2012-10-16 16:46:41 +01:00
Mike Jolley 15eb48242a [3.2.3] XSS #1575 2012-10-16 16:46:41 +01:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley 596c408c27 Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771. 2012-10-14 13:06:41 +01:00
Mike Jolley ee0ff453d0 singular/plural Closes #1479. 2012-10-12 19:48:49 +01:00
Mike Jolley 2b0c8bdbda Exclude up-sells from related products. Closes #1555. 2012-10-12 18:44:23 +01:00
Mike Jolley 68749697b1 order actions 2012-10-12 15:30:20 +01:00
Coen Jacobs 98e9774653 Merge pull request #1597 from woothemes/resend-order-emails
Resend order emails, closes #1562
2012-10-12 06:56:49 -07:00
Coen Jacobs bfd041a197 Have Customer Invoice email accept order id as param too 2012-10-12 15:37:33 +02:00
Mike Jolley e12c8450ce Merge pull request #1526 from foxrunsoftware/master
PayPal Standard Payment Gateway Custom Order Number Support
2012-10-12 05:25:09 -07:00
Mike Jolley 34f230a0d0 Tax display tweaks. 2012-10-12 12:57:08 +01:00
Coen Jacobs d3618ff86a Prevent undefined $return variable. Closes #1588 2012-10-12 11:06:32 +02:00
Mike Jolley 3367403772 tweaks to password 2012-10-10 10:32:22 +01:00
Mike Jolley 07c9537fbb Merge pull request #1568 from maxrice/lost-password
added lost password shortcode / email notification
2012-10-09 22:09:25 -07:00
Mike Jolley 79324412d4 sku tweak. Closes #1479. 2012-10-08 13:54:31 +01:00
Mike Jolley 2d15a8aaac Schedule sale for variations. #1064. 2012-10-08 12:51:00 +01:00
Max Rice 2faa4d651b added lost password shortcode / email notification
I think the current process for a customer to reset their password is
jarring, especially if the shop hasn't styled the wordpress login form
to match their branding. The form process is mainly copied from the
same process in wp-login.php and fires the same actions to maintain
compatibility.
2012-10-04 14:51:07 -04:00
Mike Jolley 7236192711 Work on the product images panel. Closes #1504. 2012-10-04 18:09:18 +01:00
Mike Jolley c588c761e0 Local Pickup option needs associated state sales tax. Closes #1491. 2012-10-01 10:45:07 +01:00
Mike Jolley 3e8a3f8b60 Rate label hook. Closes #1534. 2012-09-30 19:43:11 +01:00
Mike Jolley 93849b89e7 Merge pull request #1530 from scottbasgaard/master
Update Product Image Title w/ Variation Image for Lightbox
2012-09-29 12:16:11 -07:00
Scott Basgaard add3f06819 Cleaned up States in WC_Countries
Brazil and New Zealand were not in alphabetical order. Also was a duplicate in Brazil for 'RS' => __('Rio Grande do Sul', 'woocommerce').
2012-09-25 15:55:37 +02:00
Brent Shepherd f2150e7c7c Filter WC_Cart->needs_payment() value 2012-09-24 12:54:41 +10:00
Mike Jolley cb2b935788 Tax expansion to allow city taxes, #94 2012-09-23 17:16:39 +01:00
Justin Stern 56c576d89b PayPal Standard Payment Gateway Custom Order Number Compatibility
Adds support for custom order numbers to the PayPal standard payment
gateway
2012-09-22 23:03:40 -04:00
Mike Jolley 5fcfe948d7 Handle add to cart differently, Closes #1517 and tweak messages Closes #1498. 2012-09-21 21:11:57 +01:00
Mike Jolley 3cc6d683be Check for cookie first. Closes #1518. 2012-09-21 16:55:09 +01:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00
Coen Jacobs 0833e00a63 Set session methods as default for all implementing classes 2012-09-12 16:21:13 +02:00
Coen Jacobs b392011a7b Offer way to override the session class
* Added abstract class to implement
* Implementing class is default
* Filter to replace the instance of the default class
2012-09-12 15:45:47 +02:00
Mike Jolley e9f0a8612f Made paypal use wc-api for IPN 2012-09-12 13:36:34 +01:00
Mike Jolley f2dd830dee tweak message 2012-09-12 13:09:54 +01:00
Mike Jolley aa34dd3714 tit 2012-09-12 13:05:53 +01:00
Mike Jolley 584c65eeb0 Session fixes 2012-09-12 12:48:30 +01:00
Mike Jolley 801c14f4ff exit 2012-09-12 12:09:16 +01:00
Mike Jolley 8d655c28c6 IPN validation 2012-09-12 12:08:35 +01:00
Mike Jolley 251a93855c Shipping vs billing for tax. Closes #1457. 2012-09-12 11:16:53 +01:00
Neil Pie ceaa69ae39 Update classes/class-wc-order.php 2012-09-09 16:25:02 +02:00
Mike Jolley e10a29b3c0 last bits 2012-09-07 20:50:34 +01:00
Mike Jolley 5019700d79 more sessions 2012-09-07 19:28:30 +01:00
Coen Jacobs cf938137fa Cart: Sessions to transients 2012-09-07 19:48:30 +02:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 87d897d657 maybe_unserialize 2012-09-07 14:52:12 +01:00
Mike Jolley 11413a93bc session class 2012-09-07 14:31:57 +01:00
Mike Jolley 7f3218cc66 Option to enable Cash on Delivery for select shipping methods only. Closes #1437. 2012-09-07 10:49:36 +01:00
Mike Jolley 1d95fef681 Added wildcard support to local delivery postcodes. Closes #1477. 2012-09-06 23:49:56 +01:00
Mike Jolley 6496215d48 show currency. Closes #1468. 2012-09-06 17:47:16 +01:00
Mike Jolley c73393fbec Merge pull request #1465 from WooCommerceEU/master
Minor update for nl_NL translation
2012-09-06 08:20:03 -07:00
Mike Jolley 4c4bc9f5d2 Multi download features, and added the expirey back. 2012-09-06 16:16:16 +01:00
Mike Jolley 72e3bf4bce Merge pull request #1450 from foxrunsoftware/master
Multiple Downloads per Product
2012-09-06 05:05:27 -07:00
Mike Jolley 43bdc4ce99 Add ID to apply_filters post_title 2012-09-05 20:40:09 +01:00
Ramon van Belzen 7cbdb42d74 Removed States / Counties for NL
as discussed last week
2012-09-02 13:03:19 +02:00
Mike Jolley 59a49c6c5f hook #1158 2012-08-31 18:40:58 +01:00
Mike Jolley 6560d92ecc deprecated function bug. #1455. 2012-08-31 14:25:45 +01:00
Mike Jolley 9d2b9be190 tweak string 2012-08-31 09:47:57 +01:00
Mike Jolley 8cdbf6b5a4 Added more error messages for coupons 2012-08-31 09:45:50 +01:00
Mike Jolley 26c57c25aa Merge pull request #1442 from thenbrent/paypal-prefix-fix
PayPal Prefix Fix
2012-08-30 02:11:59 -07:00
Justin Stern 9217ca09e0 Support for Multiple Downloads
Support for multiple downloadable files per product: both simple and
variable.  This includes all admin, frontend, and database modification
code required for allowing multiple files, while maintaining backwards
compatibility for existing single-file download URLs and templates.
2012-08-28 11:21:54 -04:00
Coen Jacobs 82b37effc3 Check for proper decimals setting before round()
@mikejolley can you check if this is not conflicting our recent
tax/rounding changes in any way? Defaulting to 0 now, ran into an edge
case where the value was not set, causing an error with the rounding
function.
2012-08-28 10:07:43 +02:00
Brent Shepherd 45be86cf31 Getting an order id by order key if invoice prefix has changed. #1440 2012-08-27 14:10:37 +10:00
Mike Jolley 3eeae3a164 Hide cart button when a variation is out of stock with disabled backorders. Closes #1419. 2012-08-25 11:02:02 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley 555cd9af60 replaced some date() with i18n. Closes #1428. 2012-08-25 10:20:56 +01:00
Mike Jolley 177592661c cleanup #1418 2012-08-24 18:22:21 +01:00
Mike Jolley 2605bf3da6 Merge pull request #1418 from kloon/master
Hide meta through prefix with display function
2012-08-24 10:16:19 -07:00
Mike Jolley ca5fca4455 Wipe line tax when an order is tax exempt 2012-08-24 18:14:49 +01:00
Gerhard 5ab3a7b234 Abillity to hide meta on order detail through prefix like _ 2012-08-24 10:38:45 +02:00
Mike Jolley 4c34904f38 SEO Wordaround 2012-08-22 20:44:27 +01:00
Mike Jolley 69478d4df3 Merge pull request #1401 from patrickgarman/master
Add $package data to WC_Shipping_Method::is_available( $package ) return
2012-08-22 08:37:01 -07:00
Mike Jolley 02b88b23b9 get_allowed_country_states() function. Closes #1407. 2012-08-22 16:13:58 +01:00
Patrick Garman 333d4de747 $package data would be good to have when filtering if shipping methods are going to be available. 2012-08-21 16:53:27 -05:00
Mike Jolley 03f64acf58 DP for #1383 2012-08-21 19:01:56 +01:00
Mike Jolley 975c701799 utm_nooverride Closes #1382. 2012-08-21 13:49:07 +01:00
Mike Jolley 647df60328 Republic of Ireland 2012-08-17 15:44:35 +01:00
Mike Jolley 8eec77120f Merge pull request #1374 from patrickgarman/master
Update NZ Regions
2012-08-15 11:43:07 -07:00
Mike Jolley 261dc12353 Some final docs... 2012-08-15 19:30:39 +01:00
Mike Jolley b5b665e9ec More class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 5d152f2181 Class docs 2012-08-15 19:15:10 +01:00
Mike Jolley 91430543bd More docs 2012-08-14 23:43:54 +01:00
Mike Jolley e3cd74f1cc Class docs 2012-08-14 23:43:54 +01:00
Mike Jolley 07b6b6d59a More class docs 2012-08-14 23:43:54 +01:00
Patrick Garman 66b5e6ae65 NZ Regions Update 2012-08-13 10:19:50 -05:00
Mike Jolley 8728c7a8c2 Titles and strstr. Closes #1366. 2012-08-12 15:12:52 +01:00
Mike Jolley d5163c5638 Made variation get_image() return instead of echo. Closes #1368. 2012-08-12 12:41:26 +01:00
Mike Jolley a7d7b6b6a6 Fix - Notice in invoice template with number_format 2012-08-12 09:28:07 +01:00
Mike Jolley 35186b2ac2 settings api - save mutliselect when empty 2012-08-11 16:41:28 +01:00
Mike Jolley 10a39244bd ecommerce track Closes #1361. 2012-08-10 16:56:13 +01:00
Mike Jolley 6d5b9991d3 version bump 2012-08-10 14:21:10 +01:00
Mike Jolley 59e6cf9d51 backwards comp. 2012-08-10 14:14:06 +01:00
Mike Jolley 277c55d596 Swapped invoice and custom in paypal and added prefix. Closes #1149. 2012-08-10 14:14:05 +01:00
Mike Jolley 702c0fde0c Payment/shipping dropdowns. Closes #1269. 2012-08-10 13:24:34 +01:00
Mike Jolley c92742284a Merge pull request #1358 from foxrunsoftware/master
Fix Downloadable Product Variation Linking in WC 1.6.2
2012-08-10 04:16:36 -07:00
Mike Jolley 9acb170520 Option to register using the email address as the username instead of entering a username. Closes #1027. 2012-08-10 12:15:32 +01:00
Justin Stern bdf5833531 Fix Downloadable Product Variation Link
Fix the downloadable product variation linking, which was broken in WC
1.6.2 due to the introduction of the has_file() method at the WC_Product
class, with an implementation that does not function properly for the
child WC_Product_Variation
2012-08-09 18:41:59 -04:00
Mike Jolley 6810107b56 case 2012-08-09 13:08:23 +01:00
Mike Jolley 56e8689c5d Merge pull request #1347 from scottbasgaard/master
Update Variation Image Title/Alt
2012-08-08 03:44:49 -07:00
Mike Jolley d5b9036e9a calc_tax hooks. Closes #1352. 2012-08-08 11:42:47 +01:00
Mike Jolley 6d7dae6b60 Localise comment emails. Closes #1353. 2012-08-08 09:21:30 +01:00
Kay.L c4a040cfd2 add trailing space to 'Shipping via'
On the Paypal.com checkout page, there is missing a trailing space on the text "Shipping via".

Before patch:
Shipping viaInternational Delivery


After patch:
Shipping via International Delivery
2012-08-08 03:22:14 +08:00
Scott Basgaard 713f6fa6f5 Update Variation Image Title/Alt
We should update the image title/alt when the product image changes for different variations.
2012-08-07 10:37:00 +02:00
kathy f2415b3761 switch get_price() checks to is_purchasable() for displaying Add to Cart button 2012-08-06 19:27:24 -05:00
Mike Jolley cedcca7fe7 is_purchasable. Closes #1331. 2012-08-07 00:33:52 +01:00
Mike Jolley 714f441ace Revised tax select box to allow top level country to be chosen (when the country has states) 2012-08-07 00:17:13 +01:00
Mike Jolley a1e330fe03 Fix for previous commit 2012-08-06 23:51:09 +01:00
Mike Jolley f48cafc1ff nz closes #1342. 2012-08-06 23:43:39 +01:00
Ramon van Belzen 58f8c863db Added provinces for NL 2012-08-06 18:24:11 +02:00
Mike Jolley 5eee013dd6 hook space 2012-08-06 13:24:59 +01:00
Mike Jolley 62a5039d76 Merge pull request #1339 from maxrice/master
added hooks to support analytics plugins
2012-08-06 05:24:13 -07:00
Mike Jolley c5f9170132 Merge pull request #1341 from franticpsyx/master
Added get_cart_contents_count() function and filter hook.
2012-08-06 05:22:02 -07:00
Manos Psychogyiopoulos 8dff33efa5 Added get_cart_contents_count() cart function. 2012-08-06 15:13:32 +03:00
Max Rice e9a75830c8 added hooks to support analytics plugins
successful ajax add to cart : woocommerce_ajax_added_to_cart,
$product_id

added valid coupon: woocommerce_applied_coupon, $coupon_code

reorded : woocommerce_ordered_again, $order->id

tracked order : woocommerce_track_order, $order->id

calculated shipping on cart : woocommerce_calculated_shipping
2012-08-05 12:42:25 -04:00
George Mamadashvili 59c2d18406 WC_Product::has_file should return bool
Return false if downloadable product has no file attached.
2012-08-04 12:28:39 +04:00
Mike Jolley 34691f098c product query action 2012-08-02 22:54:32 +01:00
Aaron Holbrook 2c0bbbe632 Update classes/class-wc-order.php 2012-07-31 21:15:37 -05:00
Mike Jolley e86cbfe59e prevent notice when id is not set 2012-07-31 13:28:03 +01:00
Mike Jolley 27a1ae8ee8 Store customer IP and UA on purchase. Closes #1318. 2012-07-31 13:11:17 +01:00
Mike Jolley 2e96d554ce has_file() Closes #1275. 2012-07-31 12:58:00 +01:00
Mike Jolley a322a83a7d analytics tracking 2012-07-30 16:01:33 +01:00
Mike Jolley e2ee473453 Merge pull request #1316 from maxrice/ga_event_tracking
add google analytics event tracking for add to cart
2012-07-30 05:52:30 -07:00
Max Rice c7eed14159 add google analytics event tracking for add to cart
Revised implementation of GA event tracking after feedback on #1315.
Adds jQuery .click bind on add to cart buttons on both single product
pages and loop pages.

new filter:
woocommerce_ga_event_tracking_parameters - allows change of category,
action, or label parameters included in _trackEvent

closes #1256
2012-07-29 16:39:28 -04:00
Mike Jolley 0a5a03bf0c settings page slug. Closes #1306. 2012-07-29 11:21:17 +01:00
Mike Jolley d68ef09e06 Round the discount. Closes #1297.
With cart percent discounts, before tax, we do it per item to account
for varying tax rates.

We need to round these values so the totals match. This may result in a
1p more or less overall, but per item it is correct.
2012-07-27 15:11:09 +01:00
Mike Jolley 07e2d50363 PayPal standard: No longer using shipping_1 2012-07-27 13:59:51 +01:00
Mike Jolley 85a9df86f1 Tweak locale. Closes #1302. 2012-07-26 17:29:49 +01:00
Mike Jolley 5845b37ca2 settings api 2012-07-26 15:11:29 +01:00
Mike Jolley 977384b6f8 Merge pull request #1290 from ChuckMac/master
Add Title Setting To WC_Settings_API
2012-07-26 06:59:34 -07:00
Mike Jolley 67bf56c399 Merge pull request #1293 from kloon/master
Ability to hide meta data on cart
2012-07-26 06:30:30 -07:00
Mike Jolley fde5f594e3 Set price after refreshing variation costs 2012-07-25 17:24:17 +01:00
Gerhard 96e078b99a Ability to hide meta fields on cart 2012-07-24 11:18:03 +02:00
ChuckMac 2c9512b153 Adding generate_title_html function 2012-07-23 14:43:38 -04:00
Aaron Holbrook b4a62dc49b Fixed typos (depreciate should be deprecate) 2012-07-23 13:14:02 -05:00
Aaron Holbrook e4146d4c30 Fixed typo 2012-07-22 10:16:51 -05:00
Mike Jolley 6666af8de9 Merge pull request #1281 from maxrice/master
coupons tweaks
2012-07-22 05:53:24 -07:00
Max Rice 48d4c16353 add coupon used order note at checkout 2012-07-20 18:52:27 -04:00
Mike Jolley ea80bd2814 US Zip Code validation 2012-07-20 12:40:13 +01:00
Mike Jolley a239922632 reset loop on loop_end 2012-07-19 22:52:28 +01:00
Mike Jolley 68399b3e4f State field default status. Closes #1268. 2012-07-18 20:07:32 +01:00
Mike Jolley 7c31003b47 Merge pull request #1267 from GeertDD/fix_postcode_before_city
Fix for putting postcode before city field
2012-07-18 07:36:26 -07:00
Geert De Deckere 803d6e1dc4 Fix for putting postcode before city field 2012-07-18 13:32:55 +02:00
Mike Jolley 5ec11abf9c localize Closes #1266. 2012-07-18 09:38:00 +01:00
Mike Jolley 1be0b9f8f2 Backorder handling. Closes #835. 2012-07-17 19:11:14 +01:00
Mike Jolley b1b9e57fad User the mailer class. Closes #1255. 2012-07-17 15:36:08 +01:00
Mike Jolley 638f91677d get_title on checkout. Closes #1259. 2012-07-17 15:28:26 +01:00
Mike Jolley 920314ea14 current check contents. Closes #1258. 2012-07-17 15:21:48 +01:00
James Collins 8fd4b636af 1.6.0 beta 1 version number updates
Corrects deprecated function version number, and plugin version number.
2012-07-17 12:54:42 +10:00
Mike Jolley 1b0a206bd9 Handling for non-JS checkout 2012-07-16 20:21:44 +01:00
Mike Jolley 32ae079fa6 set_price. Closes #1231. 2012-07-16 17:23:17 +01:00
Mike Jolley 4dcde409b8 Edit attribute slugs after creation. Closes #821. 2012-07-16 15:57:18 +01:00
Mike Jolley 880e8b6b0f Don't show price when variation prices don't differ. Closes #1199. 2012-07-11 23:19:33 +01:00
Mike Jolley 5cd01f58a0 get_order_item_totals() total_rows have fixed indexes for easier manipulation. Closes #1059. 2012-07-11 19:32:00 +01:00
Mike Jolley a764608461 order_note comment type for future order notes, allowing you to filter in the comments section and show order notes in admin (so you can remove them). Closes #1244. 2012-07-11 15:53:40 +01:00
Mike Jolley fac3756e65 killed query posts 2012-07-11 15:13:11 +01:00
Mike Jolley 1910f4a4f7 Coupon usage counts on cancell. Closes #1210. 2012-07-10 16:52:52 +01:00
Coen Jacobs 54c6b044bc Filter on add to cart url
@mikejolley please review
2012-07-10 16:09:55 +02:00
Mike Jolley af549be954 Tweak locales. Closes #1194. 2012-07-10 13:36:13 +01:00
Coen Jacobs 52fd982547 Colombia zipcodes are not required 2012-07-09 16:46:51 +02:00
Mike Jolley d8a969610f get_title() Closes #1204
Like the gateways now have.
2012-06-30 00:20:07 +01:00
Mike Jolley 2d8981c0fb Out of stock tweaks. #1191. 2012-06-29 20:40:18 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +01:00
Mike Jolley f2f847ad5b Tweaks to #1180. And get_image confusion resolved (it shouldn't echo) 2012-06-29 18:56:42 +01:00
Mike Jolley fded81c26b Merge pull request #1197 from katzwebservices/master
Allow for more informed email filtering
2012-06-29 10:06:26 -07:00
Mike Jolley 491c02b35d Tweaks to previous merge 2012-06-29 17:51:15 +01:00
Mike Jolley 9b73be6eb1 Merge pull request #1202 from CodeRepublic/master
Modify WC_Product::get_image() for return
2012-06-29 09:48:08 -07:00
Mike Jolley cd35f60011 Windows CRT fix 2012-06-29 17:38:00 +01:00
matt 2b54280999 Modify WC_Product::get_image() for return
Function currently only echos. Commit enables function to return product
image. WCP+A replaces the product thumbnail with photo preview
thumbnail. Original function showed two thumbnails directly next to each
other.
2012-06-29 11:08:50 -04:00
Mike Jolley de83aac565 is_front_page workaround. @coenjacobs review please 2012-06-29 10:23:21 +01:00
Mike Jolley 35f74206f2 If address is required check for state OR postcode to see if an address has been entered yet. Some countries don't have states. 2012-06-27 15:18:10 +01:00
Mike Jolley 57fe4db23c Scheduled on sale ignored from sale widget 2012-06-27 12:00:24 +01:00
Zack Katz 98f84310cf Add object data to filters
Pass valuable object data to filters.
2012-06-26 19:09:39 -06:00
Mike Jolley 57bf97230d Fix get shipping class id 2012-06-26 13:17:08 +01:00
Mike Jolley 5cb6354945 tax fix 2012-06-21 13:06:48 +01:00
Mike Jolley dc2be540b3 this doesn't work. use is_shop instead 2012-06-21 00:10:12 +01:00
Mike Jolley 552484e248 When SHOP_IS_ON_FRONT set is_front_page to true 2012-06-20 20:02:26 +01:00
Mike Jolley 023ee52246 Zero tax check in totals.php 2012-06-20 19:53:35 +01:00
Coen Jacobs dd7fde369d Make hash before order number translatable. Closes #1161 2012-06-20 19:25:18 +02:00
Mike Jolley cb1f1f9a28 Allow html in notes and use textarea. Closes #1171. 2012-06-20 18:19:35 +01:00
Coen Jacobs 863918f7f4 Revert "Moved # character in translatable order strings. Closes #1161"
This reverts commit f6c83fe6aa.
2012-06-20 19:18:16 +02:00
Coen Jacobs f6c83fe6aa Moved # character in translatable order strings. Closes #1161 2012-06-20 19:14:33 +02:00
Mike Jolley d83f5f7c61 woocommerce_get_tax_rates Closes #1163. 2012-06-20 15:24:56 +01:00
Mike Jolley 3f843ecd25 Merge pull request #1164 from GeertDD/order_title
Made shop order title translatable
2012-06-20 07:17:10 -07:00
Mike Jolley 23a9f6595b Widget fixes and tax glitch. Closes #1176. 2012-06-20 15:14:09 +01:00
Mike Jolley 55726c8a2d $query fix 2012-06-20 10:01:40 +01:00
Mike Jolley 430480964f Fix strpos warning 2012-06-18 12:36:42 +01:00
Mike Jolley bd3a6f264a Remove depreciated ereg_replace in validation class 2012-06-15 18:30:00 +01:00
Geert De Deckere cd384293fe Made post title of an order translatable 2012-06-15 11:27:50 +02:00
Mike Jolley 99c859ca30 Small save bug with Mijireh 2012-06-14 17:25:49 +01:00
Mike Jolley f48f8fa26b Optimised front-page query 2012-06-14 00:52:21 +01:00
Mike Jolley 967da77d88 Check coupons are valid before cart/checkout 2012-06-13 19:58:06 +01:00
Mike Jolley 287f1824e4 Merge pull request #1150 from nodar44/master
Correcting 'description' on class-wc-mijireh-checkout.php line 173
2012-06-12 10:04:32 -07:00
Mike Jolley 517c6186cb Show shipping. Closes #933. 2012-06-12 17:23:10 +01:00
Arnaud CHEMINAND 5407936b6c Correcting 'description' on line 173 2012-06-12 17:22:14 +03:00
Mike Jolley ec4a59432a Better errors. Closes #1018. 2012-06-10 19:07:19 +01:00
Mike Jolley 4d7d184698 newlines and styling tweak. Closes #1112. 2012-06-10 18:45:43 +01:00
Mike Jolley f9f1bb9ddd Ordering tweaks/improvements and variation prices. Closes #1097. 2012-06-10 18:15:02 +01:00
Mike Jolley 7036acf989 Cart widget respects cart tax settings, Exempt from VAT shows price ex VAT. Closes #1128. 2012-06-10 15:48:52 +01:00
Mike Jolley 06398f4a5b Variations maintain selections after adding to cart. Closes #926. 2012-06-10 13:53:26 +01:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley 1443e07122 format phone. Closes #1076. 2012-06-10 10:44:13 +01:00
Mike Jolley db84f5b429 refactor variation add to cart. Closes #1134. 2012-06-10 10:15:23 +01:00
Mike Jolley 0f905e9cd0 mijireh gateway 2012-06-08 11:46:10 +01:00
Mike Jolley 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
Mike Jolley f62d0efd69 Country when adding order. Closes #1032. 2012-06-06 20:11:36 +01:00
Mike Jolley 5f1b94fe1c Tax settings use allowed countries only. Closes #971. 2012-06-06 18:59:54 +01:00
Mike Jolley f2ead358e6 Key added to woocommerce_get_cart_item_from_session filter 2012-06-06 12:27:19 +01:00
Mike Jolley 1f68bf809d Merge pull request #1116 from GeertDD/local_pickup_is_available
Applied woocommerce filter to all return values of the is_available method
2012-06-05 05:35:42 -07:00
Mike Jolley 405a1eb147 out of state rounding tweaks 2012-06-05 12:21:52 +01:00
Geert De Deckere fd8cc65146 Pass package information to filter 2012-06-05 10:13:25 +02:00
Geert De Deckere d7bf7c7ec8 Applied woocommerce filter to all return values of the is_available method 2012-06-05 09:48:46 +02:00
Mike Jolley dd8ca7e86d fixes 2012-06-03 13:13:52 +01:00
Mike Jolley ada45331d0 update date during payment 2012-06-03 13:12:41 +01:00
Mike Jolley cf0ee3fdea Minimum coupon amount check 2012-06-01 19:01:44 +01:00
Mike Jolley c4e25e1dcc get shipping class id function 2012-05-31 11:05:13 +01:00
Mike Jolley 0ac088bb19 pass fields 2012-05-30 09:54:42 +01:00
Mike Jolley d660cd6ef9 allow passing of fields 2012-05-29 16:27:12 +01:00
Mike Jolley 22aaa8691b shipping API tweaks. Only loaded when needed, and supports instances. 2012-05-29 15:02:27 +01:00
Mike Jolley 490ae5eb99 Modified 'supports' function to make it easier to use 2012-05-29 15:02:26 +01:00
Mike Jolley 83c0c58fa3 code tweaks/cleanup 2012-05-29 15:02:26 +01:00
Mike Jolley b7894b14ca Counts. #1084. 2012-05-28 10:19:29 +01:00
Mike Jolley 19be69d1d8 Line endings. Closes #1065. 2012-05-26 17:25:07 +01:00
Mike Jolley 3ce758156f Merge pull request #1080 from thenbrent/order-filters
A Few More Filters for WC_Order
2012-05-26 09:06:21 -07:00
Mike Jolley 9f32a166c0 Merge pull request #1078 from thenbrent/cart-filters
Adding WC_Cart Formatting Filters
2012-05-26 09:05:52 -07:00
Mike Jolley c6c046da81 supports #1069 2012-05-26 15:29:54 +01:00
Mike Jolley f118af5721 Merge pull request #1069 from thenbrent/payment-gateway-supports
Adding Support Check Function to WC_Payment_Gateway
2012-05-26 07:27:36 -07:00
Brent Shepherd a1b3125258 Removing error log call that snuck in. 2012-05-25 21:10:17 +10:00
Brent Shepherd 33acc4c48b Adding get_cart_discount_to_display & get_order_discount_to_display filters & functions. 2012-05-25 20:54:52 +10:00
Brent Shepherd b43dc034e0 Adding order_shipping_to_display & order_subtotal_to_display filters. 2012-05-25 16:36:38 +10:00
Max Rice 7ccef801d1 fixed typo preventing user_email from updating on checkout 2012-05-24 23:34:58 -04:00
Brent Shepherd a08ed36f23 Adding cart_contents_total filter. 2012-05-24 15:58:19 +10:00
Brent Shepherd 95fd76d896 Adding cart total filters. 2012-05-23 21:30:26 +10:00
Brent Shepherd 808a482fed Centralising use of woocommerce_price() for cart taxes with new WC_Cart::get_formatted_taxes() function and adding new woocommerce_cart_formatted_taxes filter. 2012-05-23 15:24:04 +10:00
Brent Shepherd 100c4c7c49 Adding cart discount filters to WC_Cart::get_discounts_before_tax(), WC_Cart::get_discounts_after_tax() and WC_Cart::get_total_discount(). 2012-05-23 12:15:04 +10:00
Brent Shepherd 4d9f8db10b Adding cart_product_subtotal filter to WC_Cart::get_product_subtotal(). 2012-05-23 12:05:55 +10:00
Brent Shepherd 53136b7c9f Adding cart subtotal filter. 2012-05-23 12:03:41 +10:00
Mike Jolley 0582078acc postcode validation when country is different for shipping vs billing 2012-05-22 21:31:27 +01:00
Mike Jolley 5c4799e64b woocommerce_shipping_chosen_method hook 2012-05-22 09:30:26 +01:00
Brent Shepherd bbd33a4217 Adding WC_Payment_Gateway::is_supported() function for gateways to register support for certain features. 2012-05-22 11:04:05 +10:00
Coen Jacobs 1ee9e2388d Merge pull request #1068 from GeertDD/kowloon
Kowloon spelling fix. Closes #1066
2012-05-21 07:35:19 -07:00
Geert De Deckere 559edb415e Kowloon spelling fix 2012-05-21 16:17:04 +02:00
Mike Jolley 09ae0adfab chosen method for UPS 2012-05-21 14:36:25 +01:00
Mike Jolley 96f5e7464f removed unused function 2012-05-17 13:56:18 +01:00
Coen Jacobs 0bd3d5cbb8 Prevent error in ecommerce tracking if no categories set 2012-05-17 13:37:44 +02:00
Coen Jacobs 6fe3b788d9 Added filter on get_available_payment_gateways. Closes #1050 2012-05-17 11:40:50 +02:00
Coen Jacobs cd1adebf83 get_stock_quantity returns '' if stock is off in global settings. Closes #1046 2012-05-17 11:16:41 +02:00
Mike Jolley 11a7c438f5 sharethis image support Closes #1038. 2012-05-16 18:32:11 +01:00
Mike Jolley 01abd92f0a woocommerce_get_price_html Closes #1040. 2012-05-16 18:13:29 +01:00
Coen Jacobs a3cd01c535 Added cost per order to Flat Rate shipping. Closes #1036 2012-05-16 12:00:23 +02:00
Mike Jolley 00d6ab00a6 Merge pull request #1047 from foxrunsoftware/master
Order Number Changes
2012-05-16 02:40:37 -07:00
Coen Jacobs 745ed4186d Flat Rate Shipping code update 2012-05-16 10:03:49 +02:00
Justin Stern d23fbcc698 Order Number Changes
Order number changes in preparation for the Sequential Order Number
plugin
2012-05-15 20:23:43 -04:00
Mike Jolley c292060045 % discount rounding 2012-05-13 19:17:39 +01:00
Mike Jolley 12f9241162 fix analytics settings 2012-05-11 21:41:18 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +01:00
Mike Jolley 564a07ed77 When the count of available shipping methods changes, reset to default 2012-05-10 16:35:36 +01:00
Mike Jolley 5686e0826a notice 2012-05-10 13:51:35 +01:00
Mike Jolley e6f5426839 Tweaks for launch 2012-05-10 12:45:14 +01:00
Mike Jolley e92ceaae15 No word from .org team - removing wootransmitter for now 2012-05-10 10:34:44 +01:00
Mike Jolley 6c3bf05433 Tweak - After getting a shipping quote, use the shipping address for taxes on the cart page 2012-05-09 18:29:29 +01:00
Mike Jolley 7e3d400af0 order amount hooks 2012-05-09 11:09:45 +01:00
Mike Jolley 2cac2f9d68 Drag and drop ordering for products. Closes #95. Closes #995. 2012-05-08 20:30:18 +01:00
Mike Jolley 4adc961597 compound tax is show after cart discounts and thus needs to have them removed. Closes #1006. 2012-05-08 18:47:35 +01:00
Mike Jolley 9d30ad15fa wootrans opt in 2012-05-08 17:29:27 +01:00
Mike Jolley a537b2c18f Woo Transmitter Integration 2012-05-08 16:23:09 +01:00
Geert De Deckere 75d8163d36 Made shipping classes a bit more DRY 2012-05-05 15:32:24 +02:00
Mike Jolley afd3eda733 unhook correction 2012-05-03 17:48:42 +01:00
Max Rice c3fa081a44 fix call_user_func warning
Warning: call_user_func_array() expects parameter 1 to be a valid
callback, class 'WC_Google_Analytics' does not have a method
'google_tracking_code' in /htdocs/wp-includes/plugin.php on line 405

tracking functions were inside of init_form_fields()
2012-05-03 11:56:08 -04:00
Mike Jolley 6ff4053797 free shipping logic 2012-05-03 14:00:45 +01:00
Mike Jolley 90ad5da65b Merge pull request #990 from thenbrent/new-order
New WC_Order Class Formatting Filters & Function
2012-05-01 17:07:25 -07:00
Mike Jolley c380861778 coupons in packages to prevent cached methods 2012-05-01 20:24:22 +01:00
Mike Jolley b80a296b7d labels 2012-05-01 10:39:53 +01:00
Mike Jolley 3bfb91ca0c init class 2012-05-01 10:19:56 +01:00
Mike Jolley 62c1d9d15c ShareYourCart + integration tweaks 2012-04-30 20:50:52 +01:00
Brent Shepherd 1f8409ad0b Updating instance of woocommerce_price( $this->get_order_total() ) to use new get_formatted_order_total() function. 2012-04-27 12:38:06 +10:00
Brent Shepherd a75902d292 Ugh variable name typo, teach me to commit/push before testing - sorry! 2012-04-27 12:27:37 +10:00
Brent Shepherd 0b49818a5e Adding "woocommerce_order_formatted_line_subtotal" filter to get_formatted_line_subtotal function. Adding new WC_Order::get_formatted_order_total() to centralise order total formatting and provide a new filter for order total. Replacing all instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function. 2012-04-27 12:18:18 +10:00
Mike Jolley 5249935ce4 Removed nonces from add to cart urls 2012-04-25 11:32:45 +01:00
Mike Jolley a4ec7d04d3 Prevent arrays which fail the empty() check 2012-04-25 10:27:46 +01:00
Mike Jolley fd44780935 Options tweak and stock display format option. 2012-04-24 19:15:56 +01:00
Coen Jacobs 4f88788c5c Readme bump on last two fixes 2012-04-24 16:14:36 +02:00
Coen Jacobs adf28c1633 Use term_id (casted to int) for get_term_link( function 2012-04-24 13:43:01 +02:00
James Koster ff8d9f395c consistency 2012-04-23 22:22:41 +01:00
Mike Jolley fc0e067613 per product flat rate. Closes #979. 2012-04-23 15:32:21 +01:00
Mike Jolley 375d973128 When sending the order as a whole to paypal, send the shipping separately.. Closes #976. 2012-04-23 15:02:48 +01:00
Mike Jolley 1f2a09869c Only use rm=2 for paypal when SSL is enabled, to avoid security warnings when returning to the site. 2012-04-23 14:08:29 +01:00
Coen Jacobs e0cfb04962 Added woocommerce_before_cart_item_quantity_zero action 2012-04-23 14:28:47 +02:00
Mike Jolley 68586f3005 Collect shipping address even when not required 2012-04-21 19:30:37 +01:00
Mike Jolley db2c776855 small tidy 2012-04-21 19:10:01 +01:00
Mike Jolley 9a88f6b46e woocommerce_get_price hook 2012-04-21 17:38:34 +01:00
Mike Jolley 9150c0695b Removed space from postcode validation. Closes #968. 2012-04-21 14:47:11 +01:00
Mike Jolley 0769f8843f Cart/sold individually 2012-04-20 12:09:49 +01:00
Mike Jolley 392571aab0 exists function 2012-04-20 11:17:40 +01:00
Mike Jolley a39fdd1612 Shipping calc state -> checkout. Closes #959. 2012-04-19 12:09:52 +01:00
Mike Jolley a7701311d9 Merge pull request #950 from GeertDD/flat-rate-options
Allow more readable flat rate options to be entered
2012-04-19 03:18:01 -07:00
Coen Jacobs c0cb5b27de Added minus symbol to cart discount labels too 2012-04-18 17:36:55 +02:00
Coen Jacobs 17f0f24101 Order, function get_order_item_totals code standards update 2012-04-18 12:29:30 +02:00
Coen Jacobs 40ed01104e Added minus symbol before discount on view order page 2012-04-18 12:16:18 +02:00
Mike Jolley 0481a2bd0f PayPal http_build_query & -> & on some PHP 5.3 servers 2012-04-18 11:04:31 +01:00
Geert De Deckere 4c08f7bf6d Allow more readable flat rate options to be entered 2012-04-18 08:03:28 +02:00
Mike Jolley 727a4b1cf4 stock notifications 2012-04-17 12:53:02 +01:00
Coen Jacobs b8d084ef29 Check for set notification options before sending notification 2012-04-17 13:10:38 +02:00
Mike Jolley 6b06b7f739 exclude products 2012-04-17 12:06:08 +01:00
Mike Jolley 4f905a0e67 Local rates were being ignored if no main rates were set 2012-04-16 18:55:35 +01:00
Mike Jolley 74d1cc0038 just a comment 2012-04-16 18:20:36 +01:00
Mike Jolley ea15344c9e get_woocommerce_currency 2012-04-16 16:27:18 +01:00
Mike Jolley 897737e425 Only show cart errors in cart-errors.php Closes #924. 2012-04-16 15:39:40 +01:00
Mike Jolley 27b2c87600 Feature - Local delivery cost per item condition 2012-04-16 10:13:13 +01:00
Mike Jolley f6ba5187fa tweak to comment code 2012-04-15 00:37:37 +01:00
Mike Jolley 7aa97b0f38 product attributes template 2012-04-13 18:33:56 +01:00
Mike Jolley 1b0748fdd7 title 2012-04-13 13:13:16 +01:00
Coen Jacobs d4ab1259fc Check if $key is set before outputting values to prevent notices 2012-04-13 13:37:17 +02:00
Mike Jolley 775047514c is_available for packages 2012-04-13 12:35:14 +01:00
Mike Jolley b846131f82 "Package" support for shipping calculations - allows third parties to split the cart up to calc shipping. Also caches packages meaning the cart shipping only needs to be calculated once (until totals or customer location changes) 2012-04-13 12:16:24 +01:00
Mike Jolley a4e65d3636 weight unit space 2012-04-12 22:59:17 +01:00
Mike Jolley 67956705a4 filter to avoid empty arrays 2012-04-12 19:18:55 +01:00
Mike Jolley aba42b5fc0 Small template cleanup 2012-04-12 17:22:56 +01:00
Mike Jolley c6a6949c5c filter tweaks 2012-04-12 16:11:12 +01:00
Mike Jolley f510b40514 Minimum fee option for flat rate shipping 2012-04-12 11:04:15 +01:00
Mike Jolley afd727bb24 Improved variations panel, bulk edit, and added tax classes for variations. Closes #779. 2012-04-11 18:56:54 +01:00
Mike Jolley b9bec0be75 show_shipping. Closes #901. 2012-04-11 13:08:04 +01:00
Mike Jolley 0df360ed9c Wrong code for quebec (QC) 2012-04-11 12:05:36 +01:00
Mike Jolley b04bdceda0 Shipping method settings and save hook changes 2012-04-11 10:01:22 +01:00
Mike Jolley 9f3e958601 page style Closes #904. 2012-04-10 18:49:56 +01:00
Mike Jolley a9a5f0ceca extra actions for checkout. @8cc310c14ab55131a79f4340a37ef392283fc3ab 2012-04-10 18:21:33 +01:00
Mike Jolley 6f62606365 generate cart id match add_to_cart arguments 2012-04-10 17:56:44 +01:00
Mike Jolley 96ebb1f9f4 Fix for last commit 2012-04-10 13:14:31 +01:00
Mike Jolley ee574e1ef8 Changed the filters for checkout field locales - lets you override the base country labels 2012-04-10 13:07:23 +01:00
Mike Jolley 9f65e7e1cb Hook change 2012-04-10 12:18:41 +01:00
Mike Jolley 6363420508 hooks for stock increase/decrease 2012-04-09 14:58:00 +01:00
Mike Jolley 86c8da6189 New walkers. Closes #891. 2012-04-05 17:51:36 +01:00
Coen Jacobs 592037a193 Filter available shipping methods. Closes #897 2012-04-05 17:29:22 +02:00
Mike Jolley 586a49b59e filter tweaks 2012-04-03 15:46:28 +01:00
Mike Jolley b18c7e5ec3 woocommerce_add_to_cart filter 2012-04-03 15:37:04 +01:00
Mike Jolley 78b2a2cf80 RMB paypal 2012-04-02 13:25:39 +01:00
Mike Jolley 97e41adc93 canada post code handling 2012-04-02 11:37:17 +01:00
Mike Jolley ab7953a646 Don't mail the password 2012-03-30 21:02:36 +01:00
Mike Jolley fe908e5c94 settings api notices 2012-03-30 16:15:11 +01:00
Mike Jolley c14c86688d notices 2012-03-30 16:13:01 +01:00
Mike Jolley 8d0167acf3 PayPal option explanation 2012-03-28 21:21:21 +01:00
Mike Jolley cfa383eaf4 Improved stock check. Closes #778. 2012-03-28 18:42:35 +01:00
Mike Jolley 2acd63d6c4 Fix notices 2012-03-27 17:50:08 +01:00
Mike Jolley 6ee297aaba Additional paypal standard option 2012-03-27 13:21:07 +01:00
Mike Jolley f692cf576f 'Invoice' for completed/pending emails re-sends download links etc. Closes #817. 2012-03-26 21:11:39 +01:00
Mike Jolley 8011374d6c Locale tweaks. Closes #840. 2012-03-26 20:35:55 +01:00
Mike Jolley 3c79593db5 error in last commit 2012-03-26 20:28:19 +01:00
Mike Jolley 58679cb50e Additional isset checking closes #837. 2012-03-26 20:16:05 +01:00
Mike Jolley fa74010038 Hooks for countries and states. Closes #849. 2012-03-26 18:55:30 +01:00
Mike Jolley 2927a52743 Update order dates. Closes #845. 2012-03-26 18:30:00 +01:00
Mike Jolley 6695037b85 the_posts filter for relevenssi compat 2012-03-26 15:34:23 +01:00
Mike Jolley 659d3ee3b4 get order number function complete with filter. Tweak the display of order ID's if you use custom numbering.
Had to tweak some localisation strings to dump the '#' symbols.
2012-03-26 11:26:50 +01:00
Patrick Garman 97705e28c3 Adding some backwards compatability 2012-03-24 21:34:59 -05:00
Patrick Garman 705b7fe7ab Limit local delivery to post codes. Cleans user (admin and customer) input by sanitizing, then removing the dashes. Meaning "0 e49489--- 34938" == "0E4948934938" all day long :) 2012-03-24 21:01:09 -05:00
Mike Jolley bd04e2eb26 fix after tax product cat coupons 2012-03-23 20:46:17 +00:00
Mike Jolley f0742cdddf View cart link in 'you already have this in your cart' message 2012-03-23 19:15:31 +00:00
Mike Jolley 99cff34206 Debug panel with transients clearer and role reseter tools 2012-03-23 16:28:27 +00:00
Mike Jolley b89cc7e8eb option for paypal - form vs querystring 2012-03-21 19:19:34 +00:00
Mike Jolley 12f296f943 Code tweaks + small changes to inventory panel 2012-03-21 18:37:57 +00:00
Mike Jolley bcec344c27 data tip. Closes #841. 2012-03-20 19:40:52 +00:00
Mike Jolley 823c2921c6 load order tweaks 2012-03-20 19:22:10 +00:00
Mike Jolley 18e712ac62 Merge pull request #856 from GeertDD/fix_i18n_init
Fixed the initialisation of the language files
2012-03-20 11:52:28 -07:00
Mike Jolley aea9f5f55e fix coupon check 2012-03-20 18:36:25 +00:00
Mike Jolley 4fe459ddc5 force variations visible 2012-03-20 17:30:02 +00:00
Mike Jolley a83014584d hook for stock 2012-03-20 17:29:53 +00:00
Geert De Deckere 9c5a8d7d81 Merge branch 'master' into fix_i18n_init
Conflicts:
	classes/class-wc-cart.php
	woocommerce.php
2012-03-20 15:32:29 +01:00
Geert De Deckere 2e27ea3108 Call WC_Cart->init() method directly from within the init hook 2012-03-20 14:50:19 +01:00
Mike Jolley 05c6a14200 Merge pull request #851 from curtismchale/master
Cleans up debug notices on the tax class if the user has not saved any option on the backend of the site.
2012-03-20 06:30:39 -07:00
Mike Jolley 928543c35e cart and main cleanup 2012-03-20 13:22:35 +00:00