News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Custom field plug in - text not showing on order email

Started by Green Monkey, August 20, 2012, 08:37:05 AM

Previous topic - Next topic

Green Monkey

Hello,

I have added several custom text plugins to capture information from the customer. However, the captured text from the customer is not appearing on the order email or the email confirmation to the customer.

Is there a way of fixing this so it shows as it is an integral component to the website I have built?

Look forward to a response.

Amanda

SteveBab

I am in the same spot. I cannot find any documentation as to how to add custom field text to the emails or invoices.

I see this code at line 57 in com_virtuemart/views/invoice/tmtl/invoice_items.php where they SHOULD be loading but don't:

if (!empty($item->product_attribute)) {
if(!class_exists('VirtueMartModelCustomfields'))require(JPATH_VM_ADMINISTRATOR.DS.'models'.DS.'customfields.php');
$product_attribute = VirtueMartModelCustomfields::CustomsFieldOrderDisplay($item,'FE');
echo $product_attribute;
}


VM 2.0.10
Joomla 2.5.6