Frequently asked questions
1. Can PDF's be added to e-mails as attachments?
This is not possible anymore. We did attach PDF's of the order, invoice and other documents as attachments in ccVAOM 1.x, but it was causing issues on customer servers. It is very rescource intensive to create a PDF on most servers or shared hosting plans. And if the ccVAOM batching was used to create and send multiple PDF's, the website would become very slow/appear to be down. In ccVAOM 2+ we changed the functionality so that there is a secure direct download link, and a PDF is only created when a user actually clicks the link. Because of the distributed creation the server performance issues are a thing of the past.
2. Error "TCPDF ERROR: Can't open image file"
This error appears when there is an issue with images used in the invoice template.
Behind the error you will see a file name. First you can try to set the permissions of that (image) file differently. For example set it to CHMOD to 755 or 777 (depending on your server settings). We do not advice using CHMD 777, if you have to, tell your hoster to make the server more secure (and use suPHP)!
If changing the file permissions does not help: recreate and rename the image, save it in another extension (.jpg or .png) and upload it again. Then replace the new version with the old version of the image.
Also have a look at this error, which is similar: "I get an error "TCPDF ERROR: Unable to create output file"
3. Error "TCPDF ERROR: Unable to create output file"
The server permissions for the downloads folder are not set correctly. Set the below folder CHMOD to 755 or 777 (depending on your server settings). We do not advice using CHMD 777, if you have to, tell your hoster to make the server more secure! Then can install suphp to improve this.
/administrator/components/com_ccvaom/assets/files/
4. Can I re-add the original templates?
Yes. If you modified the one of the templates, or for some other reason, want to re-add the default template, you can download it and re-install it.
The default templates can be found in the chapter about templates in the manual under Support > Manuals > ccVAOM > Templates... Once downloaded, open the file in a HTML or text editor, and copy it. Then go to Components > ccVAOM > Templates and open the correct template. In this view, click on the HTML or code button in your WYSIWYG editor and remove the current code. Then add the code from the default template there.
5. ccVAOM templates are stangely formatted
Sometimes the templates are adjusted automatically by the WYSIWYG editor used in your Joomla! website. We will add the solution as we encounter them. In TinyMCE plugin (Extensions > Plug-in Manager) set the option “Code cleanup on save” to Always.
6. [ccVAOM 3] Currency converter errors
You might get this error in Virtuemart 2 (and therefor in ccVAOM, cciDEAL or ccOmniKassa).
The line number is different depending on the VM version:
Fatal error: require_once() [function.require]: Failed opening required '/.../administrator/components/com_virtuemart/plugins/currency_converter/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /.../administrator/components/com_virtuemart/helpers/currencydisplay.php on line 45
The issue has been reported many times to the Virtuemart team (1 2 3 4), but there is not one conclusive solution apparently. It seems that after upgrading to a new VM version, the currency converter file is not handled correctly anymore. Because there is no official solution, please implement this work around. Go to /administrator/components/com_virtuemart/helpers/currencydisplay.php and around line 56 look for the below line.
Change that to the below where you should change convertECB.php if tou use another file.
7. Can I use the VAT ID registered by Virtuemart as a tag?
Yes, if you use the (commercial) Virtuemart VAT ID checker by the Virtuemart team, you can use the tag {eu_vat_id} to show the registered VAT ID in documents in ccVAOM.
8. How are tag values calculated?
We try not to calculate numerical values for tags ourselves, but to take the values as they are statically stored in the Virtuemart database. So most tags are output from a certain database value in Virtuemart. Because we only do very minimal calculations in ccVAOM, the chance of getting a miscalculation is also very low.
Although we love to add new tags to ccVAOM, we are careful of adding tags that do not display a static value from the Virtuemart database. Those tags will sometimes require a calculation, and we will therefor only add them if they are logical and usable for all ccVAOM users.
An example of the connection between the Virtuemart database tables and ccVAOM tags is shown in the below image. Please note that you do not need this image to use ccVAOM, it's just for demonstration purposes. Which tags should be used in what case is explained in ccVAOM and is easy to understand based on the tag name and position in the default ccVAOM templates.


