Commit Graph

732 Commits

Author SHA1 Message Date
Coen Jacobs 90008d7143 Merge remote-tracking branch 'thenbrent/new_notice_api'
Conflicts:
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-message-functions.php
	woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Coen Jacobs f0adcb65b7 Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396' 2013-11-18 12:33:23 +01:00
thenbrent 3c625eba5f Use $messages variable for all notice templates 2013-11-13 16:19:59 -08:00
thenbrent 41c1bd6b82 Use wc_print_notice() for checkout notices 2013-11-13 16:10:49 -08:00
thenbrent 41ba6578a0 Move notice templates into /notices/notice.php 2013-11-13 16:09:28 -08:00
Mike Jolley 35fc728090 Login form hooks Closes #4059 2013-11-13 12:12:27 +00:00
Mike Jolley 9c83947613 Notice on no shop page 2013-11-13 12:12:27 +00:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent 30424feb30 Initial commit of notices.php template
Part of #4034
2013-11-12 20:59:04 -08:00
Mike Jolley 70e2a05bd6 wpautop when displaying values #3926 2013-11-11 13:50:36 +00:00
thenbrent e6b83b32ce Set correct version on notices.php template 2013-11-06 10:26:58 -08:00
James Koster 2ce069ea2e payment heading 2013-11-06 13:56:59 +00:00
Brent Shepherd 9de928baf5 Add new notices API for blue info message
Part of #4034
2013-11-05 16:11:50 -08:00
Brent Shepherd 4a7f207eff Use new ID for add pay method form
Part of #3396
2013-11-05 15:36:00 -08:00
Brent Shepherd b69066405b Move /add-payment-method/ endpoint to /my-account/
Part of #3396
2013-11-05 13:02:13 -08:00
Mike Jolley c530e8bfcd Schema: ProductID can now be SKU, added URL 2013-11-04 12:53:49 +00:00
thenbrent e80f71d73c Improve form-add-payment-method.php error & button
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent ca01d7b1a5 Fix up markup on form-add-payment-method.php
So that checkout.js correctly displays payment method's fields.
Part of #3396
2013-11-03 16:54:07 -08:00
thenbrent ac548d6610 Add form-add-payment-method.php 2013-11-03 16:53:30 -08:00
thenbrent 9716c985cd Fix markup on form-pay.php
Payment method fields were not displaying on the "Checkout -> Pay" page
because checkout.js was using a input#payment_method_{name} selector, which
worked fine with the payment method markup used in the review-order.php template,
but not with the markup used in the form-pay.php template.

This moves the #payment_method_{name} attribute from the <li/> elements to the
<input/> element so that checkout.js correctly display's payment method fields.
2013-11-01 11:54:29 -07:00
Mike Jolley 19fcf30a66 Option to limit reviews to purchasers. Closes #4021 2013-10-31 17:37:36 +00:00
Mike Jolley b4d1c764d5 Move average rating outside of hidden tab. Closes #3867. 2013-10-31 16:26:20 +00:00
Mike Jolley f6b317f199 Labels need to be clickable 2013-10-31 12:01:11 +00:00
Mike Jolley 95c0a67fdf Merge pull request #4017 from scottbasgaard/master
Define line_subtotal and line_subtotal_tax to avoid PHP notice in cart.
2013-10-29 09:49:55 -07:00
James Koster 5aeaed888e Add review form no longer opens in lightbox. closes #3804 2013-10-28 09:56:03 +00:00
James Koster 1fbb6249ff Replaced &rarr; / &larr; on frontend with icons from our font. closes #4009 2013-10-28 09:45:59 +00:00
Scott Basgaard 507b7bec96 Use wp_nonce_field. $woocommerce->nonce_field is deprecated. 2013-10-26 16:39:10 +02:00
Bernard Peh 09155c490f same issue as #4005 but on different template. 2013-10-26 08:02:08 +11:00
Mike Jolley c7429357c7 Fix notices and rounding issues in orders 2013-10-25 20:02:21 +01:00
Mike Jolley f742a91435 Rejig login form closes #4005 2013-10-25 16:10:13 +01:00
Mike Jolley 8fcb35c5dc Merge pull request #4008 from RistoNiinemets/master
additional customer details hook
2013-10-25 07:56:04 -07:00
RistoNiinemets 388e962dc9 additional customer details hook 2013-10-25 13:54:49 +03:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley c3aba912db Merge pull request #3975 from samuelaguilera/patch-1
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:35 -07:00
Mike Jolley d41979a5d0 Merge pull request #3976 from samuelaguilera/master
Changed id for payment_method_$gateway from <input> to <li>
2013-10-22 05:33:28 -07:00
samuelaguilera 301d8e1820 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:46:00 +02:00
samuelaguilera ef452e9384 Changed id for payment_method_$gateway from <input> to <li>
Changed CSS ID for payment_method_$gateway from radio button to <li> container. This allows to apply custom CSS style for all elements of gateways. And not only to radio button (that has no sense).
2013-10-21 23:40:44 +02:00
Mike Jolley 5d2e1ac031 Refactor coupon code so coupons get the actual discount amount, redone edit coupon screen with tabs, added coupon item limits which Closes #3902 2013-10-18 18:10:58 +01:00
Mike Jolley 4cabf24422 needs_payment for 2.1 #3928 2013-10-16 14:14:15 +01:00
Mike Jolley 004e556e18 Check product var is set 2013-10-16 10:52:35 +01:00
Mike Jolley 08bfd6b4d7 woocommerce_before_single_variation and after. Removed un-needed div. Closes #3906 2013-10-16 10:41:23 +01:00
Mike Jolley 5c96af4ff9 #3921 2013-10-15 16:27:57 +01:00
James Koster 13bcae2d63 returning customer login. closes #3903 2013-10-10 10:29:16 +01:00
Mike Jolley 5c8d8bbda9 fix urls 2013-10-02 13:04:28 +01:00
Gregory K 6f43712d06 Fixed spacing in () (again) 2013-09-25 12:14:35 -04:00
Gregory K 7e76ed7205 Fixed spacing in () 2013-09-25 11:49:51 -04:00
Gregory K 93e0107aff Fix product links in Cart when no variation 2013-09-25 10:48:51 -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 9a98be6a15 WOOCOMMERCE_DELIMITER constant. Closes #3476. 2013-09-24 12:24:26 +01:00