IanDelMar
e92309a9b6
Fix HTML comments
2022-08-09 22:42:46 +02:00
IanDelMar
39d30e2346
ensure variable is of type string
2022-07-23 17:49:20 +02:00
IanDelMar
6cf8489db8
Fix argument types and return type in doc block
2022-07-21 03:02:56 +02:00
Brian Coords
07ae32979f
Merge branch 'develop' of https://github.com/understrap/understrap into fix/accessibility
2021-11-22 20:40:00 -08:00
Gabriel Castillo
4bfc982953
Updated cs:check and lint:php
...
removed comment from extras
2021-10-25 12:30:30 -07:00
Brian Coords
2ba2528da0
updates utility classes for form-groups
2021-09-11 15:17:13 -07:00
Brian Coords
547c1f1ea5
updates woocommerce class arrays
2021-08-26 14:45:41 -07:00
Gabriel Castillo
71515af8c5
fixed compose check:cs errors.
2021-08-25 18:51:44 -07:00
Gabriel Castillo
ce5d23a405
Bug Fixed Woocommerce Intuit Payment Gateway
2021-08-25 18:28:12 -07:00
IanDelMar
0ba77d0692
Switch to lowercase s in Understrap
2021-07-28 17:38:12 +02:00
IanDelMar
981a462c39
Remove needless case in switch statement
2021-07-25 02:15:15 +02:00
UnderstrapFramework
0fb17d8acc
Merge pull request #1207 from IanDelMar/issue-1167
...
Fix 2 outdated WooCommerce templates
2021-01-21 11:09:50 +00:00
IanDelMar
de8e65d54e
Fix WPCS
...
Squiz.Commenting.BlockComment.NoEmptyLineBefore
2020-07-11 20:26:04 +02:00
IanDelMar
ed2d94d277
Use hook to add quantity input class
...
Uses the woocommerce_quantity_input_classes hook to add Bootstrap's .form-control class. The hook has been added in WooCommerce 3.6.0.
2020-07-11 17:54:12 +02:00
IanDelMar
f2d48241a8
Fix WPCS
2020-06-18 19:22:37 +02:00
IanDelMar
ab3fe5b52f
Fix WooCommerce checkbox input
...
Problem: Calling `woocommerce_form_field()` for input type `checkbox` results in a hidden checkbox.
Fix: Adjust the `understrap_wc_form_field_args` filter to make `woocommerce_form_field()` render valid Bootstrap markup.
2020-06-17 14:02:52 +02:00
IanDelMar
88bcdda3c3
Remove Bootstrap 3 classes from form fields
...
- Removes Bootstrap 3 classes from form fields
- Switches to default from control size by not replacing .input-lg with .form-control-lg
- Fixes single line and multi-line comments according to WPCS (https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/#5-inline-comments )
2020-06-04 19:11:23 +02:00
IanDelMar
860d8c123a
Fix WPCS errors and warnings + escaping
...
Fixes many WPCS errors and warnings
Also:
* Partly removes excessive php opening/closing tags.
* Uses printf for better readability in loop-templates/content-none.php.
* Adds understrap_kses_title() to escape post titles.
* Adds understrap_escape_the_archive_description() to escape the archive description.
* Fixes missing '__' after esc_html in author.php.
* Updates the phpcs.xml to reflect all the changes.
* Updates composer dependencies and scripts.
2020-04-19 12:08:39 +02:00
Gary Kealy
600eb39883
Use shorter ABSPATH check
2019-06-20 09:57:12 +01:00
IanDelMar
2334f6a9c4
Fix for #976
...
Declare `wc_reviews_enabled()` and `wc_reviews_enabled()` on frontend only.
2019-05-18 10:36:25 +02:00
Chris Allen
447674355c
Fix theme support for WooCommerce
...
Looks like the add_theme_support() call should be 'woocommerce' and not 'understrap'.
2019-05-08 20:56:21 +01:00
IanDelMar
8b841fb3e2
WooCommerce backward compatibility. Fix for #961
...
`wc_review_ratings_enable` was added in WC 3.6.0. Calling it in WC 3.5.x throws a fatal error. See #961
2019-04-29 23:42:07 +02:00
Holger Koenemann
cac4962ddb
Update Woocommerce version info
2019-04-22 18:38:43 +02:00
IanDelMar
9c8be5118d
Fix indentation & space usage
2018-11-19 00:26:03 +01:00
IanDelMar
45c9d1adb7
Prevent direct access
2018-09-10 23:59:04 +02:00
KoenemannH
6bc5c14ee8
Reset enqueue.php
2018-07-06 08:55:44 +02:00
Unknown
3bfdc7996f
Remove Add-To-Cart Function
...
There is no need for this, as the modified template file is provided. Including only the function may be confusing for users.
2018-06-05 19:46:35 -06:00
Unknown
29e92aacde
Remove closing div from WooCommerce function
...
#primary div has been moved to right-sidebar-check.php
2018-04-20 11:29:43 -06:00
Alex Wright
140da01e60
Add pluggable function wrappers to inc/woocommerce.php
2018-03-30 10:47:02 -05:00
Unknown
61dbdfcde3
Replace add-to-cart template with function
...
- Remove add-to-cart template;
- Add function to replace "button" class with "btn btn-outline-primary;
2018-03-23 13:53:48 -06:00
Holger Könemann
a2fa9e56ba
Remove woocommerce.php and replace it with hooked version
...
See
https://github.com/understrap/understrap/issues/606#issuecomment-3753920
87
Thx @ZacharyElkins !
2018-03-22 18:47:51 +01:00
Jason King
1bd7160dd7
Enable woocommerce product gallery slider by default.
2018-01-10 16:11:37 +10:30
Holger Könemann
a97c485ea3
Fixing sanitizing, escaping and prefix´s issues
2017-12-06 10:20:33 +01:00
koenemann
44c38d710a
Sorry, fixing the right fn name...
2017-12-05 08:53:57 +01:00
koenemann
86caee1f17
Rename understrap_woocommerce_form_field_args function
2017-12-05 08:51:44 +01:00
Holger Könemann
0e9f845545
Remove unused files and add search form value
2017-11-29 10:56:38 +01:00
Holger Könemann
4685be4327
Fixing woo commerce declaration and rerelease it
2017-11-29 10:50:36 +01:00
Holger Könemann
1692e21d0c
redeclare woocommerce support
2017-11-29 10:42:52 +01:00
koenemann
ba5a30e657
Changing woo commerce text domain
2017-11-28 09:04:07 +01:00
koenemann
464086a40b
Update prefixes
2017-11-27 09:07:11 +01:00
Jason King
ce3a75698d
Declare woocommerce support.
2017-05-03 14:22:35 +09:30
koenemann
60ed4079fd
Replacing woocommerce text domain with understrap
2017-04-21 14:33:06 +02:00
Jason King
363776ccd2
Adding Woocommerce 3.0.0 Product Gallery Support
...
Gallery slider needs Flexslider - https://woocommerce.com/flexslider/ . Holger will need to make the decision if this is to be implemented.
2017-04-14 20:17:51 +09:30
Holger Könemann
7345d07493
custom woo functions
2017-02-11 12:26:23 +01:00
Holger Könemann
355ad5bff4
hook in woo commerce
2017-02-11 10:15:59 +01:00
Stef Kariotidis
74b1de1722
coding standards part 1
2016-11-21 19:12:36 +02:00
Stef Kariotidis
91b04484b0
make forms more bootstrap like
2016-11-19 11:46:50 +02:00
Holger Könemann
ad03eb383a
Making all function pluggable
2016-11-01 20:36:43 +01:00
Holger Könemann
55075824cc
add woocommerce support declaration
2015-09-09 10:58:25 +02:00