Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Send order html email, as?


Holder

Recommended Posts

Ths contribution works correctly, but you must becarefull in the installation. There is now the 4.2 available on os.com. I modified a little bug.


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

  • 2 months later...

Hi,

Thanks for this great contribution! One small problem, on my emails sent to customers, I can't figure out how to fix this problem:

 

 

Order Detail: http://www.mydomain.comaccount_history_info.php?order_id=6031

 

I am missing a slash betweent he domain and file name. I tried lots of things but nothing works yet. I'm sure its real simple. Anyone help?

 

I have same issue with the images. The path is missing the / after the domain.

 

Thanks very much!

 

Steve

Link to comment
Share on other sites

Look you configure account if all the fields are corrects.

if your installation was manual, you have maybe forgotten a "/"


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

  • 1 month later...

I installed version 4.23 and just when you press the latest button in checkout

"Confirm Order" I get this message:

 

"You must agree to the terms and conditions to finish your order"

 

at the top of the checkout screen and whatever I press it keeps coming back without sending the E-Mail order.

 

What's wrong here?

Edited by Tetris
Link to comment
Share on other sites

I have been fogotten to delete this code. Put /* and */ before the

 

// ################### Added ###############

// check for terms and conditions agreement

 

/* if ($HTTP_POST_VARS['agree'] != 'true') {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode('You must agree to the terms and conditions to finish your order'), 'SSL'));

} */

// ################ End Added #############


Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

 

Link to comment
Share on other sites

Thanks for this solution, now it sends an E-Mail.

 

I have one more question.

 

In the E-Mail that's send to the customer It writes this

 

(at the top I see this) VARHTTP VARSTYLE

VARLOGO

VARTABLE1

 

EMAIL_TEXT_DEAR Silvia

 

MESSAGE_SOCIETYWebwinkel

 

 

Your Contact Information

 

EMAIL_TEXT_USER: [email protected]

 

EMAIL_COMMENTS

 

 

(at the end I see this) EMAIL_TEXT_FOOTER

EMAIL_TEXT_FOOTERR /td>

 

 

I want to know why are those Defines/Variables there instead of their value?

Link to comment
Share on other sites

  • 4 months later...
Thanks for this solution, now it sends an E-Mail.

 

I have one more question.

 

In the E-Mail that's send to the customer It writes this

 

(at the top I see this)    VARHTTP VARSTYLE

                                  VARLOGO 

                                  VARTABLE1 

 

                                  EMAIL_TEXT_DEAR Silvia

 

MESSAGE_SOCIETYWebwinkel 

 

 

Your Contact Information 

 

EMAIL_TEXT_USER: [email protected] 

 

EMAIL_COMMENTS

(at the end I see this)        EMAIL_TEXT_FOOTER

                                      EMAIL_TEXT_FOOTERR /td> 

I want to know why are those Defines/Variables  there instead of their value?

 

I get the same thing did any one figure this out? Please help!!!

Link to comment
Share on other sites

Looks like you have missing text file

add_checkout_process

 

or code added to checkout_process not correct

 

I just checked, and it was missing, but now its not emailing out? It was missing :

add_checkout_process.php but it is still doing that.

 

this is the code in catalog/includes/language/english/checkout_process.php

 

// ################### added Send order Html mail ##############

require(DIR_WS_LANGUAGES . $language . '/' . 'add_checkout_process.php');

// ################### End added Send order Html mail ##############

 

Its right?

Link to comment
Share on other sites

this is the code in catalog/includes/language/english/checkout_process.php

 

// ################### added Send order Html mail ##############

require(DIR_WS_LANGUAGES . $language . '/' . 'add_checkout_process.php');

// ################### End added Send order Html mail ##############

 

Its right?

 

Yes , it is

 

For this module you have few files : check catalog/includes/modules/email/html_checkout_process.php

if nothing broken there

 

and if still nothing there so post here copy of email you geting from the shop

Link to comment
Share on other sites

Okay here is the email i get:

 

VARLOGO

 

 

 

