Are you going to upgrade to Drupal 7 and Ubercart 3, in anyway, and anytime in the close future?
Thanks !

Italo
www.italomairo.com

Comments

larowlan’s picture

Status: Active » Postponed

Not sure if there is a need, UC3 has greater level of views integration.

hbalagtas’s picture

So the sub product can be implemented just by using views? Can you give a quick overview on how this can be done with Drupal 7 and UC3

end user’s picture

You can kind of do this with views but doesn't look clean with out lots of themeing. Basically you create a new node type. You can call i say product_container. Add an entity reference to this node type. Now make sure you add this node type to the catalog view(s) so it can be displayed.

When you create the the new node type you can then use the reference field to select the nodes you want referenced to it. Now you need to create a view of type block that will display those nodes on the product_container node. You have to set the Reference and Contextual filters for them to show up on each associated node (I could post this info later) Now either insert the view block into the content block or create a custom region. If you don't want the referenced nodes to show up on the catalog you have to unpublish them. They can still be added to the cart but users cant view them.

Now the problem lies with the Add To Cart form which holds the buy now button and attributes and quantity field(s). Since those are not separate fields available to views they all show up in the same table cell.

Hannu’s picture

"Now the problem lies with the Add To Cart form which holds the buy now button and attributes and quantity field(s). Since those are not separate fields available to views they all show up in the same table cell."

Here is a trick to resolve that: http://www.ubercart.org/comment/69170

Worked for me, anyway.

docans’s picture

Issue summary: View changes

I need to create a sub product for every product of mine in drupal 7 Ubercart 3. Is there a way or another module around to achieve this because the previous link does not really show you anything

Thanks