Commit Graph

21 Commits

Author SHA1 Message Date
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
Holger c293c82d7d
Merge branch 'master' into woocommerce-3.6.1-updates 2019-04-28 15:27:12 +02:00
Holger Koenemann cac4962ddb Update Woocommerce version info 2019-04-22 18:38:43 +02:00
Chris Bibby 1fe315cfa2 Woocommerce 3.6.1 updates 2019-04-20 09:45:02 +08:00
Unknown ae5790b844 Revert "Update add-to-cart"
This reverts commit 9a2d8f1753.
2018-03-23 13:50:12 -06:00
Unknown 9a2d8f1753 Update add-to-cart
Updates to current Woo source template;

I thought these were Understrap edits, but when looking through file history on Woo repo I dicovered these changes were made by Woo.
2018-03-23 12:32:37 -06:00
Unknown a2c4a4665c Orderby edits, replace with new function
Replaces code with new Woo function;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 6e90bab3df Add-to-cart edits
Remove some data attributes;
Add comment on line 25;
Remove ID and SKU esc_attr;
Add $args;
Formatting;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 76e8875ef4 Formatting and remove capitalization
Making identical to Woo files;
Add spaces;
Formatting;
Add period to exit text;
loop/orderby.php removes exit text, this is identical to Woo files and we should keep it unless they change. This will make it easier to compare templates;
2018-03-22 16:01:05 -06:00
Unknown f3b09b7955 Header fixes
Formatting;
Removing outdated Understrap comments;
Making identical to Woo;
2018-03-22 16:01:05 -06:00
Unknown 3fb28d3f64 Change version of templates to correct version
Set templates to most updated version from Woo, the version they are based on;
Adjust formatting to be identical to Woo;

Not all versions are 3.3.0, we should reflect the WooCommerce templates so that we know which version they are based on. There are instances  where seemingly older versions are the most current.
2018-03-22 16:00:16 -06:00
Holger Könemann a0c6bc127e WooCommerce update to 3.3.2 2018-03-20 18:51:20 +01:00
Holger Könemann 7b1f482f87 Updating WooCommerce compatibility 2018-02-14 08:53:36 +01:00
Jason King 088a89a36a Variable product ajax_add_to_cart fix.
Ensure simple products still use the class ajax_add_to_cart but not have them interfere with Variable products. Fixes the issue where hitting "Select options" on a variable product from the archive-product.php template adds them straight to cart.
2017-09-16 13:51:02 +09:30
Will G fb8b1eedbb Fix deprecated product accessor for WC 3.0
Uses new CRUD method
2017-04-29 15:47:05 -04:00
Jason King c972b7dbd6 Woocommerce 3.0.0 Support 2017-04-14 20:20:10 +09:30
Holger Könemann 20f32ca241 keeping custom woo commerce overwrites 2017-02-11 10:44:17 +01:00
Holger Könemann 80ff0f07fd revert custom woo commerce integration to default integration 2017-02-11 10:39:09 +01:00
Jason King 527ff7fc5a Adding AJAX classes to add-to-cart buttons.
Need to add in the default woocommerce ajax and add to cart classes for ajax to work.
2017-02-03 12:13:31 +10:30
Stef Kariotidis c73d7c36d3 bootstrap style product ordering select 2016-11-19 20:07:20 +02:00
Stef Kariotidis 4eea77d775 add to cart button bootstrap style 2016-11-18 23:30:40 +02:00