var zoomy = "\n\
\n\ Zencart sends order confirmation emails, but by default they might not have enough information.\n\
\n\ \n\\n\ To add some extra info to emails that your customers receive, look through incudes/modules/classes/order/php and around line 863 you'll find these fantastic instructions:\n\
\n\/* START: ADD MY CUSTOM DETAILS \n\ * 1. calculate/prepare custom information to be added to this product entry in order-confirmation, perhaps as a function call to custom code to build a serial number etc: \n\ * Possible parameters to pass to custom functions at this point: \n\ * Product ID ordered (for this line item): $this->products[$i][\'id\'] \n\ * Quantity ordered (of this line-item): $this->products[$i][\'qty\'] \n\ * Order number: $zf_insert_id \n\ * Attribute Option Name ID: (int)$this->products[$i][\'attributes\'][$j][\'option_id\'] \n\ * Attribute Option Value ID: (int)$this->products[$i][\'attributes\'][$j][\'value_id\'] \n\ * Attribute Filename: $attributes_values->fields[\'products_attributes_filename\'] \n\ * \n\ * 2. Add that data to the $this->products_ordered_attributes variable, using this sort of format: \n\ * $this->products_ordered_attributes .= {INSERT CUSTOM INFORMATION HERE}; \n\ */\n\ \n\ $this->products_ordered_attributes .= $custom_insertable_text;\n\ \n\ /* END: ADD MY CUSTOM DETAILS */\n\ \n\
\n\ $this→products_ordered_attributes gets added into the email a few lines down both for html and text-based emails. \n\
\n\ \n\\n\ In our case, we wanted to add links to the products documentation, so our code looks like this:\n\
\n\$this->products_ordered_attributes .= "\\n Tutorials: [[" . HTTP_SERVER . \'/products/\' . $this->products[$i][\'id\'] . "#tutorials]]";\n\ \n\