It’s simple to add any cck field for a product to the product invoices. Here’s the code to add one: $nid = ($product->nid);
$noderef = node_load($nid);
echo ' ;The Package Quantity:'.$noderef->field_pkg_qty[0]['value'];

This code to adds CCK fields in Ubercart to invoices and works with the version 2.3 and later Ubercart.

One response to “CCK Fields in Ubercart Invoices”

  1. Jeroen says:

    And how does this work in drupal 7 UC 3

Leave a Reply

Your email address will not be published. Required fields are marked *