Hi
I would like to alter the component text in the receipt email.
At present you get the following:
What I want is:
It appears the area to best achieve this is in the OrderScript.pl file.
How can I best get BOTH component and attribute descriptions on the same line...?
("Colour" and "Chosen" are components & "Choice" and "Cover" are attributes)
It must be a "\n" generated somewhere...
BTW, "Product 1" and "Product 2" descriptors are NOT included in this enquiry.
The layout I want IS used on the on screen shopping cart by default, so why is the email different??
Thanks.
I would like to alter the component text in the receipt email.
At present you get the following:
Code:
Shopping Cart (Prices in British Pounds) DESCRIPTION QUANTITY PRICE COST ---------------------------------------------------------------------- Product 1 1 £799.00 £799.00 Colour 1 Choice: Black Product 2 1 £200.00 £200.00 Chosen 1 Cover: 5 Seats ====================================================================== Subtotal: £999.00 Shipping: £1.00 Total: £1,000.00 ******************************************************
Code:
Shopping Cart (Prices in British Pounds) DESCRIPTION QUANTITY PRICE COST ---------------------------------------------------------------------- Product 1 1 £799.00 £799.00 Colour Choice: Black 1 Product 2 1 £200.00 £200.00 Chosen Cover: 5 Seats 1 ====================================================================== Subtotal: £999.00 Shipping: £1.00 Total: £1,000.00 ******************************************************
Code:
GenerateCustomerMail Routine ($pProductDescription,$nLineCount) = ActinicOrder::WrapText($FullDescr,$nDescriptionColumnWidth); # Word wrap description my $sIndent = ""; # Indent extra lines foreach (@$pProductDescription) # Add all description lines { $pPrintTable->[$nColumn]->[$nCurrentRow++] = $sIndent . $_; # Keep counting rows $sIndent = " "; # I removed the double space to line up the components } $nColumn++; # Finished, next column $pPrintTable->[$nColumn++]->[0] = $ComponentQuantities[$nComponentCount]; }
("Colour" and "Chosen" are components & "Choice" and "Cover" are attributes)
It must be a "\n" generated somewhere...
BTW, "Product 1" and "Product 2" descriptors are NOT included in this enquiry.
The layout I want IS used on the on screen shopping cart by default, so why is the email different??
Thanks.
Comment