Zen Follower
- Join Date:
- Aug 2008
- Posts:
- 115
- Plugin Contributions:
- 0
Apppend Manufacturer to Product names in customer orders??
I'm sorry for posting this question here if this is not the best forum section....
Simplified question:
What file is responsible for writing the contents of the clients cart to the table "orders_products" during checkout completion???
Why do I ask?
Here's the longer version of the same question:
I'd like to have my cart append the current manufacturer of a product to the products' name when an order is completed. Currently the data is saved to the table: orders_products but does not include manufacturer data.
example data:
Manuf: Everready
Product Name: 12 v flashlight
Currently an order Invoice displays only:
" 1 x 12 v flashlight"
I would prefer the Invoice to read as:
" 1 x 12 v flashlight, Everready"
I am not interested in just pulling the info at the time of viewing and printing of an Invoice (there is another thread that discusses this but it is not the same as what I wish to do).
Since, in my case, my manuf info may change from time to time, I would prefer to actually store this info with the order's product data itself, as it existed at the time of checkout. It appears the easiest way would be to simply append or concatenate the manuf name to the product_name at the time the order is saved. This should not cause a problem as product_name value is not used as a key.
Anyone know what file / line would need to be located to allow this? I can't seem to find it.
Or is there another way of achieving the same the end result????
Thanks for any feedback!!!