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.

  • 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 *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.