Author Topic: Bug prices children products  (Read 3144 times)

paolo.tateo

  • Beginner
  • *
  • Posts: 13
    • bindCommerce
  • Skype Name: paolo.tateo
  • VirtueMart Version: 2.0.x
Bug prices children products
« on: December 27, 2012, 14:50:09 pm »
I must point out this problem with version 2.0.16 born

When I save a parent product, VirtueMart creates record price of € 0 for all the children, and these override the prices for the father.
101 VETRINE - bindCommerce
VirtueMart Integration with eBay and other
http://www.bindcommerce.com

paolo.tateo

  • Beginner
  • *
  • Posts: 13
    • bindCommerce
  • Skype Name: paolo.tateo
  • VirtueMart Version: 2.0.x
Re: Bug prices children products
« Reply #1 on: January 03, 2013, 22:06:34 pm »
I understand the problem better.

When there are multiple prices for different price lists, does not work the management of the product child prices.
If I save the product, the price of all the children becomes 0.

When instead there is only one list (only one group of customers) this problem does not occur.

Tested on 2.0.16a
101 VETRINE - bindCommerce
VirtueMart Integration with eBay and other
http://www.bindcommerce.com

paolo.tateo

  • Beginner
  • *
  • Posts: 13
    • bindCommerce
  • Skype Name: paolo.tateo
  • VirtueMart Version: 2.0.x
Re: Bug prices children products
« Reply #2 on: January 03, 2013, 22:17:56 pm »
Only one list price: (no bug)


Two lists price: (bug)
101 VETRINE - bindCommerce
VirtueMart Integration with eBay and other
http://www.bindcommerce.com

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10283
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Bug prices children products
« Reply #3 on: January 04, 2013, 15:36:38 pm »
crazy :-)
took me sometime to reproduce it. It works good, except you have a null price, then it is overwriten by 0.0. Hmmmm ... I take a look.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10283
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Bug prices children products
« Reply #4 on: January 04, 2013, 16:16:54 pm »
thanks, I think I found a good solution.

Problem left is that if you open the child, then the price is again displayed. Grummel, grummel
fu php and their sloopy variable types. if ($bla=='0') is true for 0.00, okey lets do it with strcmp(), fu... the same

But should be managed now
delete a price to make a null price,.... if you want to overwrite the parent with a 0 price then use 0.0.

new c version is this evening. you was the last fix.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

paolo.tateo

  • Beginner
  • *
  • Posts: 13
    • bindCommerce
  • Skype Name: paolo.tateo
  • VirtueMart Version: 2.0.x
Re: Bug prices children products
« Reply #5 on: August 23, 2013, 15:27:26 pm »
Thank you very much late!
I had not received notification of a reply!

Paolo
101 VETRINE - bindCommerce
VirtueMart Integration with eBay and other
http://www.bindcommerce.com