Help.......
Quantity Price Breaks Per Product (QPBPP) v1.2.3 requires the following code in: includes/classes/shopping_cart.php
if ($products = $pf->loadProduct($products_id, $languages_id)) {
$products_price = $pf->computePrice($this->contents[$products_id]['qty']);
----------------------------------------------------------------------------------------------------------------------------------------------
Going by the QPBPP instructions the following MVS code would be replaced with the QPBPP code above.
//MVS start - added v.vendors_id, v.vendors_name, and v.vendors_id = p.vendors_id
$products_query = tep_db_query("select p.products_id, pd.products_name, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_tax_class_id, v.vendors_id, v.vendors_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_VENDORS . " v where p.products_id = '" . (int)$products_id . "' and pd.products_id = p.products_id and v.vendors_id = p.vendors_id and pd.language_id = '" . (int)$languages_id . "'");
//MVS end
if ($products = tep_db_fetch_array($products_query)) {
$prid = $products['products_id'];
$products_price = $products['products_price'];
----------------------------------------------------------------------------------------------------------------------------------------------
In testing I found that if the MVS code is replaced the QPBPP code the QPBPP module works just fine. MVS continues to work too. However, in Admin and MVS Orders the product information for the order is missing.
Since I'm not a coder I have no idea how to mix both together to make them work in harmony.
Any help would be greatly appreciated.
Joe