Active
Project:
Ubercart Field attributes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Nov 2013 at 22:14 UTC
Updated:
11 Oct 2015 at 13:03 UTC
Jump to comment: Most recent
Comments
Comment #1
deepak_kadam commentedAny update on this?
Comment #2
miiimoooI haven't tested this with taxonomy fields. Looking at the code here is the bit that may be interesting:
So if the field formatter returns a usable value in #markup it should work.
Otherwise if you can provide a fully feature flexed feature I can have a look.
Comment #3
strawman commentedAny word on this? Quite curious as I'm in a similar situation. Would love to use the taxonomy to filter content as well as making it the attributes to choose from. Seems like a simple enough thought but finding it very difficult to find a module that does it. this so far seems the closest I can get.
Comment #4
Buytra commentedSame as asking.
Can not use taxonomy as attributes filed,that was a important requirments.
Comment #5
kratkar commentedReplace
$value = strip_tags($value['#markup']);in uc_field_attribute.inc by:For user reference or node reference you need to use "#markup". I tested.
Comment #6
yurg commentedNot sure if one-line replacement worth a patch to be added; besides the module seems to be abandoned a bit. Anyway, if one needs to get any node field (in my case it has been field collection, should also work with node/entity reference field) as product attribute, this replacement might be useful:
line 24 of uc_field_attribute.admin.inc
$instances = field_info_instances('node', $class->pcid);to
$instances = field_info_instances('node', 'product');In my case all fields of Product content type become available as Field Attributes.