Author Topic: [solved]RC2G price not inherited by children(variants)  (Read 2573 times)

p.barg

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 165
    • Barg IT
[solved]RC2G price not inherited by children(variants)
« on: September 21, 2011, 13:18:22 pm »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: RC2G price not inherited by children(variants)
« Reply #1 on: September 22, 2011, 03:16:59 am »
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

p.barg

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 165
    • Barg IT
Re: RC2G price not inherited by children(variants)
« Reply #2 on: September 22, 2011, 09:16:04 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: RC2G price not inherited by children(variants)
« Reply #3 on: September 22, 2011, 15:40:01 pm »
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

p.barg

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 165
    • Barg IT
Re: RC2G price not inherited by children(variants)
« Reply #4 on: October 11, 2011, 10:30:35 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: RC2G price not inherited by children(variants)
« Reply #5 on: October 11, 2011, 12:20:33 pm »
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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/