Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Product reference
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 May 2012 at 03:11 UTC
Updated:
1 Sep 2012 at 11:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
helior commentedThese wrapping divs are always rendered because they are actually necessary for dynamic value replacement – say, when you switch your color attribute. It would be nice however to have some context as to when the product field is empty, as you described for CSS purposes.
Comment #2
FAAREIA commentedExcellent helior, it works perfect. Many thanks for this patch and this module =)
Comment #3
vasikehas no success patching.
#1: empty-product-field-classes-1570058-1.patch queued for re-testing.
Comment #4
vasikeactually i tried patching against the dev version
Comment #5
vasikechanged version and recreate the patch. it seems it's working
Comment #6
vasikeComment #7
rszrama commentedTrimmed a little from the patch and committed! Thanks.
Commit: http://drupalcode.org/project/commerce.git/commitdiff/c98eca8