I'm using Joomla 2.5.28 and VM 3.0.12 for this website.
I'm finding that every time I edit a child product or edit the parent product, the associated child products reset their names. When I create a child product, usaully I just have to type in "10"" or "12"" etc as the product name such as "Margherita" or "Funghi" will already be in there. However whenever edited or parent is edited, it resets the child name to just "10" or "12" etc.
Any idea why this is please?
Anyone have any idea please? (bumping up due to no activity)
Hello
I have seen something similar.
- I open the parent and start to edit a Child through the parents link, edit the Child Products name and save the Child.
- I go back to the parent that has been open and save the parent Product.
- Now the parent has reverted my Changes for the Childs name.
This behaviour is maybe not expected, but with a bit of planning this can be avoided. Never have the parent open if You plan to edit Child parameters that are displayed in any of the parents views.
regards
Jörgen @ Kreativ Fotografi
Yes its a very odd bug which hopefully will be patched. Wonder if its the Joomla or PHP level?
Hello again
This can´t be patched, if I understand this right. You have data in two forms, last saved wins. This is like editing a product in two views at the same time, last saved view sets the data.
regards
Jörgen @ Kreativ Fotografi
What a pain. Am trying the latest Joomla with the latest VM on our newest website so hopefully won't happen on this version, doubt it though.
Thanks for your replies though anyway.
Hello again
If it the same issue that I see You solve this by not saving the parent if You open child products through the parent view. Update the parent view with F5 if You want to see the changes made by the child view before editing any more in the parent view or simply close the parent without saving if You aren´t interested in editing in the parent view. The issue is when saving data in the parent after editing data in the child views that are common to both views. If You just remember what You are actually editing this will not be a big issue.
regards
Jörgen @ Kreativ Fotografi
the form has two times the same data, yes.
When you open a parent, and open the children in another tab, and you change the name of the children, you must reload the form of the parent!
Else the old name of the children is in the overview tab and is stored. The right way is btw to use the overview tab and not to enter the children. When you use generic child variant customfield, then you can even directly change the chosen dimension (the one which is show in the dropdown).
Update on this - I think the name resets itself because it doesn't like the " character. Child names such as 9" pizza get reset but small pizza stays the same, so the problem lies with that and maybe other characters.