VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: MAD King on September 23, 2018, 00:20:29 AM

Title: Add Product Dimensions and Weight for every Child?
Post by: MAD King on September 23, 2018, 00:20:29 AM
Hello,

I've never used children, so I am not sure if I have to enter the Dimensions and Weight for each child to have the shipping calculated. That would mean a couple of hundreds.

Thanks
Title: Re: Add Product Dimensions and Weight for every Child?
Post by: Jörgen on September 23, 2018, 07:31:19 AM
If You do not enter anything for these fields in the child it inherits the settings of the parent product.

Jörgen @ Kreativ Fotografi
Title: Re: Add Product Dimensions and Weight for every Child?
Post by: MAD King on September 23, 2018, 14:19:17 PM
Great. Thank you very much for your help.
Title: Re: Add Product Dimensions and Weight for every Child? [solved]
Post by: MAD King on September 27, 2018, 20:16:10 PM
Quote from: Jörgen on September 23, 2018, 07:31:19 AM
If You do not enter anything for these fields in the child it inherits the settings of the parent product.

Jörgen @ Kreativ Fotografi
After trying it on several parent/child products, the children do no inherit the Product Dimensions and Weight. These fields are empty in the children after entering into the parent before creating children.
Title: Re: Add Product Dimensions and Weight for every Child?
Post by: Jörgen on September 27, 2018, 20:48:46 PM
ehrm
Have you tested it in the frontend, it is there the inheritage takes place. IF you leave the child filelds EMPTY.

Regards

Jörgen @ Kreativ Fotografi
Title: Re: Add Product Dimensions and Weight for every Child?
Post by: MAD King on September 27, 2018, 21:22:14 PM
I have not. I saw they were empty and I added the weight and dimensions of the parent to them. So, even if these field are empty in the children, they should work on the front page?
Title: Re: Add Product Dimensions and Weight for every Child?
Post by: Jörgen on September 28, 2018, 11:51:17 AM
Yes, that is the whole idea whith inheritance. Adding data on the fields overrides the inheritance. If your child has higher or lower then add the data othetwise. Remember 0 is not an empty field.
Jörgen @ Kreativ Fotografi
Title: Re: Add Product Dimensions and Weight for every Child?
Post by: MAD King on September 28, 2018, 14:34:03 PM
Quote from: Jörgen on September 28, 2018, 11:51:17 AM
Remember 0 is not an empty field.
Jörgen @ Kreativ Fotografi
Great. Thank you, Jörgen. As I always say: Zero is also a number.