I am looking for a way to create sub products that will show as a dropdown list after a product parent has been added to the cart.
So there will be parent product and child products. Child products only show in the cart after a parent product has been added and you can add a child product directly on the cart page.
I will like to know what is the best way to implement a parent child system and relationship and have the ability to add child product directly to the cart on the cart page
e.g.
-------------------------------------------------------PRODUCT-----------PRICE---
---Parent-Prodruct=>-HP-Computer-System-Unit---|-----------------||-----$250----
related-Child-product-1=>-HP-mouse---------- ----|-ADD-TO-CART--||-----$5-------
related-Child-product-2=>-HP-keyboard------------|-ADD-TO-CART--||-----$25------
related-Child-product-3=>-HP-mouse-pad----------|-ADD-TO-CART--||-----$2-------
The child product will be a drop down and will show directly under the parent product in the cart display
How can this be achieved in ubercart
Comments
Comment #1
docans CreditAttribution: docans commentedComment #2
docans CreditAttribution: docans commentedComment #3
longwaveSeems like you could achieve something similar with the checkbox attributes built into Ubercart, and some code or an additional module to allow attributes to be edited from the cart page.
Alternatively there is https://drupal.org/project/uc_subproduct but I am not sure this has been upgraded to Drupal 7, and it's not quite the same thing.
Comment #4
docans CreditAttribution: docans commentedThanks Longwave
I think i need something like the uc_sub Product. But i have not seen a drupal 7 vesion. Is there any way i can get it to drupal 7. I am willing to sponsor it if its affordable.
Thanks