Hello all,
I am going to integrate new features in virtuemart 2.0.2 in joomla 1.7
I need help in that.
What i am doing is follow..
1 > From admin when i add new product or update existing product's image at that time i am selecting one color from list box, and when i save it.
2> color code will save in to database.
3> When i change the color it will display images related to that color.
4> The color list comes from the custom fields list which i have created as color.
5> I have also created on field in database table "__virtuemart_medias"
6> Please see attached file to get more idea what i mean.
7> I can change all image by ajax using list box onchange event. but when i delete or remove any image it will delete two image or add '0' value in database file_image_thumb field. I call ajax without color comparing.
I need to know is...
I have completed fetching colors that i have created in custom field.
My question is
1 > How can i save the color in database when i click on "save" or "save & close"?
2 > How can i call ajax on list box change event?
3 > How can i delete only the selected image on that i have clicked ? using ajax.
4> Sometimes ajax call give error as "you can not allow direct access or restricted area"
5> I want to change product image like this page
http://www.forever21.com/Product/Product.aspx?BR=f21&Category=dress_little_black_dress&ProductID=2000020408&VariantID=
Please give me suggestion.
Thanks
[attachment cleanup by admin]
Please do not post the same message multiple times.
Answered in this thread. http://forum.virtuemart.net/index.php?topic=100918.msg334162#msg334162