Commit Graph

5572 Commits

Author SHA1 Message Date
Gregory K 4ff46b96e0 Typo in verify_nonce() 2013-09-25 08:12:48 -04:00
Mike Jolley ef49977905 add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
Closes #3484 and Closes #3143. Pinging @thenbrent as the handler was
originally his idea and I've killed it.

@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley e58b101fd5 If no variations exist, show out of stock notice. Closes #3763. 2013-09-25 09:36:04 +01:00
Mike Jolley fd86647420 WOOCOMMERCE_TEMPLATE_PATH not dir, closes #3831 2013-09-25 08:07:51 +01:00
Mike Jolley 479e4b5f89 Merge pull request #3827 from pmgarman/master
wp_insert_post should have true as $wp_error parameter
2013-09-25 00:02:52 -07:00
Mike Jolley bb78c3fa32 Merge pull request #3829 from thenbrent/add-payment-complete-actions
Add new payment complete actions (to master)
2013-09-25 00:02:09 -07:00
Mike Jolley 51cc6b1bd5 Merge pull request #3830 from tivnet/master
woocommerce.php PHPDoc cleanup: correct @returns and @deprecated markup
2013-09-24 23:58:12 -07:00
Gregory K ba19a632b3 woocommerce.php PHPDoc cleanup: correct @returns and @deprecated markup 2013-09-24 23:11:42 -04:00
Brent Shepherd bbcc2441a4 Add new 'woocommerce_pre_payment_complete' action
And an action to fire when order status != pending|on-hold|failed
2013-09-24 19:54:04 -07:00
Patrick Garman fab4ba373c Changelog update for PR #3827 2013-09-24 16:46:59 -05:00
Patrick Garman 1292a9f51a wp_insert_post should have true as $wp_error parameter
Add `true` as $wp_error parameter for wp_insert_post, otherwise it returns zero instead of a WP_Error object and the checkout process is not stopped.

@mikejolley - the messages from WP_Error are not displayed or logged, making debugging this difficult. Maybe we should check WP_DEBUG and display the message if it is set to true? either that or actually use the logger in WooCommerce for the first time?
2013-09-24 16:08:32 -05:00
Mike Jolley 66adf51e67 Filterable get_base_postcode and _city methods used for base taxes. Closes #3810 2013-09-24 16:56:55 +01:00
Mike Jolley de9bc28b43 Prevent variable products without variations from being posted and show error in admin. Closes #3763 2013-09-24 16:37:51 +01:00
Mike Jolley b5a798c9af Fix variation saving and notices 2013-09-24 16:21:12 +01:00
Mike Jolley 51ee4ee2d8 Allow access to admin-post Closes #3814 2013-09-24 15:21:40 +01:00
Mike Jolley c58d5d5ea4 is_in_stock uses notify_no_stock_amount option. Closes #3446. 2013-09-24 13:31:15 +01:00
Mike Jolley 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00
Mike Jolley a5d71a8113 Fix for submitting comments 2013-09-24 11:48:42 +01:00
Mike Jolley 9b446508a7 Merge pull request #3823 from tivnet/master
Use get_the_title() instead of $post->title
2013-09-24 03:45:14 -07:00
Coen Jacobs 8c959a92f2 Merge branch 'master' of https://github.com/woothemes/woocommerce 2013-09-24 12:41:40 +02:00
Remi Corson 493f3bffe3 Added Russian Rubles to PayPal valid currencies list 2013-09-24 12:41:23 +02:00
Mike Jolley ab3ebbb164 lang closes #3824 2013-09-24 11:35:38 +01:00
Mike Jolley 31c34f6552 Wrong checked var 2013-09-24 10:06:41 +01:00
Mike Jolley 5cd8c6114d Merge pull request #3825 from ragulka/file-permissions-format-filter-data
Add $data array to woocommerce_downloadable_file_permission_format
2013-09-24 02:04:25 -07:00
Illimar Tambek 64c09cabd7 Add array to woocommerce_downloadable_file_permission_format 2013-09-24 11:10:46 +03:00
Gregory K c401ac98e7 Use get_the_title() instead of $post->title, because there could be 'the_title' filters 2013-09-23 19:10:14 -04:00
Mike Jolley 0a3cdc43ca Include a link to admin. Closes #3796 2013-09-23 16:51:43 +01:00
Mike Jolley 7fb49c4b68 Round price adjustments. Closes #3797. 2013-09-23 16:22:25 +01:00
Mike Jolley ef1d565f55 standard should be blank. Closes #3799.
@coenjacobs .15
2013-09-23 16:16:33 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01:00
Mike Jolley ef24dfeac6 minify #3817 2013-09-23 15:53:21 +01:00
Mike Jolley 270dd86e9f Merge pull request #3817 from franticpsyx/variations_js_form
Allow variations JS to be used on multiple products in the same form
2013-09-23 07:52:23 -07:00
Mike Jolley ed87e72947 Merge pull request #3815 from pmgarman/master
Don't display shipping address if shipping is disabled
2013-09-23 07:51:37 -07:00
Mike Jolley 10b675ff57 Merge pull request #3818 from rnt/master
Base pot update & es_ES po update
2013-09-23 07:50:34 -07:00
Mike Jolley 06ef44c9df Pass args to variation forms from cart page. Closes #3568 2013-09-23 15:47:47 +01:00
Mike Jolley 5954619e02 Set session when removing last item. Closes #3739 2013-09-23 14:01:17 +01:00
Mike Jolley 97b1e176d2 Merge branch 'downloadable-files-2.1'
Conflicts:
	assets/css/admin.css
2013-09-23 12:44:35 +01:00
Mike Jolley 71cb94ebfa Simpler tax rate check which Closes #3813
Could do with some more testing @ChromeOrange, and applying to .15 if
ok @coen
2013-09-23 12:44:15 +01:00
Renato Covarrubias 8364c849bc es_ES update 2013-09-22 20:46:18 -03:00
Renato Covarrubias 2db5a63110 POT update 2013-09-22 20:35:35 -03:00
Manos Psychogyiopoulos 3af1df55c7 Allow variations JS to be used on multiple products in the same form 2013-09-22 18:30:39 +03:00
Patrick Garman 87c1c46317 Hide shipping address if shipping is disabled 2013-09-21 14:52:49 -05:00
Patrick Garman 52cf2b7628 Hide shipping address if shipping is disabled 2013-09-21 14:51:06 -05:00
Patrick Garman 249380562a Don't display shipping address if shipping is disabled 2013-09-21 14:13:51 -05:00
Mike Jolley 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Coen Jacobs f0fe86a8ac Merge branch 'master' of https://github.com/woothemes/woocommerce 2013-09-20 15:51:50 +02:00
Coen Jacobs e035864c8a Check for existing array before using key. Closes #3807 2013-09-20 15:51:06 +02:00
James Koster 6294b916e4 tweaked icon mixins 2013-09-20 12:08:56 +01:00
Mike Jolley b93df4e706 Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506. 2013-09-19 16:31:54 +01:00
Mike Jolley 4ef07f6a66 Cleanup defaults. Closes #3778 2013-09-19 15:02:17 +01:00