Closed (fixed)
Project:
eC Live Subproducts
Version:
5.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jul 2007 at 12:18 UTC
Updated:
17 Aug 2007 at 05:33 UTC
Hello!
Once I create the subproducts, those will appear in the product list. (Floding the categories if we have many attributes)
On the subproduct node page the add to cart button does not work.
I need a solution either make the button work or the best would be an option to hide subproducts and only list the Parent.
Any suggestion would be appreciated.
Gabor
Comments
Comment #1
brmassa commentedGabor,
its strange, im gonna investigate and soon i post here a definitive answer.
regards,
massa
Comment #2
vojnar commentedHi,
Ok the temporarely solution for me, and maybe for others would be if I could find the function which inserts the subproduct node into the node table with status=1 after I click on add to cart on the parent node page. Unfortunately I did not find any function in the subproduct.modul nor in the cart.module inserting or updating anything in node table.
Can you tell me where to look for?
Thanks,
Gabor
Comment #3
vojnar commentedIssue:
Any time when I used click on the add to cart button the subproduct appeared in the parent category.
So the solution is:
1. In ec_live_subproducts.module
2. Find node_save($newnode);
3. Place this beforehand: $newnode -> status = 0;
This will unpublish the subproduct but you still will be able to add te parent product with the attributes. On the subproduct node the add to cart button did not work anyhow.
I hope this helps, have fun!
Gabor
Comment #4
brmassa commentedGabor,
its fixed on eCommerce 4 subproducts.
regards,
massa
Comment #5
(not verified) commented