Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Confirmation email with link to an other site


barselona1444

Recommended Posts

Small problem.

With payment,received,processed confirmation email client reaceiving link to an other site(we can say signature,before the owner had 3 similar sites and it looks like he mixed up everything inside)My webmaster-friend made all job...But...This problem we can not resolve.Where can he fix this?

Thank you

Link to comment
Share on other sites

Hi,

In osCommerce 2.2-MS1

This text is defined in catalog/includes/language/[your_language]/ directory

Eg. checkout_success.php - lines 18 to 22

or checkout_payment.php - about line 19

:)

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

payment,received,processed confirmation email

Hi,

What version are you using :?:

What language are you using?

 

If you are using spanish?

If you are using osCommerce 2.2-MS1 :?:

This text is defined in catalog/includes/language/espanol/checkout_success.php

About lines 18 to 22

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Hi,

I am not a big expert in versions(how do I check it :cry: )...I am using English.I check it many times,like you said..No result.Every email stays with link to other site.It looks like signature...May be I can send you copy of one of this emails. May I?You will see...may be it's my bad explanation... :wink: And I have to check this in other place...

Link to comment
Share on other sites

Hi,

You can check your version in catalog/includes/application_top.php

Around line 35 & 36

// define the project version

define('PROJECT_VERSION', 'osCommerce 2.2-MS1');

 

When you do this send me an email. :)

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Hi,

In my /catalog/checkout_process.php at line 222 to 234 is

 

// lets start with the email confirmation

$email_order = STORE_NAME . "n" .

EMAIL_SEPARATOR . "n" .

EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "n" .

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "n" .

EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "nn";

if ($order->info['comments']) {

$email_order .= tep_db_output($order->info['comments']) . "nn";

}

$email_order .= EMAIL_TEXT_PRODUCTS . "n" .

EMAIL_SEPARATOR . "n" .

$products_ordered .

EMAIL_SEPARATOR . "n";

 

It looks like after line 231 or there about

your previous webmaster added:

$email_order .= "Questions? Please view our FAQ at http://www.*************.com/catalog/faq.php.". .

 

Find that text and edit it - leave your text in between the " "

:D

HTH

Neil

 

Common sense is genius dressed in working clothes.

Ralph Waldo Emerson

Link to comment
Share on other sites

Hi,

I have this after:

 

EMAIL_SEPARATOR."/n.....

 

tep_address_label($customer_id, $billto, 0, '', "n") . "nn";

if (is_object($$payment)) {

$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "n" .

EMAIL_SEPARATOR . "n";

$payment_class = $$payment;

$email_order .= $payment_class->title . "nn";

if ($payment_class->email_footer) {

$email_order .= $payment_class->email_footer . "nn";

}

}

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT . ' #' . $insert_id, nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');

 

// send emails to other people

if (SEND_EXTRA_ORDER_EMAILS_TO != '') {

tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . ' #' . tep_db_input($oID), nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');

}

 

// load the after_process function from the payment modules

$payment_modules->after_process();

 

$cart->reset(TRUE);

 

// unregister session variables used during checkout

tep_session_unregister('sendto');

tep_session_unregister('billto');

tep_session_unregister('shipping');

tep_session_unregister('payment');

 

tep_session_register('last_order');

$last_order = $insert_id;

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));

 

require(DIR_WS_INCLUDES . 'application_bottom.php');

?>

Do I have to erase something? :roll:

I am going to be out of town till monday.I hope you can find what I can do in this situation.Thank you for your help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...