-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Merge the markup from atomic/blocks/product-elements/ with base/components/cart-checkout/ #42680
Comments
I'm going to add this to the Block Styling epic. If we want to have a set of class names that themes can rely on, we should consolidate our blocks on a set of components. In WC Core themes can style all prices with something like: .price {
ins {
font-weight: 400;
}
} In Blocks, that would not be possible because we are rendering prices in different components with different class names (/base/components/cart-checkout/product-price/index.js and /atomic/components/product/price/index.js, for example). |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
This issue has been marked as Internal: After 10 days with no activity this issue will be automatically be closed. |
Initially discussed in woocommerce/woocommerce-blocks#1959 (comment).
We have very similar components in
atomic/blocks/product-elements/
(used for the All Products and Single Product blocks) andbase/components/cart-checkout/
(used for the Cart and Checkout blocks). This issue is about moving the markup from Atomic blocks to independent components as much as possible. Probably that would mean moving some components out of thecart-checkout
subfolder.The text was updated successfully, but these errors were encountered: