VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: velikorodnov on February 15, 2015, 20:05:55 PM

Title: Problem with Childs
Post by: velikorodnov on February 15, 2015, 20:05:55 PM
Hello, developers.
I use Joomla 3.3.6 + VM 3.0.4 and I have a problem with child products.
If we take a look at VM 2.6, there everything worked fine. We could use 2 types of custom fields with the child products: Generic child variant and the Stockable plugin.
With Generic child variant we could output the child with the parent connection and reloaded all child content. Everything is clear and logically.
With Stockable we could create the size and color product for the parent, keep a record of stock by childs. Everything is clear and logically.

Now in VM 3.0.3 Generic child variant changes childs without reloading of content but there is no possibility to reload the scripts. It would be great if you could create (output) a function for the scripts refreshing on the product page.

Then, you replaced Stockable with the Child Variant field. In the admin panel you did a  good job but on front-end part there are some problems with the fields, they are working illogical. Also, for some unknown reason there is a page refreshing and the product is changed. I tested it on the default theme with the default sample data. The Child Variant fields output in the module, category page, front page and the product page.
Title: Re: Problem with Childs
Post by: Milbo on February 15, 2015, 23:04:14 PM
Please test the upcoming version 3.0.6 here http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-detail

furthermore the content is refreshing, by ajax, just so fast that you do not really notice it. If you are writing your own javascript, you should use our new js handler to avoid problems http://docs.virtuemart.net/tutorials/development/196-the-vm-javascript-handler.html
Title: Re: Problem with Childs
Post by: lindapowers on February 16, 2015, 16:06:46 PM
Quote from: Milbo on February 15, 2015, 23:04:14 PM
Please test the upcoming version 3.0.6 here http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-detail

furthermore the content is refreshing, by ajax, just so fast that you do not really notice it. If you are writing your own javascript, you should use our new js handler to avoid problems http://docs.virtuemart.net/tutorials/development/196-the-vm-javascript-handler.html

Hi Max, please check the behaviour of that product from the category view http://demo.virtuemart.net/default-products

Doesnt load the childs (not even to the detailed view) and the add to cart appears on top of some variants.
Title: Re: Problem with Childs
Post by: Milbo on February 16, 2015, 21:16:47 PM
Dammit, was a really hard problem, was sitting hours on it.
Title: Re: Problem with Childs
Post by: lindapowers on February 18, 2015, 17:45:54 PM
Quote from: Milbo on February 16, 2015, 21:16:47 PM
Dammit, was a really hard problem, was sitting hours on it.

Still the visual issue with the add to cart button in the category view of the demo template.