Skip to content
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

Merged
merged 12 commits into from Sep 29, 2022
Merged

Conversation

IanDelMar
Copy link
Contributor

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

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I pulled my branch from develop.
  • I am submitting my pull request to develop.
  • I have resolved any conflicts merging this pull request would create.
  • I have checked that there aren't other open Pull Requests for the same update/change.
  • My code follows the code style of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • composer cs:check has passed locally.
  • composer lint:php has passed locally.
  • I have read the CONTRIBUTING document.

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

@bacoords bacoords added this to the 1.2.0 milestone Sep 26, 2022
@bacoords bacoords linked an issue Sep 27, 2022 that may be closed by this pull request
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' );
Copy link
Member

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?

@bacoords
Copy link
Member

Also do we still need to modify understrap_wc_form_field_args() (#1827) or does this solve that issue?

@IanDelMar
Copy link
Contributor Author

Also do we still need to modify understrap_wc_form_field_args() (#1827) or does this solve that issue?

This PR does not solve that issue.

@bacoords bacoords merged commit 849ff36 into understrap:develop Sep 29, 2022
@IanDelMar IanDelMar deleted the woo-templates branch September 29, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WooCommerce Templates out of date
2 participants