Xcart Skin List
Is there a way to find out all of the XCart skin lists?
I have a module to the invoices that modifies * @ListChild (list="invoice.item.name", weight="20") * @ListChild (list="cart.item.info", weight="20") But it doesn't modify the email invoice and I can't figure out what list that would be part of. |
Re: Xcart Skin List
There is no ready-made list, but you can check what view lists are used in your X-Cart 5 installation as follows:
Code:
SELECT DISTINCT list, zone FROM xc_view_lists ORDER BY zone; |
Re: Xcart Skin List
Quote:
|
Re: Xcart Skin List
It may be that your template file is located in the [xc5]/skins/default/en/ directory, whilst e-mails use a different directory for their templates: [xc5]/skins/mail/en/
Try to duplicate your template and copy it into the mail directory. |
Re: Xcart Skin List
Quote:
I added a new module into the mail skin with the same code Code:
{* vim: set ts=2 sw=2 sts=2 et: *} and redeployed the store... I verified in skins/mail/en/order/invoice/parts/item.name.tpl that i am referencing the right list Code:
<list name="invoice.item.name" item="{item}" /> but it did not show the field in the email. |
Re: Xcart Skin List
I tested the following template and it did appear in e-mail invoices:
Code:
{* vim: set ts=2 sw=2 sts=2 et: *} Please check if you put the template in the right directory. You may also try to re-deploy the site once again. |
Re: Xcart Skin List
Quote:
Directory structure got me!!! I had put it in skins/mail/en/modules/GlasPak instead of skins/mail/en/modules/EBLIEB/GlasPak EDIT: Why every time that I redeploy the store I get a missing blank.png in /var/resources/js ?!? |
Re: Xcart Skin List
Quote:
Where do you see it? Is it in var/log/ or in the browser's console? Please can you share the full error text? |
All times are GMT -8. The time now is 07:31 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.