How can i add values to the actual order, eg
I use seo_title, and number_of (which is a line in my data base to show how many parts are included in that line, ie pack of 4)
I edited this in templates/ override/includes/modules/content/shopping_cart/tpl_cm_sc_product_listing.php, line number 27
Code: Select all
// changed to show seo title and number of --- echo '<a href="', $product->get('link'), '">', $product->get('seo_title'), '</a>';
echo '<a href="', $product->get('link'), '">', $product->get('seo_title'), ' (pack of ' , $product->get('number_of'), ')', '</a>';
(now I understand what the templates override is, very cool)
But when I get to the order confirmation page, its referring back to products name, because its getting the data from the order and not the table
So I would like to be able to collect, in the order, products_desription seo-title and my new product_of, so I can show the same in product conf, maybe also available for Invoice and emails
So would like as I stated to add a few values to the order (global I assume its called) to use
Preferably in a way that does not affect the core, but I doubt if that is possible, at least minimise it.
Kindest regards
David