Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Cart
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Jul 2018 at 19:03 UTC
Updated:
13 Sep 2018 at 11:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
krzysztof domańskiComment #3
krzysztof domańskiComment #4
hubbs commentedGood idea. Patch applies cleanly but does need a slight modification. Drupal 8 follows the BEM methodology (here) so the class should actually be
button--add-to-cartsince it's modifying the base button element.New patch attached.
Comment #5
Nils Loewenunique-add-to-cart-button-class_2985777_4.patch Successfully adds the class "button--add-to-cart" to the Add to Cart Button.
Comment #6
Nils LoewenComment #8
bojanz commentedThanks, everyone!