Closed (fixed)
Project:
eC Live Subproducts
Version:
5.x-2.07
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
5 Jun 2007 at 19:12 UTC
Updated:
8 Jul 2026 at 18:58 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedOk one unsupported way to do this for anyone else interested:
1) Add a variation for "Select an Item", and make it the default. This will add it to the dropdown as item #1, however you can submit it as a product now.
2) To prevent it from being submitted, add a print_r($data) inside the ec_live_subproducts_subproduct_set() function around line 1045. Submit an item to the cart, and you'll be able to see the array index you need to exclude the item.
3) Then add this validation, around line 1048:
Obviously will all break if you change the weight of variants, or update the module. Works for today though.
Comment #2
brmassa commentedGreg,
There are some jQuery libraries to do so.
regrads,
massa
Comment #3
(not verified) commented