EMAIL_TEXT_DEAR Hotwire

 

 

 

MESSAGE_SOCIETYJagged

 

Your Contact Information

 

EMAIL_TEXT_USER: [email protected]

 

EMAIL_COMMENTS

 

Date Ordered: : Wednesday 29 September, 2004

 

Order Number: 5

Detailed Invoice:: http://dev.bodmodculture.com/catalog/accou....php?order_id=5

 

 

 

IMG

 

 

 

 

 

 

Products EMAIL_TEXT_PRODUCTS_MODEL EMAIL_TEXT_PRODUCTS_QTY Total:

VW Belt

 

EMAIL_NO_MODEL 1

 

$15.00

 

 

DETAIL Sub-Total: $15.00

Table Rate (Best Way): $8.50

Total: $23.50

 

 

Delivery Address Billing Address

(Address's Removed for Privacy)

 

 

 

 

Payment Method

Cash on Delivery

 

 

EMAIL_TEXT_FOOTER

EMAIL_TEXT_FOOTERR

 

Im on version 5.1 now!

Edited by Hotwire
Link to comment
Share on other sites

looks like wrong lines coming from

catalog/includes/languages/english/add_checkout_process.php

 

and normal text lines coming from

catalog/includes/languages/english/checkout_process.php

 

so i can imagine HTML way not working

 

Please check in admin panel of your shop if email configuration allow HTML email

:blink:

Link to comment
Share on other sites

looks like  wrong lines coming from

catalog/includes/languages/english/add_checkout_process.php

 

and normal text lines coming from

catalog/includes/languages/english/checkout_process.php

 

so i can imagine HTML way not working

 

Please check in  admin panel of your shop if  email configuration allow HTML email

:blink:

 

Yep HTMl Emails are on.

Link to comment
Share on other sites

Yep HTMl Emails are on.

 

Its still not sending out emails properly, Im getting the emails, but they still have the variable instead of the variable data. Is there any MySQL that I should have setup? there wasnt any in the package i downloaded. Thanks allot.

 

John Brent

Link to comment
Share on other sites

I cant imagine what can be problem , if all files in proper places and not broken.

I am using old version , but no big difference in these files.

In my version no SQL file needed.

 

my mind is still around add_checkout_process.php file and checkout_process.php

 

try to replace your files with files from the pakage

(checkout_process.php and add_checkout_process.php) , if possible.

Link to comment
Share on other sites

I just replaced both the files, and the one in the catalog dir. just to see if that fixes the problem.

 

Im not too sure what can be causing this.

 

I cant imagine  what can be problem , if all files  in proper places and not broken.

I am using  old version , but no big difference in these files.

In my version no SQL file needed.

 

my mind is still around add_checkout_process.php file and checkout_process.php

 

try to  replace your files with files from the pakage

(checkout_process.php and add_checkout_process.php) , if possible.

Link to comment
Share on other sites

Is it working properly now ?

 

Well kinda, I had to edit a lot of the files to get them to talk to each other. (Mostly due to the fact that my OSC is highly modded. Im still not to sure about the page with all of the blue and orange squares, but that will have to come again later.

 

Where do i have to edit the layout of the html email?

Link to comment
Share on other sites

Where do i have to edit the layout of the html email?

 

catalog/includes/modules/email/html_checkout_process.php

catalog/includes/modules/email/html_create_account_process.php

 

me also not finished this work on my shop (one month already), it is working

and sending email , but not really nice looking for my taste.

may be one day i will finish this. :'(

Link to comment
Share on other sites

It is something new for this version. I think it is preview for

admin/includes/modules/email/html_orders.php

 

or ...... i do not know really what is it.

Try to send messege to author of this version , becouse i do not know about new

functions of this module.

Link to comment
Share on other sites

It is something new for this version. I think it is preview for 

admin/includes/modules/email/html_orders.php

 

or ...... i do not know really what is it.

Try to send messege to author of this version  , becouse i do not know about new

functions of this module.

 

I will ask, Because i think it has to do with the updating of the order, i get one when ever i update my order.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...