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

'Creating custom email notifications' dev doc

   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
Thread Tools Search this Thread
Old 01-27-2020, 02:39 AM
  vasilis's Avatar 
vasilis vasilis is offline

Join Date: Feb 2009
Posts: 754

Default Re: 'Creating custom email notifications' dev doc

You don't need to do this from the var directory. I work with the classes directory directly. And yes using IDE otherwise it will be impossible to follow the code.
Indeed Steve, I noticed that as well in I can trace code from inside the /classes directory. According though to the developer's articles, the php scripts are executed from inside the var/run/classes directory after they have been cached by the decorator during a store re-deployment. So, I wonder how come the tracing in the IDE can take place from inside the /classes directory, which is of course is a good thing.
Reply With Quote
Old 01-27-2020, 03:50 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline

Join Date: Apr 2007
Posts: 14,033

Default Re: 'Creating custom email notifications' dev doc

This has been the case for every XC version. You shouldn't work off of the var/run directory as this contains modified files ran through the decorator. You need to work with the actual raw classes.
In fact you should set your IDE to ignore the entire var directory as you don't want it to be indexing and searching files off of there.
Steve Stoyanov
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
vasilis (01-27-2020)
   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 06:58 AM.


X-Cart forums © 2001-2020