Author Topic: Problem with Childs  (Read 1155 times)

velikorodnov

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 34
  • Skype Name: velikorodnov
Problem with Childs
« 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.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10017
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Problem with Childs
« Reply #1 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Venta de naranjas online y mandarinas
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: Problem with Childs
« Reply #2 on: February 16, 2015, 16:06:46 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.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10017
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Problem with Childs
« Reply #3 on: February 16, 2015, 21:16:47 pm »
Dammit, was a really hard problem, was sitting hours on it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Venta de naranjas online y mandarinas
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: Problem with Childs
« Reply #4 on: February 18, 2015, 17:45:54 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.