View Single Post
  #17  
Old 12-05-2016, 10:21 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: Default Product Values

You should never edit existing files. Custom modification must be done as isolated modules with new files - this will help you to adapt the changes for future X-Cart versions.

The above is for a new PHP script - classes/XLite/Module/DEV_ID/MODULE_ID/Model/Product.php (you should replace DEV_ID and MODULE_ID with your ones). Of course, you should also add Main.php script as per the documentation.
__________________
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