CCK Fields in Ubercart Invoices

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. And how does this work in drupal 7 UC 3

Leave a Reply