- Issue created by @transmitter
-
andyd328 →
committed 81af0594 on 3.3.x
Issue #3496009 by andyd328: Button loses CSS classes, when activating...
-
andyd328 →
committed 81af0594 on 3.3.x
- 🇳🇿New Zealand andyd328 Lyttelton, NZ 🇳🇿
Hi transmitter,
I've uploaded a 3.3 dev version for you to try, and I'm pretty certain it will work for you without any problems.
However, I'm not really happy to make it a full release yet as it does a string substitution on the rendered button markup. Apart from just not liking that approach I haven't decided if represents a bc break ie if it's going to have any effect on sites already using the module that depend on the current behaviour.I suspect this is more of an issue with how the Belgrade theme adds the classes than this module - it's dependant on the text of the button being 'Add to cart' fairly late in the process. By the time it gets to adding the classes this module has already changed the text and the classes don't get added.
I'll open a support request on Belgrade and see what better ideas they have.