Missing class for cart wrapper
dangelion opened this issue · comments
Dangelion commented
Hi,
from the defaults at this line
buy-button-js/src/defaults/components.js
Line 210 in 33d6aff
I see the default class is
shopify-buy__cart-wrapper
but on the rendered cart there isn't, there's shopify-buy-cart-wrapper
Adding a class on the cart wrapper doesn't work:
cart: {
iframe: false,
startOpen: true,
classes: {
wrapper: 'shopify-buy__cart-wrapper--CUSTOM', // <== ❎ not added
cart: 'shopify-buy__cart--CUSTOM', // <== ✅ added (just to testing)
}
},
Is it a bug? Otherwise how can solve?