View Single Post
  #4  
Old 06-21-2016, 12:57 PM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Re: how I add a new field to orders in admin area ?

I am working on updating my module to x-cart 5.3 ... http://kb.x-cart.com/display/XDD/Adding+new+property+to+a+product apparently that doesn't work anymore?

The Flexy to Twig Converter outputted

Code:
{## # @ListChild (list="invoice.item.name", weight="20") # @ListChild (list="cart.item.info", weight="20") #} {% if this.item.product.getPPCField() %} <li class="ppc-field"> <span class="name">{{ t('Pieces Per Case') }}</span> <span class="ppc-field-value">{{ this.item.product.getPPCField() }}</span> </li> {% endif %}
__________________
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