[solved]RC2G price not inherited by children(variants)

Started by p.barg, September 21, 2011, 13:18:22 PM

Previous topic - Next topic

p.barg

Hi,

I've set the cost price to Euro and the other prices are in € too. If I add a child product, the price is not inherited (and therefore not displayed in the frontend). If the cost price is defined in US Dollar and the other prices are specified in €, the price gets inherited by child products...

Petra

Milbo

It is meant that you set the price as modifier in the customfields, when you want to display them in a category, give them a category.

The price should be taken then from the parent.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

p.barg

#2
Hm, sorry, but I don't understand your answer... so let me try again:
if I create a child product and don't specify any information for that child, it is meant that
all information (like description, image etc.) is inherited from the parent (and displayed on
the product detail page), right? So, what I was trying to say is that the price is *not*
inherited and not shown on the flypage of the child product. I'm not talking about the symbols
here (like € or $), but the price itself (see attached image).
So, I thought that this is a bug. If it is a feature, could you please explain it in more detail?

Petra


[attachment cleanup by admin]

Milbo

Yeah,  I found the "bug".

In the moment we store the child product,.. it gets stored with 0.00 on the prices, because the table field is set as default non null. When I fill it manually in the db, that means I delete the price in the table of the child it works.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

p.barg

Yes, you obviously corrected that. After upgrading to version 2.0.0-RC-2H the problem disappeared.
But now a different problem turns up:
When adding a product variant, there is no possibility to select the relation (like size or color) to the parent ... (Therefore?) the variants are no longer shown in the frontend. Or am I missing something?

Petra

Milbo

You can use the childs as pattern (working) or as variant of a custom field. This is for the stockable feature, but we are still fighting with it. This started but not finished manual may help http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_product_customfields
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/