| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Invoice notification | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Re: Invoice notification
Shouldn't an email to the customer only be sent when the 'Notify customer' checkbox is selected? This is my first X-Cart project, so still learning but my initial assumption was an email would only be sent to the customer when that checkbox is selected.
Seems like the decision of when to notify the customer should always be made by the Admin making the update vs. having logic built in that automatically sends an email when certain actions/fields are updated. Plus it would eliminate work on the X-Cart team to keep this logic working or updated when new status need to be added. Sounds like a Win Win to me! Any recommendation on how to modify this? Also I'm going to submit this to the Ideas section, but would be great if there was a text field where the Admin can add in some specific text to add when they want to notify their customer of an update to their order. So far really enjoying working on X-Cart! Great product!
__________________
X-Cart 5.1.9 (win) |
|||||||
|
#22
|
|||||||
|
|||||||
Re: Invoice notification
If you're responding to my post, my request has nothing to do with the customer. My client has the need to notify a few employees via text when a product is sold. It's a really long explanation. I think I'm going to put my topic in s new thread.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#23
|
|||||||||
|
|||||||||
Re: Invoice notification
Quote:
In order to send notification to mobile email address, you should edit the Sales department e-mail option in Store setup > Contact information section in admin area: http://awesomescreenshot.com/0b23rwx523 Please, let me know if it works for you. Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#24
|
|||||||||
|
|||||||||
Re: Invoice notification
Quote:
Notifications about changed order status are always sent to customer. Although, we want to create options which will manage it. I feel, you mean the "Send Order created notifications to customers" option. This option controls notifications after customer submits an order via off-line payment method (like phone ordering or check). It does not affect orders placed via payment gateways like Paypal or Authorize.Net. Quote:
What is the result you are trying to achieve? Quote:
This is already planned, but thanks for submitting idea anyway! Quote:
Thank you for your kind words!
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#25
|
|||||||
|
|||||||
Re: Invoice notification
Tony,
That won't do what I need because I don't need to send the whole Email like what would normally go to the sales department. If you point me to the code that makes the actual email to the sales department, I'm sure I can figure it out. Because in XC4, I was able to mod the code and make it send both the normal Sales Department notice as well as the much shorter text version. Which for my purposes only needs to be Product Name - SKU - Price.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#26
|
|||||||||
|
|||||||||
Re: Invoice notification
OK, then you need to look at sendProcessMail() method of the class described in the classes/XLite/Mode/Order.php file.
Please, let me know if it helps.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#27
|
|||||||
|
|||||||
Re: Invoice notification
Based on my limited, but educated understand of XC5, I'll give that a 50/50 on me figuring it out lol Thanks though...I'll give it go.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#28
|
|||||||
|
|||||||
Re: Invoice notification
So I believe I've narrowed it down to the right section of code as you suggested, but once again this is nothing like XC4. So I've hit that wall. I don't understand where I need to insert the new bit of code, perhaps after the first "$mail->send();" I need to build out the text notification? But again I have no idea how to call the 3 fields I'm looking for. I think it's go something to do with array()?
This is the Order.php I made thus far. PHP Code:
I'm just guessing here, but does the code need to be added like this after the first $mail->send(); ? PHP Code:
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#29
|
|||||||
|
|||||||
Re: Invoice notification
Tony,
Just so we're on the same page. What I did in this thread for 4.3.2 is what I'm looking to do in XC5 and also have the ability to configure additional sms Email addresses. http://forum.x-cart.com/showthread.php?p=336406
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#30
|
|||||||||
|
|||||||||
Re: Invoice notification
The simplest implementation would be something like this:
PHP Code:
I have not tested it, so please sorry if it does not work straight away. It shows you the idea though.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|