| ||||||||||
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 |
#31
|
|||||||
|
|||||||
Re: Invoice notification
I'm working on testing this now, but lets just say this does work.
How do I go about putting in a "Settings" link on the Module to allow me to configure the Email address and subject?
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#32
|
|||||||
|
|||||||
Re: Invoice notification
Well I went to Rebuild the Cache after enabling the Module and I'm getting the following error:
Code:
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#33
|
|||||||
|
|||||||
Re: Invoice notification
aaah nevermind, I figured it out, your code had a space before the <?php
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#34
|
|||||||
|
|||||||
Re: Invoice notification
Ok so I put in my personal cell number and didn't get the notice. I went and changed the status to Paid and Processed, I didn't get a notice.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#35
|
|||||||
|
|||||||
Re: Invoice notification
So I realized I had the wrong text email address in the Order.php I fixed that, but it still doesn't work. I did verify that email my text address does work.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#36
|
|||||||||
|
|||||||||
Re: Invoice notification
Hi Michael!
1) In order to create settings for address and subject, please use this article: http://kb.x-cart.com/display/XDD/Step+4+-+working+with+settings 2) Could you please send me a pack of your module, so I could test it on my installation? Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#37
|
|||||||
|
|||||||
Re: Invoice notification
Tony,
https://www.dropbox.com/s/7x0lv6soz9tec8q/FasterThanYours-InvoiceTextNotification-v5_1_8.tar?dl=0
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#38
|
|||||||||
|
|||||||||
Re: Invoice notification
Hi Michael!
I was wrong about what method you had to decorate. You should decorate the sendProcessOrderCustomer() method of the \XLite\Core\Mailer object. This implementation would be something like this: PHP Code:
Surely, it should be located in the Core/Mailer.php file in your module directory. Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! Last edited by tony_sologubov : 11-26-2014 at 06:03 AM. |
|||||||||
#39
|
|||||||
|
|||||||
Re: Invoice notification
So I made the Core Folder, put the Mailer.php inside it, added the code above. Rebuilt the Cache after removing the original Order Folder. When I went to checkout and hit Place order, it went to /cart.php?target=checkout and it was completely blank.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#40
|
|||||||||
|
|||||||||
Re: Invoice notification
Did you get any PHP error messages in the <X-Cart 5>/var/log/ folder? Check xlite.log and php_errors.log files.
__________________
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
|