Commit Graph

61 Commits

Author SHA1 Message Date
Claudio Sanches fdd391e10e Introduced wc_get_pay_buttons() function 2019-11-07 17:23:38 -03:00
Gerhard 6e4e818170 Introduce woocommerce_widget_shopping_cart_subtotal function and move minicart template subtotal to use it. New woocommerce_before_cart_collaterals, woocommerce_widget_shopping_cart_total and woocommerce_widget_shopping_cart_after_buttons actions for making the cart and mini cart templates more flexible without having to override it. 2019-07-14 19:27:42 +02:00
nishitlangaliya e375ffd6e7 fix:No alert for mis-matched password reset 2019-02-04 12:02:59 +05:30
Mike Jolley 47bd97862a Change priority of notices on the account page so they appear above forms/content 2019-01-14 15:09:07 +00:00
Allen Snook 21441cc441 Restore non-cart notice printing opportunity during checkout 2019-01-03 15:52:45 -08:00
Gerhard f58fcf6b3b Add woocommerce_before_lost_password_form and woocommerce_after_lost_password_form actions and hook into woocommerce_output_all_notices 2018-11-21 10:32:28 +02:00
Claudio Sanches c9d62e506a Use hook instead 2018-11-05 18:40:00 -02:00
unknown 12279989bd Fix cart notice position 2018-10-11 15:47:35 +03:00
Gerhard Potgieter 7a323c4a6d Output notices on woocommerce_before_customer_login_form 2018-09-26 11:32:19 +02:00
Mike Jolley de567c6a2e merge mistake 2018-06-07 11:26:19 +01:00
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Mike Jolley 3c905387dc Actions should be filters 2018-05-03 10:06:47 +01:00
Mike Jolley ccff8ecd17 Fix policy text preview in customizer. 2018-04-26 12:11:11 +01:00
Mike Jolley 8aa214bab5 Better callback 2018-04-19 18:37:07 +01:00
Mike Jolley 6c5d4c7cda Add privacy settings 2018-04-17 18:32:31 +01:00
Mike Jolley 8a19c5962b Further simplified customiser options 2018-04-16 17:56:44 +01:00
Mike Jolley cdd5b25bd8 Privacy page and default text handling 2018-04-11 16:41:39 +01:00
Claudio Sanches 8bdb70bcca Fixed includes/wc-template-hooks.php PHPCS violations 2018-03-08 16:48:20 -03:00
Mike Jolley 8bdff47133 Hook in subcats 2017-12-06 18:10:28 +00:00
Mike Jolley 3939f50ced Download display in account/checkout 2017-07-11 13:45:35 +01:00
Mike Jolley 13bc235020 Bump template version and move to correct function files. 2017-04-26 13:25:14 +01:00
Mike Jolley deda0f21e9 Load photoswipe template only when scripts and styles are loaded 2017-03-15 13:36:11 +00:00
Manos Psychogyiopoulos af3c24881d render product attributes in 'woocommerce_product_additional_information' action 2016-12-18 00:53:45 +02:00
James Koster 3823b78318 Add/product galleries (#11665)
* register prettyPhoto but don't enqueue. #10721

* Remove lightbox option. #10721

Also registers the prettyPhoto styles instead of enqueueing

* Stip all prettyPhoto related stuff from the templates and tidy up some logic. #10721

* Add flexslider assets #10721

* styling and re-adds `woocommerce_single_product_image_thumbnail_html`. #10721.

* Add zoom functionality. #10721

* Move js to single-product.js. #10721

* styling of the gallery thumbnails when using the `product_page` shortcode. #10721

* Only enable the zoom if the image is large enough. #10721

* Use a 4 column layout by default. #10721

* Make the carousel options filterable. #10721

* rtl styles for gallery. #10721

* Don't zoom on handheld devices. #10721

* markup tweaks in prep for photoswipe

* disable zoom for now

* Add and enqueue photoswipe assets

* add the photoswipe template

* initialise photoswipe - it's alive!

* tidy up js. add title. add separate trigger. #10721

* Move photoswipe functions to single-product.js. #10721

* reactivate the zoom! #10721

* style the photoswipe trigger. #10721

* disable flexslider animation loop. #10721

* js tidy up. #10721

* Fix jshint

* Abstract the product gallery scripts

* Minify

* Fixed conflict with the admin bar

* Photoswipe conflict with admin bar

* Index. #10721

* photoswipe button styles. #10721

* Styling. #10721

* No animation on zoom
* Image width on mobile

* No shadows please. #10721

Looking at you, Twenty Twelve.

* code tidy and add class to placeholder figure. #10721

* simplify rtl query

* photoswipe button styles

* Comma should not be here

* zoom icon #10721

* gallery thumb styles. #10721

* trigger icon. #10721

* Image margins. #10721

* icon hover states. #10721

* Variation handling

* Fix zoom and heights

* Resize after timeout
2016-10-13 15:25:42 +01:00
Mike Jolley 87443763d8 Hook in the no products found template
Closes #11257

cc @jameskoster
2016-08-08 13:43:42 +01:00
Mike Jolley 4a23c41ab2 Hook in woocommerce_widget_shopping_cart_buttons for greater flexibility 2016-07-28 15:06:55 +01:00
Mike Jolley b188ad8250 Fix product feed when using shop base 2016-06-21 12:46:39 +01:00
Mike Jolley fa6667f787 Hook in woocommerce_account_content 2016-06-06 12:04:59 +01:00
Antonino Scarfì c8527468c5 Use hook to include navigation.php template 2016-05-30 15:16:26 +02:00
Antonino Scarfì f5603bb762 Avoid leave query string on URL after delete and set default actions for token, from Payment Methods endpoint. Also, change hook position on set default action for token. 2016-05-26 15:50:22 +02:00
James Koster 850134fc20 Makes the review template easier to customise without forcing a template override. #10339
* Adds `woocommerce_review_before`,
`woocommerce_review_before_comment_meta`, `woocommerce_review_meta` and
`woocommerce_review_comment_text` actions.
* Adds `woocommerce_review_display_gravatar()`,
`woocommerce_review_display_rating()`,
`woocommerce_review_display_meta()` and
`woocommerce_review_display_comment_text()` template functions.
* Adds template files for review rating and meta.
2016-03-07 15:33:47 +00:00
Justin Shreve 9db1f65196 Hook up the payment token API to the my account > payment methods tab 2016-03-01 11:49:41 -08:00
Claudio Sanches 2de00c61ff Added account endpoint for customer payment methods 2016-02-16 13:57:46 -02:00
Claudio Sanches 36c0b6047a Less "my" and more "ours" 2016-02-16 13:50:06 -02:00
Claudio Sanches e9b5653f0b Created new filter for endpoint title and improved woocommerce_my_account_*_endpoint filter 2016-02-16 13:50:06 -02:00
Claudio Sanches 02e3c6362d Created my account > orders template 2016-02-16 13:50:06 -02:00
Claudio Sanches 6e319dfe8d Allow custom endpoints for my account 2016-02-16 13:47:04 -02:00
ardalann 52436a093c Corrected @see comments 2015-12-06 20:03:40 -07: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
Claudio Sanches a8ddd8acf9 Disabled Jetpack for products
Implemented the new Jetpack jetpack_comment_form_enabled_for_* filter

Closes #9152
2015-10-30 13:08:44 -02: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 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
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
Jodi Warren 2fb5f5bf78 Change product title to a hooked function. Fixes #8601 2015-07-20 18:10:56 +01:00
Claudio Sanches a989184135 Created initial auth templates 2015-04-22 12:27:12 -03:00
James Koster aad06e7f1c [2.3] cart totals hooked into action 2015-04-09 15:15:37 +01: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
James Koster ef28c43862 move proceed to checkout button. closes #5496 2014-10-06 12:33:39 +01:00