VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: olejenya on February 12, 2015, 08:24:38 AM

Title: Child Prod
Post by: olejenya on February 12, 2015, 08:24:38 AM
Hello. Use virtuemart3.0.4 and joomla3.3.6.
Create Chaild  products and they keep setting custom fields of the parent product, and what's worse, I can not delete them or add new ones. Same with the Custom fields Related Products and Related  Categories
Title: Re: Child Prod
Post by: Milbo on February 13, 2015, 09:53:53 AM
You should read the tooltips about disable and override of customfields.

1. we call it child, because it inherits attributes of the parent, if the attribute is not set
2. When you delete an inherited customfield of a parent, the attribute customfield is not set!

=>You cannot delete the customfield of a parent, because if you delete it, there is no information that it should be deleted and then it is inherited again. Therefore you must use disable! The checkbox!
Title: Re: Child Prod
Post by: olejenya on February 15, 2015, 14:07:21 PM
Ok, senks
Return plugin Stockable, and then your new Child Variant does not work more appropriate to. Roughly speaking, he just do not work. In the admin is very comfortable and everything is clear, but at the very product page does not work, and why it reloads the page, and then one time, and all other times "NetworkError: 404 Not Found - http: // localhost / work / Child% in 2003? tmpl = component "
  TEST DEFAULT version 3.0.4 + dzh3.3.6
Make it work as before Stockable, and add product to cart, and you do not uidete any size, not the material from which made nothing but the name of the product.
Not logical. And how do your Select sample in the module and the category page? There has not to overload the content.
Generic child option - uploading content - it's cool.
Child Variant - all breaks and nothing is clear, let him work as Stockable
Title: Re: Child Prod
Post by: olejenya on February 15, 2015, 14:59:11 PM
http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-33-detail - 
works, but why reboot content? (((do not add to cart chaild options. A category page http://demo.virtuemart.net/default-products how to deal with chaild options?
Title: Re: Child Prod
Post by: olejenya on February 15, 2015, 16:09:26 PM
UpdateContent URI /work/index.php/en/women/dresses/white-detail?tmpl=component - work
next update
UpdateContent URI green?tmpl=component
UpdateContent URI blue?tmpl=component

??????
Title: Re: Child Prod
Post by: olejenya on February 15, 2015, 20:42:55 PM
If the override template topic, take a look at this design
<div id="productdetailsview" class="productdetails-view">
<?php } // Product Navigation END
   echo vmJsApi::writeJS();
    ?>
</div>

If the script will connect before, or after, you will not be overloaded chaildy
Title: Re: Child Prod
Post by: Milbo on February 15, 2015, 23:05:07 PM
http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-detail

Title: Re: Child Prod
Post by: olejenya on February 16, 2015, 10:20:57 AM
Quote from: Milbo on February 15, 2015, 23:05:07 PM
http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-detail
hi
add to cart
1 x VM T-Shirt multi child
24,00 €
Child Variant  - not option M:Blue:Abstract
Title: Re: Child Prod
Post by: Milbo on February 16, 2015, 13:39:10 PM
You mean the selected attribute is not displayed in the cart. Hmmm yes.
Title: Re: Child Prod
Post by: Milbo on February 16, 2015, 13:41:08 PM
If you take two different products with different image, you can see that it selects the right product. But you are right, the selected attributes should be written in the cart and not just "Child Variant"
Title: Re: Child Prod
Post by: Milbo on February 16, 2015, 17:12:53 PM
Quote from: olejenya on February 16, 2015, 10:20:57 AM
Quote from: Milbo on February 15, 2015, 23:05:07 PM
http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-detail
hi
add to cart
1 x VM T-Shirt multi child
24,00 €
Child Variant  - not option M:Blue:Abstract

Please test now
Title: Re: Child Prod
Post by: olejenya on February 17, 2015, 18:57:03 PM
Quote from: Milbo on February 16, 2015, 17:12:53 PM
Quote from: olejenya on February 16, 2015, 10:20:57 AM
Quote from: Milbo on February 15, 2015, 23:05:07 PM
http://demo.virtuemart.net/default-products/vm-t-shirt-multi-child-detail
hi
add to cart
1 x VM T-Shirt multi child
24,00 €
Child Variant  - not option M:Blue:Abstract

Please test now
now works. add to cart parameters correctly. But the question  with the module and   page of categories is open. If you selected options page are refreshing, or it is ok?