Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Admin and Customer Skin Question

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-15-2016, 10:20 AM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default 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?!?
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote
  #2  
Old 09-27-2016, 09:43 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:02 PM.

   

 
X-Cart forums © 2001-2020