p = product.get_subtype_with_attr('parent', 'product')
parent_product = p.parent.product

On Wednesday, April 4, 2012 6:47:04 PM UTC+2, Thomas wrote:
>
> Hi,
>
> Is there a (standard) way to find out what the parent of a product variant 
> is? e.g. the parent of "large red hat" would be "hat".
>
> Many thanks,
> Thomas
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/satchmo-users/-/ed0HNmFJqiQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to