Commit Graph

219 Commits

Author SHA1 Message Date
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
James Koster 13bcae2d63 returning customer login. closes #3903 2013-10-10 10:29:16 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01:00
Mike Jolley e01df544ec Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
@todo store shipping methods in the order
@todo test with PP shipping real world

cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 7221cc1a26 woocommerce_review_order_before_payment hook. #3501 2013-07-22 18:06:03 +01:00
Mike Jolley f23f536f12 Logic for additional info header 2013-07-11 16:11:28 +01:00
Mike Jolley 3b5d8b7d41 Futher standardisation of cart and order loops. Closes #3348. 2013-06-17 12:21:24 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Coen Jacobs e6bea70f62 Abstracted messages helper to class 2013-06-06 15:56:24 +02:00
Coen Jacobs a09ebc9cca Merge branch 'helpers-refactor' into core-class-refactor
Conflicts:
	classes/class-wc-shortcodes.php
	classes/shortcodes/class-wc-shortcode-change-password.php
	classes/shortcodes/class-wc-shortcode-view-order.php
	templates/myaccount/form-change-password.php
	templates/myaccount/form-login.php
	templates/order/order-details.php
	woocommerce-functions.php
2013-06-06 13:55:36 +02:00
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
Mike Jolley 0b9689f73a Get rid of un-useful options. 2013-06-05 11:13:36 +01:00
Mike Jolley ef49fd62df Tweak account options 2013-06-03 16:09:04 +01:00
Mike Jolley ac51ebf2b8 Revised checkout shipping process. Checkbox within heading. Closes #2571. 2013-05-28 14:19:08 +01:00
Coen Jacobs 6f737227ff Rename Shipping also on checkout #3160 2013-05-21 12:23:56 +02:00
Coen Jacobs bb68ce7fd2 Added filter to explicitly hide terms agreement checkbox. Closes #3088 2013-05-13 13:41:52 +02:00
Coen Jacobs f03735d8f6 Add 'woocommerce_create_account_default_checked' for #3098 2013-05-06 12:03:31 +02:00
Mike Jolley 62c38fb7eb form-row-wide Closes #3028. 2013-04-29 15:51:17 +01:00
Roy Ho 83a794bb68 Added filter hook on place order button for easy 3rd party manipulation 2013-04-01 16:45:28 -07:00
Mike Jolley c752ba4a9f Merge taxes by CODE so totals are displayed clearer. Also added additonal function for getting merged tax totals, and to keep compatibility with themes. #2815 2013-03-27 18:21:06 +00:00
Mike Jolley 41f44cac0c #2748 filters consistant with cart 2013-03-18 10:17:25 +00:00
Justin Stern f4076b888f Product Stock Filters
Added a number of filters related to product stock to allow for improved
control over the stock handling and display
2013-03-18 01:38:22 -04:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
Mike Jolley 69db6a4262 Login form initial state. Closes #2505. 2013-02-25 10:17:16 +00:00
Mike Jolley c086d7236a Initial display Closes #2505. 2013-02-22 08:55:48 +00:00
Mike Jolley bc51d5652b Put back coupon option. 2013-02-11 13:53:24 +00:00
Mike Jolley 7a84ddd6c1 Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist 2013-02-10 23:02:52 +00:00
Ken Bass 20bfaea36c Issue 1950 2013-01-21 10:12:15 -05:00
James Koster cf3369b7e6 Log in language 2013-01-10 15:07:10 +00:00
Mike Jolley b5e10315aa Load gateways during checkout + in settings. #2164 2013-01-07 17:23:09 +00:00
Geert De Deckere e122c78cab A few more CSS class updates #2086 2013-01-03 13:21:26 +01:00
Mike Jolley 7bd2740ba2 Some code cleanup and comments #1765 2013-01-02 12:59:41 +00: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
Mike Jolley 4988e0f444 Consistant hooks for review order/cart totals - Closes #2076. 2012-12-29 19:04:18 +00:00
Mike Jolley b0c2a11c90 1 table but no colspans, qty column removed 2012-12-16 16:28:54 +00:00
grappler 786d27be88 Split review items from total
This change give the user more control and makes the page better for mobile sites. An example can be seen here.
https://www.shultzilla.com/checkout/
2012-12-15 17:29:01 +01:00
Mike Jolley bfcb3ec1e9 Load options in checkout class and ensure hooks are available to change the options. Closes #1950. 2012-12-10 12:34:59 +00:00
Mike Jolley eb2720b04d Clearfix Closes #1952. 2012-12-10 11:11:55 +00:00
Mike Jolley 2f04ea576d Checkout form JS. Closes #1954. 2012-12-10 11:06:14 +00:00
Mike Jolley 5e4222fb7f Fix for fatal error on checkout Closes #1901. 2012-12-04 20:28:17 +00:00
Mike Jolley 60626d25f9 The display options for taxes 2012-12-03 16:37:08 +00:00
Mike Jolley 3f0a698940 Tweak tax display - zeros option removed 2012-12-03 12:41:05 +00:00
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Leho Kraav f6e11bdb09 add missing standard classes for .shop_table td 2012-11-24 21:50:25 +02:00
Leho Kraav eeff8ce1cf add missing standard classes for .shop_table th
this probably needs further work to also add respective classes to td's
2012-11-24 21:36:16 +02:00
James Koster b91806b6c8 in some countries accepting the terms isn't enough. 2012-11-22 11:29:33 +00:00
Mike Jolley 98ddb3bbc5 Display + storage 2012-11-12 17:15:54 +00:00
Mike Jolley 8e74d043c1 template 2012-11-09 21:17:48 +00:00
kathy 3acd6f21de Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	templates/checkout/form-pay.php
	templates/checkout/review-order.php
