VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Grisu74 on October 06, 2012, 22:13:03 PM

Title: color, size and final price
Post by: Grisu74 on October 06, 2012, 22:13:03 PM
Hello, I need help, you can make sure that the customer chooses the color, size (height and length) available for a product and based on the choice to change the final price? Help me please it's very important for the realization of my e-commerce, thanks

www.venezianeplisse.com
Title: Re: color, size and final price
Post by: Grisu74 on October 07, 2012, 17:07:40 PM
it is possible to be realized? Otherwise, try also an expert in reward to give me a hand to the project. thanks
Title: Re: color, size and final price
Post by: sucuisine on October 07, 2012, 17:26:43 PM
Yes it is possible

Define a parent with children: child 1 blue, 10 inch, child 2 ... with the prices for the child
Define a custom field (plugin, stock control)

Use at parent the custom field defined above and link the childs with the corresponding variants

See also my topic at
http://forum.virtuemart.net/index.php?topic=108443.0
Title: Re: color, size and final price
Post by: Grisu74 on October 07, 2012, 20:47:44 PM
Use at parent the custom field defined above and link the childs with the corresponding variants

This step is not clear to me .... Can you explain better please?? thanks  :-\ :-\ :-\
Title: Re: color, size and final price
Post by: sucuisine on October 07, 2012, 21:17:31 PM
See also http://forum.virtuemart.net/index.php?topic=100480.0

Go to the parent product tab custom field. Use the defined custom field in the custom field tab. See the attachement in my post.
Title: Re: color, size and final price
Post by: Grisu74 on October 07, 2012, 23:35:45 PM
because it gives me this error? ???

Warning: Invalid argument supplied for foreach() in /web/htdocs/www.venezianeplisse.com/home/plugins/vmcustom/stockable/stockable.php on line 227
Title: Re: color, size and final price
Post by: Grisu74 on October 08, 2012, 19:48:24 PM
solved the problem before, but now I can not delete a child product, can not delete, I proceed to delete using the database?
Title: Re: color, size and final price
Post by: sucuisine on October 08, 2012, 21:17:52 PM
Try this stockable.php
http://forum.virtuemart.net/index.php?topic=103067.msg356904#msg356904

But verify the required version

I have implemented this on www.sucuisine.com . I have VM 2.0 10
But even I have some issue's price do not always corresponds the variant

Regards