VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: p.barg on March 08, 2017, 10:26:34 AM

Title: Duplicate price for cloned products VM 3.0.19.8
Post by: p.barg on March 08, 2017, 10:26:34 AM
Hello,

after cloning a product, the product shows the price twice (in BE). In FE the price is only shown once.

J 3.7.0-beta3, VM 3.0.19.8

-- Petra
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Milbo on March 08, 2017, 11:10:08 AM
Is it a derived product?
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: p.barg on March 08, 2017, 11:44:05 AM
Seems to be the case for any kind of product.
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Jörgen on March 08, 2017, 11:53:18 AM
Can confirm that two identical price items are created when cloning a product.

VM 3.0.19.8
Joomla 3.6.5


regards

Jörgen @ Kreativ Fotografi
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Jörgen on March 08, 2017, 12:33:10 PM
Guess what :)

Cloning the cloned product produces 2 new price items, in total now 4 price items. I think cloning a product does not produce an extra price item, it doubles the already assigned ones.

best regards

Jörgen @ Kreativ Fotografi
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Milbo on March 08, 2017, 23:31:11 PM
found it fixed,.... took hours. was a miracle, but at the end "simple". Fixed also missing shoppergroups of the clone
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Jörgen on March 09, 2017, 06:47:46 AM
Thank You :)

Jörgen @ Kreativ Fotografi
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: p.barg on March 09, 2017, 09:40:55 AM
Great - thanks  :)
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Milbo on March 13, 2017, 12:45:10 PM
Please test http://dev.virtuemart.net/attachments/download/1057/com_virtuemart.3.0.19.9_extract_first.zip
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: p.barg on March 15, 2017, 11:27:51 AM
I can confirm that this version fixed the issue  :)
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Jörgen on March 15, 2017, 15:14:18 PM
Quote from: p.barg on March 15, 2017, 11:27:51 AM
I can confirm that this version fixed the issue  :)

I can second that  ;)

Jörgen @ Kreativ Fotografi
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: GaryV on March 29, 2017, 21:41:51 PM
Quote from: Milbo on March 08, 2017, 23:31:11 PM
found it fixed,.... took hours. was a miracle, but at the end "simple". Fixed also missing shoppergroups of the clone
Is it possible to fix it without update to new version? Change some code?
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: Milbo on March 29, 2017, 21:50:39 PM
Search in the svn history http://dev.virtuemart.net/projects/virtuemart/repository

is not a big deal. You just need to find the right version, check the changes and add them yourself.
Title: Re: Duplicate price for cloned products VM 3.0.19.8
Post by: GaryV on March 29, 2017, 21:55:20 PM
Thanks