News:

Looking for documentation? Take a look on our wiki

Main Menu

Child product pricing bug

Started by dnlvsci, September 27, 2013, 21:08:11 PM

Previous topic - Next topic

dnlvsci

Hello!

I have a costumer, who use Vm2.0.14 (i know this is old vm, but it contain a lot of modification/hack so i dont want to update him) We programmed a child product module, what display child products like VM1. Evrything fine, but we found a big problem.

When we add a product override price for parent item, the child product price displaying go wrong. The salesprice show the child product discount amount (if contain something the Override filed display that price however we disabled the price override for child product, if no price in Override the program show 0 for sales price).

This bug not happen if I use discount type.

Have someone any tip? My module is commercial so I can give acces my code only who can help me :$

Thank you!

Maxim Pishnyak

Quote from: dnlvsci on September 27, 2013, 21:08:11 PM
use Vm2.0.14 (i know this is old vm, but it contain a lot of modification/hack so i dont want to update him)
Lots of modification is not the answer. Having documented your hacks, using DiffMerge/Kdiff is.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart