Guest Posted April 25, 2006 Posted April 25, 2006 Hi, It seems that installing QTPRO on top of Fancier Invoice & Packing Slip 6.1 has caused all the product attributes to disappear from both admin/packingslip.php and admin/invoice. They still appear as normal in shopping_cart etc but not all I get under PRODUCTS in invoice or PACKINGSLIP is 1 x Product Name - : (?0.00) Where - should display the list of attributes added to the product. MySQL looks to have all the QTPRO info in the "orders_products_attributes" table and Fancier Invoice & Packing Slip 6.1 only seems to query the table "orders"??? This is an extract from admin/invoice.php (fancy inv 6.1) if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br><nobr><small>?<i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; I'm reasonable convinced the changes needed take place around here. Any thoughts please (definitive solutions are most welcome!) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.