problem with calculations in eCart object, and dollar sign
I have a problem when editing the eCart object, and working on the calculations tab.
I have a calculation called Full details that concatenates some fields together with the dollar sign.
Every time I do this, it breaks the cart config file.
For example, if I have a calculation called FullDetails in the eCart object, that looks like this:
[Quantity] . ' - ' . [Name].' '.[OptionName].' $' . [TotalPrice]
It is supposed make this line in the config file:
$itmObj->FullDetails = $itmObj->Quantity . ' - ' . $itmObj->Name.' '.$itmObj->OptionName .' $' . $itmObj->TotalPrice ;//t
However, it always breaks it into 2 lines, and consequently causes a parse error
$itmObj->FullDetails = $itmObj->Quantity . ' - ' . $itmObj->Name.' '.$itmObj->OptionName.' ;//t
. $itmObj->TotalPrice ;//t
It always breaks it at the dollar sign. Is there a different way I could do this?
Tom