Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fancier Invoice & Packing Slip 6.1 and QTPRO 4.2a problem?


Recommended Posts

Posted

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!)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...