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

Remove Woo notice templates #372

Merged
merged 5 commits into from
Jan 28, 2023
Merged

Remove Woo notice templates #372

merged 5 commits into from
Jan 28, 2023

Conversation

crftwrk
Copy link
Member

@crftwrk crftwrk commented Jan 20, 2023

As described in #333, Woo templates should be reduced for less maintenance and more stability.

This PR does it with all alerts in templates.

  • Replaced all alert alert-* classes with default Woo woocommerce-info, woocommerce-error and woocommerce-message.
  • Using @extend to show them in Bootstrap's style
  • 6 files that only had changes in the alert classes has been deleted
  • Minor margin class improvement in checkout

This has no impact on the frontend. Tested, works fine and is already live on bootscore.me. Just click through the store and check alert classes in cart, checkout and dashboard.

@justinkruit if you agree, I'm happy when you just hit the merge button. BTW, maybe I have an idea how to solve alert icons with Fontawesome's JS version, but let's do that later.

@crftwrk crftwrk changed the title Remove woo notice templates Remove Woo notice templates Jan 20, 2023
@justinkruit
Copy link
Member

I'll look into it this weekend!

Also, I said I was gonna look into the FA thing so I'll also promise to try some stuff out for that 😄

Copy link
Member

@justinkruit justinkruit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good to me 👍

@justinkruit justinkruit merged commit da99fae into main Jan 28, 2023
@crftwrk crftwrk mentioned this pull request Jan 28, 2023
59 tasks
@crftwrk crftwrk deleted the Remove-Woo-notice-templates branch April 11, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants