Mike Jolley
7b639d45c7
remove un-wanted hentry from products Closes #4880
2014-02-23 11:13:42 +00:00
Coen Jacobs
e2ebb387f7
Better workaround for esc_url stripping spaces #4842
2014-02-17 11:48:43 +01:00
Coen Jacobs
a19266b955
esc_attr instead of esc_url to preserve spaces in img src #4842
2014-02-17 11:29:36 +01:00
vayu
db2d67590e
Added description parameter to the woocommerce_form_field function
...
With this it is possible to add a short description below every
checkout billing and shipping input field.
2014-02-15 00:19:49 +01:00
claudiosmweb
02053f2d5c
removed all the_content filter in favor to wpautop() and do_shortcode() functions
2014-02-13 02:49:30 -02:00
Mike Jolley
65ca1753ae
woocommerce_products_will_display improvements #4644
...
- Reduced number of conditionals required.
- Broken the massive category query into a loop which can break before
checking all cats
- Used a transient to further optimise the category check
2014-02-06 09:21:47 +00:00
alexcsandru
6bf855709a
Update wc-template-functions.php
...
a little bug with esc_url instead esc_attr and result was (height="http://450 ")
2014-01-19 10:14:56 +02:00
Mike Jolley
ac24fe52fa
Check we have a product #4487
2014-01-13 11:39:54 +00:00
Patrick Garman
f3be3b16b6
Add is_store_notice_showing Conditional
...
Added public is_store_notice_showing conditional to `includes/wc-conditional-functions.php`
Replaced two instances of `get_option( 'woocommerce_demo_store' )` with the new conditional
2014-01-10 11:17:01 -06:00
Mike Jolley
211658a8f4
Fix woocommerce_reset_loop Closes #4443
2014-01-08 13:23:40 +00:00
Coen Jacobs
3e6acf7aab
Code changes for #4252
2013-12-02 12:34:27 +01:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Gregory K
43ca01badc
PhpDocs and TODO comments
2013-11-28 12:59:09 -05:00
Mike Jolley
e0779b0f06
Global templates make more sense than shop templates, and re-use quantity inputs for cart and single products Closes #4210
2013-11-28 17:23:45 +00:00
Gregory K
fc0df9fa59
typo
2013-11-27 13:23:46 -05:00
Gregory K
dd5a2fb334
PhpDocs
2013-11-27 13:20:31 -05:00
Mike Jolley
417651d579
Check for valid post type/products when setting up data
2013-11-27 16:03:54 +00:00
Scott Basgaard
2885da4581
"Order again" doesn't work. Proposed pass at fix.
2013-11-26 17:48:39 +01:00
Coen Jacobs
173f341631
Moved cart related output functions to right file
2013-11-25 16:17:18 +01:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
d96661f45b
Reverted template function names for @jameskoster's sanity
2013-11-25 14:35:10 +00:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Mike Jolley
3973beae5d
woocommerce_ functions to wc_ - replaced attribute functions
2013-11-25 14:01:37 +00:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Coen Jacobs
6377a2af6e
esc_attr instead of esc_url for textarea placeholder
...
Closes #4195
2013-11-25 10:41:37 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Scott Basgaard
de77ec07ea
esc_url() all the things.
2013-11-20 19:54:01 +01:00
Mike Jolley
6ea8cad430
Related display fixes for attributes #4123
2013-11-18 14:11:40 +00:00
Mike Jolley
434421aad7
Validation errors #4115
2013-11-18 12:53:45 +00:00
Coen Jacobs
f0adcb65b7
Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396'
2013-11-18 12:33:23 +01:00
Rob Davarnia
f92f5bfe81
Ability to add custom input classes
2013-11-12 13:14:14 -08:00
Brent Shepherd
b69066405b
Move /add-payment-method/ endpoint to /my-account/
...
Part of #3396
2013-11-05 13:02:13 -08:00
thenbrent
1bbe03d139
Add new /checkout/add-payment-method/ endpoint
...
Part of #3396
2013-11-03 16:53:14 -08:00
thenbrent
dae90d0dd0
Fix use of __CLASS__ when not in class
2013-11-01 15:00:09 -07:00
Mike Jolley
b4d1c764d5
Move average rating outside of hidden tab. Closes #3867 .
2013-10-31 16:26:20 +00:00
Mike Jolley
e143d344e5
Constants
2013-10-24 19:36:22 +01:00
Mike Jolley
51aba21d76
Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes
2013-10-24 13:15:42 +01: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
Patrick Rauland
61b2290147
updating product page css classes
2013-09-26 22:50:49 -05:00
Mike Jolley
5da34d5a92
Merge pull request #3840 from pelmered/master
...
Allows to pass in cols and rows as custom attributes for textareas in woocommerce_form_field()
2013-09-26 02:32:34 -07:00
Peter Elmered
c676c15990
Allows to pass in cols and rows as custom attributes for textareas in woocommerce_form_field()
2013-09-25 22:45:45 +02:00
Patrick Rauland
3b0a9f728f
adding category & tag classes to product page
2013-09-25 13:04:32 -05: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
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
7d20a51beb
Moved template part functions to core functions Closes #3715
2013-09-12 14:42:57 +01:00
Mike Jolley
355dd16962
Removed @coenjacobs helpers and cleaned up main clas
2013-09-12 14:41:02 +01:00
Luke Stevenson
fcfdee8ec7
Added "Demo Store" Class to Body
...
Adding "woocommerce-demo-store" class to body when option
"woocommerce_demo_store" is enabled.
(Handy to push down content to allow for banner, etc.)
2013-09-06 02:13:57 +10:00
Mike Jolley
807534095e
Introduce WC_HTTPS Helper to handle redirects and make checkout urls https before visiting them. Fixes #3311
2013-09-03 13:03:05 +01:00
Patrick Rauland
c074d64096
making sure the user doesn't submit garbage to woocommerce_sort_product_tabs
2013-08-27 10:40:21 -05:00
Mike Jolley
64d87cbef7
Make logout an endpoint. Still hide it from menus. Fixes #3589
...
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley
5289193021
Echo or return current page title. Closes #3660
2013-08-23 14:54:38 +01:00
Mike Jolley
3d078397b3
Merge branch 'Re-organise-settings'
...
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
Mike Jolley
5f2e489944
simpler woocommerce_get_product_schema function.
...
Closes #3297 .
2013-08-20 13:52:06 +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
5c07464fd0
To prevent pebkac Closes #3628
2013-08-13 17:26:21 +01:00
Mike Jolley
aa3601f517
Remove white space. Closes #3499 .
2013-08-13 13:17:32 +01:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00