Commit Graph

167 Commits

Author SHA1 Message Date
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