News:

Looking for documentation? Take a look on our wiki

Main Menu

Product quantity

Started by RolandD, November 25, 2011, 01:02:34 AM

Previous topic - Next topic

RolandD

Guys,

I really wonder why this abracadabra is still in the VM2 code, despite the major table reorganization:

// Fix the product packaging
if ($product->product_packaging) {
$product->packaging = $product->product_packaging & 0xFFFF;
$product->box = ($product->product_packaging >> 16) & 0xFFFF;
}
else {
$product->packaging = '';
$product->box = '';
}
Why not just have an extra column?
Regards,

RolandD

CSVI
http://www.csvimproved.com/

RolandD

Regards,

RolandD

CSVI
http://www.csvimproved.com/