X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Admin and Customer Skin Question (https://forum.x-cart.com/showthread.php?t=74434)

GlasPak 09-15-2016 10:20 AM

Admin and Customer Skin Question
 
In 5.2 the listchild for the admin side and customer side were different....

I updated my module and finally got it working but I have

# @ListChild (list="invoice.item.name", weight="20")

in both the customer and admin side and it just duplicated it twice. Is there only 1 invoice.item.name listchild now in 5.3 for both admin and customer and does it matter which one it is in?!?

qualiteam 09-27-2016 09:43 PM

Re: Admin and Customer Skin Question
 
As far as I see, in X-Cart 5.2.x, there are 3 item.sku.tpl files that insert themselves into the "invoice.item.name" list:
- skins/admin/en/order/invoice/parts/items/item.sku.tpl
- skins/default/en/order/invoice/parts/item.sku.tpl
- skins/mail/en/order/invoice/parts/item.sku.tpl

But, in X-Cart 5.3.x, there a single file only:
- skins/common/order/invoice/parts/items/item.sku.twig

So, I believe now it shares the list from the skins/common directory.


All times are GMT -8. The time now is 08:53 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.