New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update WooCommerce templates #1904
Conversation
add_filter( 'woocommerce_loop_add_to_cart_args', 'understrap_loop_add_to_cart_args' ); | ||
|
||
// Add markup. | ||
add_filter( 'woocommerce_loop_add_to_cart_link', 'understrap_loop_add_to_cart_link' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain this filter that adds the container around the add to cart button?
Also do we still need to modify |
This PR does not solve that issue. |
Description
This PR updates some WooCommerce templates and drops one template by using filters instead.
Motivation and Context
Some changes (some from long ago, some more recent changes) have not yet been incorporated into the Understrap WooCommerce templates.
Types of changes
Checklist:
develop
.develop
.composer cs:check
has passed locally.composer lint:php
has passed locally.Related Issues or Roadmap requests
Fixes #1903
Further comments
Update msgid: woocommerce/woocommerce@b7c8e3e
Accessibility improvements: woocommerce/woocommerce@bb02983
Use wp_doing_ajax: woocommerce/woocommerce@4f39c25