News:

Looking for documentation? Take a look on our wiki

Main Menu

Child product Names Resetting Themselves

Started by jimleeder123, December 01, 2015, 17:24:07 PM

Previous topic - Next topic

jimleeder123

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?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

jimleeder123

Anyone have any idea please? (bumping up due to no activity)
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jimleeder123

Yes its a very odd bug which hopefully will be patched. Wonder if its the Joomla or PHP level?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jimleeder123

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.
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

Jörgen

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


Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Milbo

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).
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jimleeder123

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.
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk