View Single Post
  #2  
Old 07-13-2016, 10:19 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: How do I modify Purchase Order

You can do it from a custom module.

These are the files that control the form:
- \XLite\Model\Payment\Processor\PurchaseOrder class
- skins/default/en/checkout/purchase_order.tpl template

Most likely replacing the template file with a custom one that displays only a single PO field will be enough. You can do it either by making your module to be a custom theme, or by decorating the getInputTemplate() method in PurchaseOrder class and making it refer to your custom template file.
__________________
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