Kathy Darling
70778ad575
filter the variable product attribute dropdown html
2016-01-04 10:31:43 -05:00
Claudio Sanches
441530f54e
Do not espace maxlength and use the same html for password fields #9786
2015-12-07 21:53:39 -02:00
Claudio Sanches
26097b6e99
Escape attributes for #9786
2015-12-07 21:48:54 -02:00
Peter Elmered
44df7c1c34
Re-added password type attribute
2015-12-07 18:06:02 +01:00
Peter Elmered
d624196924
Added support for number field in woocommerce_form_field()
2015-12-07 17:28:10 +01:00
Peter Elmered
d18e5da09d
Removed unnecessary duplication in woocommerce_form_field()
2015-12-07 17:25:45 +01:00
Mike Jolley
2c023a2847
Pass the wp.template to the script and append so its added to the page once when needed
2015-12-04 13:26:44 +00:00
Mike Jolley
948a8f5c47
Filters for loop add to cart
...
Closes #9753
2015-12-04 11:50:37 +00:00
Mike Jolley
8f951d449a
Only fade in image if variation has children
2015-12-03 09:58:37 +00:00
Mike Jolley
2fce99759a
[2.4] Ensure numeric
2015-12-02 15:53:54 +00:00
Mike Jolley
520192e6a9
[2.4] Sanity check for min/max quantity
...
Fixes #9733
2015-12-02 10:44:41 +00:00
mitogh
44dabb9d73
Update conditionals to use:
...
- Yoda conditional style:
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#yoda-conditions
- And use of strict comparisons
2015-11-30 22:02:00 -06:00
Mike Jolley
28b02fd3dd
Clean up woocommerce_products_will_display
2015-11-14 15:44:15 +00:00
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Mike Jolley
1ff6a27951
Split button from variation display
2015-10-28 13:09:34 +00:00
Mike Jolley
f050c804e1
Use wp.template for variation and variation button
2015-10-28 13:04:28 +00:00
Claudio Sanches
1ea5b8433f
Escape normalized for the woocommerce_variation_option_name filter
2015-10-18 10:42:44 -06:00
Mike Jolley
d2d1330898
Show order by template on product search
...
Fixes #9285
2015-10-06 14:10:01 +01:00
roykho
52ec35cab6
tweak to use product class function instead of body class function
2015-10-02 10:26:53 +02:00
roykho
5ba6ff1dac
fix variation image flicker issue when default variations are set closes #7904
2015-10-02 03:45:11 +02:00
James Koster
2c00927c0b
Remove the product loop title template
...
Provides consistency with the product category template. This template
was really too simple to require it’s own file. It can be plugged or
unhooked to edit.
2015-10-01 17:58:33 +01:00
James Koster
018bcc9d2d
hook the product category links in, instead of hard coding into the template. #8575
2015-10-01 15:28:57 +01:00
James Koster
fe689d3d24
Let's not create template files for such simple code. #8575
...
Also removes pluggability of code that simply shouldn’t have any need
to be overwritten.
2015-10-01 15:20:05 +01:00
James Koster
9de9f87c17
product category title is now hooked in rather than hard-coded into template
2015-10-01 15:12:56 +01:00
James Koster
02ddb7fc4d
product archive anchors are now hooked into templates rather than hard coded. #8575
2015-10-01 14:49:40 +01:00
Claudio Sanches
dc30ffcd60
Created woocommerce_upsell_display_args filter, closes #9185
2015-09-21 17:30:37 -03:00
Mike Jolley
96814b992f
Show more variations per page
2015-09-14 16:54:58 +01:00
Mike Jolley
bf0cb28d36
esc_html
...
Closes #9065
2015-09-07 13:26:43 +01:00
Jack Gregory
16cdbb4ff3
update woocommerce_dropdown_variation_attribute_options_args filter naming
2015-09-02 12:39:23 +01:00
Jack Gregory
f8cc75fe4f
add woocommerce_dropdown_variation_args filter
2015-08-29 16:30:36 +01:00
Ninos Ego
98a1ae4b25
Add class arg to dropdown function
2015-08-11 13:17:52 +02:00
George Stephanis
9269fd7432
Retooling how this is escaped.
...
Sanitize early, escape late. Rather than double escaping, I figured
it’d be better to sprintf it in, and then escape that string — closer
to the output.
Also, I’m not sure why `urlencode` was used to escape a name?
2015-08-05 15:18:47 -04:00
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Mike Jolley
808c01cb90
Added woocommerce_single_variation hook for variation data and cart button to reduce code in template file and used hooks. @claudiosmweb
...
Removed woocommerce_before_variations_button @Ninos. Use
woocommerce_single_variation
2015-07-28 10:32:28 +01:00
Mike Jolley
236b493f3d
Removed extract
2015-07-27 17:48:31 +01:00
Mike Jolley
4d14ac8134
Missing closing tag
2015-07-27 16:50:55 +01:00
Mike Jolley
9a7893ba23
Moved variation dropdowns logic into wc_dropdown_variation_attribute_options()
2015-07-27 16:42:22 +01:00
Patrick Rauland
c7cbe3e681
removing blank line.
2015-07-20 13:56:08 -06:00
Claudio Sanches
f0b3d2fd9b
Code tweaks for #8620
2015-07-20 14:36:12 -03:00
Jodi Warren
2fb5f5bf78
Change product title to a hooked function. Fixes #8601
2015-07-20 18:10:56 +01:00
Claudio Sanches
9e41552342
Removed all "@return void"
2015-07-16 16:55:48 -03:00
Mike Jolley
cbf373ab3c
kses store notice
2015-07-16 17:06:15 +01:00
Mike Jolley
60193c7861
Pass product to woocommerce_ajax_variation_threshold
2015-07-09 16:31:46 +01:00
Mike Jolley
85855938ec
woocommerce_ajax_variation_threshold
2015-07-09 16:04:46 +01:00
Mike Jolley
eaed944048
Tweak template logic to load variations when needed
2015-07-09 15:58:58 +01:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Paul Wilde
5c5e6fb015
Refactor woocommerce_form_field so that the container, label and description are not repeated for every field type.
2015-07-03 20:37:47 +01:00
Claudio Sanches
6e114d4f3c
Updated the docblock for deprecated vars in woocommerce_get_product_thumbnail(), closes #8441
2015-06-23 12:46:37 -03:00
Mike Jolley
983041209b
Use get_type() in post_class function
2015-06-08 12:20:51 +01:00
Mike Jolley
cb2079deaa
wc_send_frame_options_header
...
Prevent Clickjacking - prevent checkout and account pages from being
used in iFrames. Added via filter so this can be disabled.
Closes #8
2015-06-01 13:37:12 +01:00
James Koster
8c1e452514
proceed to checkout button template. closes #7507
2015-05-28 11:48:37 +01:00
James Koster
6389e5defa
related products / upsets. closes #7873
2015-05-19 13:07:00 -04:00
Mike Jolley
6bdd713112
return true if cats get displayed only
...
Closes #8172
2015-05-19 12:49:34 -04:00
Mike Jolley
0b58a840e2
Merge pull request #8168 from Nikker/master
...
Added method to check if cart is empty
2015-05-19 11:41:48 -04:00
Claudio Sanches
e106d57947
Merged #8021
2015-05-18 16:53:04 -03:00
Nikki DelRosso
940c2369b0
Added method to check if cart is empty
2015-05-14 14:18:53 -07:00
Nicola Mustone
fe6f680e44
replace get_product_url with add_to_cart_url
2015-05-05 16:18:01 +02:00
Claudio Sanches
a989184135
Created initial auth templates
2015-04-22 12:27:12 -03:00
Mike Jolley
7846513382
deprecate woocommerce_product_reviews_tab
...
Closes #7877
2015-04-10 16:07:33 +01:00
Mike Jolley
12dde04e16
wc_product_cat_class functions
...
Closes #7923
2015-04-10 13:17:30 +01:00
James Koster
944723d7ac
tel input #7827
2015-04-01 17:36:58 +01:00
James Koster
33a3940501
email input
2015-03-27 11:49:36 +00:00
Claudio Sanches
4f7e59e743
Sanitize html classe in wc_body_class for #7735
2015-03-17 13:39:44 -03:00
Jack Gregory
d262c44534
Include endpoints in body class filter
2015-03-16 13:26:22 +00:00
Jack Gregory
27bbcb88a7
Include endpoints in body class filter
2015-03-16 13:09:13 +00:00
Mike Jolley
c0e5d6a959
Set placeholder for selects and ensure set if the first option is blank
2015-03-03 11:43:41 +00:00
Mike Jolley
a7be0d5b8a
Merge pull request #7385 from RistoNiinemets/form-field
...
Form field args and type filters
2015-03-02 09:56:08 +00:00
Mike Jolley
d9455994c8
Use 30 days instead of year for transients to avoid bugs in memcache plugins.
...
Closes #7520
2015-02-24 12:02:56 +00:00
Mike Jolley
bd11f51d04
Double shop page in breadcrumb and white space issues.
...
Fixes #7432
2015-02-16 16:21:48 +00:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Claudio Sanches
5772356eb2
Re-added the woocommerce_breadcrumb_home_url filter
2015-02-12 18:34:40 -02:00
Risto Niinemets
ccba4cf6e8
wrong filter arguments order
2015-02-12 12:42:43 +02:00
Risto Niinemets
54e84cf235
run all fields through filter
2015-02-12 11:54:29 +02:00
Risto Niinemets
1cda103591
add filter woocommerce_form_field_args
2015-02-12 11:50:17 +02:00
Mike Jolley
30abed2f9e
Merge pull request #7375 from tamarazuk/rating-count-fix
...
Fix average product rating when ratings are not required
2015-02-12 00:04:26 +00:00
Mike Jolley
518cca7326
WC_TEMPLATE_DEBUG_MODE in admin.
...
Fixes #7336
2015-02-11 23:32:27 +00:00
Tamara Zuk
7eaae2d561
Fix average product rating when ratings are not required
...
If ratings are not required, the total rating count was counting all
reviews which skewed the average rating. In other words, reviews with
no rating were counted as a “zero” rating in the average rating
calculation. This bug was introduced in
83a457b29c
which provided a fix for #6839 .
This change introduces a new product method `get_review_count()` which
can be used to accurately calculate the total number of reviews for a
product. Some instances of `get_rating_count()` were replaced with
`get_review_count()` where appropriate. Additionally, the
`single-product/rating.php` template was adjusted to display the
correct number of customer reviews and ratings in rich snippets. I’ve
also included the `bestRating` rich snippet detailed
[here](http://schema.org/AggregateRating ). The version number was
adjusted to 2.3.2 on that template as I think this is a larger change.
2015-02-11 17:55:16 -05:00
Tamara Zuk
bd8a57eb32
Avoid a fatal error if select has no options
2015-02-11 11:30:52 -05:00
Risto Niinemets
215bb8841d
add input_class to all form field types
2015-02-10 17:41:34 +02:00
Mike Jolley
037242a9a2
More docblock tweaks
2015-02-03 16:03:28 +00:00
Claudio Sanches
afb19715d4
Prevented XSS in urls
2015-01-29 12:33:06 -02:00
Mike Jolley
53f32416c5
Ensure product exists before is_visible check
...
Closes #7146
2015-01-19 10:43:43 +00:00
Claudio Sanches
f39c76beaa
Created the wc_format_content() function, closes #7126
2015-01-16 10:32:41 -02:00
Mike Jolley
508bfd5c06
Merge branch 'breadcrumbs-class'
...
Adds endpoint page titles for #5522
Fixes link back to endpoint pages and closes #6638
Avoids need for breadcrumb fix which closes #6834
Removes the need and closes #6834
Fixes #6840
2014-12-05 13:42:19 +00:00
claudiosmweb
780aca38a6
Fixed checkbox label in woocommerce_form_field() function, closes #6880
2014-12-01 10:13:41 -02:00
Mike Jolley
2e398a3a79
Decoupled the order summary and payments area. Both are updated independently via ajax fragments and can be moved around via actions. TEMPLATES OVERRIDING THESE TEMPLATES WILL NEED TO UPDATE THEIR FILES.
...
Closes #5781
Closes #6570
2014-11-26 14:19:53 +00:00
Mike Jolley
67d899da3a
Restore __Get and move template debug mode to template functions
2014-11-26 00:03:00 +00:00
Bryce
333e4dd2fe
Remove previously added filter, not necessary
2014-11-20 16:43:48 +07:00
Bryce
985df5bca4
#2906 - Set reviews count in tab to only count actual reviews
...
Nested comments shouldn’t be treated as reviews. This addresses that by
using `$product->get_rating_count()` to determine the correct number of
reviews, instead of get_comments_number.
It can be filtered using the new `woocommerce_product_reviews_count`
filter.
2014-11-20 12:39:07 +07:00
claudiosmweb
8eeb6fc204
Removed more some unused code
2014-11-19 22:43:09 -02:00
Mike Jolley
ca6885c4a3
Merge pull request #6731 from SiR-DanieL/patch-2
...
Hide order again button
2014-11-12 09:06:29 -08:00
Mike Jolley
4b2ab00be3
Order again button template file
...
Closes #6664
2014-11-12 15:33:00 +00:00
Nicola Mustone
be59e9f80b
Hide order again button
...
Hide "Order again" button if the user is not logged in.
2014-11-12 11:44:26 +01:00
Emil Österlund
8861e23078
Fix for #6715
2014-11-08 16:08:26 +01:00
Emil Österlund
d77548f4cc
woocommerce_form_field did not use "input_class" if type was set to select, this commit solves that
2014-11-08 16:02:43 +01:00
Geert De Deckere
b105a24cf8
Fix typo
2014-10-13 15:42:07 +02:00
Mike Jolley
bf885f846e
Refactor - get_product_search_form().
...
Also removed < 2.1 deprecated filter mapping.
Closes #4444
2014-10-10 12:48:05 +01:00
Mike Jolley
b041093194
[2.2] Added woocommerce_product_subcategories_hide_empty filter
...
Use add_filter( ‘woocommerce_product_subcategories_hide_empty’,
‘__return_true’ ); to enable. Fixes #6482
2014-10-08 15:19:54 +01:00
James Koster
ef28c43862
move proceed to checkout button. closes #5496
2014-10-06 12:33:39 +01:00
Mike Jolley
7d9598d0a8
[2.2] Core still has issues dealing with pad_counts + parent when getting categories.
...
Workaround by not hiding empty cats, then filter the returned list
using wp_list_filter. Fixes #6459
2014-10-06 11:41:33 +01:00
Beka Rice
fa686eb9a7
Add maxlength attribute to textarea fields
2014-10-01 16:35:03 -04:00
Mike Jolley
229d9135ef
Prevent errors when country field is disabled
...
Fixes #6336
2014-09-22 13:23:31 +01:00
shivapoudel
8884266bac
Absolute path fix for wc-template-functions.php
2014-09-21 00:55:45 +05:45
Mike Jolley
dd6fa30c3d
Fix redirect on paginated search results
...
Fixes #6281
2014-09-18 13:23:00 +01:00
Illimar Tambek
9215fa76f0
Revise id, input_class and label_class escaping
2014-09-10 12:39:31 +03:00
Illimar Tambek
cfe15e1e33
Add `id` attribute to woocommerce_form_field args
...
This change allows developers to supply their own id attribute
when using the `woocommerce_form_field` template function.
The default ID is the escaped key, keeping the default behaviour.
2014-09-10 11:34:37 +03:00
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Mike Jolley
6e540c3bda
Pass is_ajax through from the ajax handler
...
Fixes #5910
2014-07-31 10:00:16 +01:00
Mike Jolley
b72d33f563
Move orderby logic out of template file
...
cc @jameskoster @claudiosmweb
2014-07-30 17:23:28 +01:00
Mike Jolley
cab8f8c9dd
Only show default ordering option when relevant
...
Closes #5893
2014-07-30 17:23:28 +01:00
claudiosmweb
cb1ca6e341
replaced wp_get_post_terms() for get_the_terms() in wc_product_post_class(), closes #5905
2014-07-28 14:05:36 -03:00
Mike Jolley
ee48dcd5fd
Invalidate query transients to avoid cache flush
...
Part of #5777 . These transients are required and cannot be predicted.
If not using an external cache system, the DB is cleared still to keep
size down after invalidation.
For these 2 transients, invalidation occurs when visibility altering
product attributes are edited.
2014-07-03 12:59:57 +01:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
7aa053bdbd
Merge pull request #5605 from ragulka/radio-field
...
Add radio type support to woocommerce_form_field
2014-06-06 16:08:25 +01:00
Illimar Tambek
516a8bcc8a
Add radio type support to woocommerce_form_field
2014-06-03 13:04:06 +03:00
Mike Jolley
309f700283
has_status
2014-06-03 10:45:33 +01:00
Mike Jolley
fca32a98de
Implement is_status functions and update_status
2014-05-30 17:16:22 +01:00
Mike Jolley
a723b4ed3c
Subcategory query can now use parent = 0 without breaking
...
Closes #4644
2014-05-28 17:25:33 +01:00
Mike Jolley
b4b015d916
Merge pull request #4810 from vayurobins/master
...
Added description parameter to the woocommerce_form_field function
2014-05-22 10:20:44 +01:00
Mike Jolley
5e769e65e7
Merge pull request #4996 from robdvr/master
...
Ability to add custom quantity using shortcode
2014-05-22 10:16:20 +01:00
Mike Jolley
b7643e469b
Merge pull request #4763 from claudiosmweb/remove_the_content_filter
...
Removed all the_content filter in favor to wpautop() and do_shortcode()
2014-05-15 10:52:26 +01:00
Mike Jolley
adc604e0e2
Move loop_end hook as it is generic and used in all WP loops
2014-03-13 13:07:47 +00:00
Mike Jolley
26b5ffa3d0
Only append generator tag on HTML pages Closes #5113
2014-03-12 14:38:03 +01:00
Coen Jacobs
3617316357
Updated expiry times for transients
2014-03-12 12:58:41 +01:00
Coen Jacobs
03163c54b0
set_transient calls should have expiration to prevent autoloading
2014-03-07 09:29:01 +01:00
Mike Jolley
d9c10aae62
Later hook for template redirect and the_post Closes #4984
2014-03-03 13:37:45 +00:00
Rob Davarnia
e7ca60b2a2
Ability to add custom quantity using shortcode
2014-02-28 13:43:31 -08:00
Mike Jolley
a0635c270b
Changed braces and moved filter #4933
2014-02-26 12:02:14 +00:00
Mike Jolley
173e3accd8
Merge pull request #4933 from growdev/master
...
Allow empty categories to show
2014-02-26 12:00:26 +00:00
Mike Jolley
5620020f6c
Fix products_will_display logic
2014-02-26 11:43:38 +00:00
Daniel Espinoza
bf8a825f2d
Allow showing of empty categories using 'hide_empty' param of get_categories()
2014-02-24 11:57:06 -06:00
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