Question

im facing an issue in a theme for magento 2.3 im creating for the company i work for. Here's the situation: I'm using bootstrap4 grid css so i can take advantage of the layout features plus class utilities. Given these, i duplicated the block add to cart to comply to graphic design of the product page showing and hiding it in certain device contexts, and now when the conditions to activate the add to cart button happens it only activates the first button on the DOM that appears, forgetting the other.

How can i proceed in order to allow for two add to cart buttons and that the two functions correctly in the product page?

Thanks in advance

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top