2012-11-07 19:04:00 -06:00
Mike Jolley 9971da5f86 Fix for #1707. 2012-11-07 21:23:45 +00:00
kathy 6eb5215da0 fix for #1707 2012-11-07 14:53:23 -06:00
Coen Jacobs 80fc5fc086 [3.2.3] Templates XSS #1575 2012-10-16 17:35:16 +02: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 34f230a0d0 Tax display tweaks. 2012-10-12 12:57:08 +01:00
Brent Shepherd 137b01c74c Show taxes if there are formatted taxes
The cart only checks if an order has tax when deciding to
display taxes. Subscriptions 1.2+ stores recurring taxes
separately, so when an order has a free trial period
and no sign-up fee, order tax will be 0 but the
recurring taxes should still be displayed.
2012-09-24 12:55:57 +10:00
Mike Jolley 584c65eeb0 Session fixes 2012-09-12 12:48:30 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Mike Jolley 3267de6daa Hooks for #1376. Closes #1376. 2012-08-21 13:06:54 +01:00
Adam Pickering (Mint Themes c42e0c7fcd Fixes issue with coupon field box styling
The coupon box doesn't have the correct input type so theme designers can't apply there custom style to the box field.

It doesn't have input type="text" so this commit fixes the issue.

See screen shot of issue: http://o7.no/NfKtDe
2012-08-20 17:40:05 -03:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01: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
Mike Jolley 1b0a206bd9 Handling for non-JS checkout 2012-07-16 20:21:44 +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 58f84bb2c1 incl. Closes #1184. 2012-06-29 20:45:09 +01:00
Mike Jolley 3cc8f41b90 get_icon get_title get_description for #1201 2012-06-29 19:44:33 +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 c9ddba1e35 Hooks for stripe 2012-06-19 19:09:51 +01:00
Manos Psychogyiopoulos a64ac21fb1 Added filtered class attributes to tr table elements in cart, review-order and order-details templates.
Makes it possible to style the appearance of these tables depending on
the item's properties. E.g. smaller fonts or no borders for bundled
items.
2012-06-09 18:31:17 +03:00
Manos Psychogyiopoulos b57183f337 Add filters to get_product_subtotal in review-order & cart templates. 2012-06-09 17:39:59 +03:00
James Koster d810998980 handy class 2012-06-06 16:48:35 +01: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
Mike Jolley 26a8af2440 radio shipping methods 2012-05-13 21:02:07 +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 7840c79251 style rework. Shareyourcart (needs more work) 2012-04-28 18:28:18 +01:00
Brent Shepherd 6df9fff54d Adding "Replacing instances of "woocommerce_price($order->order_total)" with new WC_Order::get_formatted_order_total() function. 2012-04-27 12:22:19 +10:00
Mike Jolley 68586f3005 Collect shipping address even when not required 2012-04-21 19:30:37 +01:00
Brent Shepherd 0a04b9044c Fixing bug causing "Billing & Shipping" to display on checkout form even when the cart contents did not need shipping. 2012-04-16 10:45:35 +10:00
Mike Jolley a36d0b74e7 missing semi-colon. Closes #923. 2012-04-13 12:44:10 +01:00
Mike Jolley b9bec0be75 show_shipping. Closes #901. 2012-04-11 13:08:04 +01:00
Mike Jolley a9a5f0ceca extra actions for checkout. @8cc310c14ab55131a79f4340a37ef392283fc3ab 2012-04-10 18:21:33 +01:00
Mike Jolley f99353a861 Merge pull request #878 from foxrunsoftware/master
Adds a Few Shipping Related Action Hooks
2012-03-26 08:17:22 -07: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
Justin Stern 37efd18ffc Adds a Number of Shipping Related Action Calls
Adds a number of shipping related action calls to provide more hooks for
customizations
2012-03-24 13:00:59 -04:00
Mike Jolley 8914d1856a n/a 2012-03-12 16:14:00 +00:00
Mike Jolley ec83b4d24f Merge pull request #790 from GeertDD/display_no_tax_row
Force the tax row to show up even if no taxes are applicable
2012-03-12 09:00:52 -07:00
Geert De Deckere 3d52b629c3 Added an option to force the tax row to be visible even if no taxes are applicable. 2012-03-12 13:50:38 +01:00
Geert De Deckere 3e13bd5ebf Instead of hiding the tax row if not applicable, show it explicitely as not applicable. 2012-03-12 12:26:48 +01:00
Geert De Deckere 0401e79ed4 Added option to globally enable/disable the use of coupons for clients 2012-03-12 10:25:06 +01:00
Mike Jolley 9a282ce3ab Fixes 2012-03-05 13:25:02 +00:00
Geert De Deckere 1cd6ab9bf1 Fixed label for "ship to billing" checkbox 2012-03-01 14:12:56 +01:00
Mike Jolley 94028e3528 total rows + readme 2012-02-16 16:54:22 +00:00
Geert De Deckere 9a8581b3a9 Addes same classes for table header cells 2012-02-16 12:29:15 +01:00
Geert De Deckere 8bd4947006 Added classes to the table cells for order review 2012-02-16 12:25:02 +01:00