Closed (fixed)
Project:
Commerce Discount
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jul 2015 at 16:47 UTC
Updated:
2 Dec 2015 at 19:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mglamanPatch!
Comment #2
joelpittetWhile the example is not translatable, styling discount line item titles does sound appealing.
Thought for class name would be a bit more specific like ...
.line-item-title--has-discountjust in-case. What do you think?comma at the end ;)
Should likely be "Wrap markup around discounted product line item title." or something to that effect?
I expect this shouldn't effect anybody that is using _alter hook that has already done this for themselves?
Comment #3
mglamanUpdated with reviews from #2. I made the class
line-item-title-has-discountsince BEM style "--" for modifiers are rampant in contrib (for D7)Comment #4
mglamanComment #5
joelpittetCommitted with BEM/CEM double hyphen. (discussed with mglaman on IRC)