Quote:
Originally Posted by geckoday
X-Cart only supplies the product code of the variant and not the product. You would need to modify the query in include/func/func_order.php function func_order_data to rename the products table productcode field to something like parentproductcode so that it doesn't get overlayed by the product code in the order_details table. It should then be available in the template as $product.parentproductcode.
|
Oh wow, works perfectly... THANKS!
For anyone else I added:
$sql_tbl[products].productcode as parentproductcode
to the sql query in the query in the function above.