Remove Kit Option
Posted: Fri Mar 12, 2010 2:46 pm
I am trying to find a way to modify kits to allow me to remove/add options.
With standard java dropdown's its simple like this example.
http://www.felgall.com/jstip22.htm
I am looking threw the Producthelper.cs, BuyProductDialog.ascx, and ShowProduct 1.htm
I found the lines
I am looking for someplace I can add a javascrip to add or remove options based on the 1st option.
I know that "options and variants" has this type of control i am looking for. But I have to use kits for pricing / inventory reasons.
Any suggestion on what file to try to add the scrip too?
With standard java dropdown's its simple like this example.
http://www.felgall.com/jstip22.htm
I am looking threw the Producthelper.cs, BuyProductDialog.ascx, and ShowProduct 1.htm
I found the lines
Code: Select all
public static Dictionary<int, int> BuildProductOptions(Product product, PlaceHolder phOptions)
{
Code: Select all
protected void GetSelectedKitOptions()
{
_SelectedKitProducts = new List<int>();
//COLLECT ANY KIT VALUES
Code: Select all
[[ConLib:BuyProductDialog]]
I know that "options and variants" has this type of control i am looking for. But I have to use kits for pricing / inventory reasons.
Any suggestion on what file to try to add the scrip too?