1,
The currency on my sites are Japanese Yen ( ¥ ), the HTML for it is ( ¥ ).
The Pdf does not display the ¥ symbol it displays ¥
My question is how do I go about fixing this?
The template file is using $CURRENCY_DISPLAY->getFullValue() to display prices.
You can replace the ¥ with ¥ using the str_replace function.
str_replace("¥","¥", $CURRENCY_DISPLAY->getFullValue($the_variable_containg_the price));
2,
I have many attributes on my products (customizable computers) and have therefore changed account.order_details.php, order.order_printdetails.php and ps_checkout.php for a tidier look.
You can read about it here: http://virtuemart.net/index.php?option=com_smf&Itemid=71&topic=13399.0
My question is how can I do the same with this addon. All the attributes lines up in one row.
I want to get them one per row.
You can change this in the template file.
The function ContentRow recieves the attribute value from the database in the variable $attribute.
So you can split the attribute and make an array of individual attributes.
Then loop over the array and print all attributes as a new line.
You can use this code in your loop,
$this->Cell(30,5,'',0,0,'L');
$this->Cell(130,5,"(".$current_attribute.")",0,0,'L');
$this->Ln(5);