Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Incorrect link on order update


peterespana

Recommended Posts

Hello Forum members,
 

Still solving little errors in our shop...

This is an change of state / comment on a order:

 

Quote

Order Number: 12528
Order Details: https://nameofmystore.com/FILENAME_ACCOUNT_HISTORY_INFO?order_id=12528
Date Ordered: Friday 06 March, 2020

The comments for your order are

Of course the link goes nowhere.

I am now searching for hours in the files where to solve this.
Does anybody know where to look?

Thanks
Peter

 

Link to comment
Share on other sites

1 hour ago, ecartz said:

What version of osCommerce?  What page are you on? 

The two main possibilities would be the page itself and the language file for the page. 

It's osCommerce Online Merchant v2.3.4

It's what the client receives when I put a comment in their order.

Thanks P.

 

 

Link to comment
Share on other sites

What page do you use to add a comment to the order? 

Have you looked for FILENAME_ACCOUNT_HISTORY_INFO on that page? 

Have you looked in the language file? 

Here it is for Phoenix: 

            $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link('account_history_info.php', 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

It might be in a similar place or somewhere different for you. 

Always back up before making changes.

Link to comment
Share on other sites

That is the problem, I don't know where to look.

In the clients order you put a comment. Click on update and an email with that comment is sent to the client. In that mail is the not-working link to his/her order details (with the comment).

Thanks

Link to comment
Share on other sites

To find all instances of FILENAME_ACCOUNT_HISTORY_INFO in your site files using Notepad++

image.png.b1ca46bc6d8ce66dc1b80a663d47d858.png

image.png.95fff93e3acb5208f94ca49f11921734.png

Navigate to the directory on your PC where the whole site is located. Click Find All

image.thumb.png.3bd1117bde1656bfcb792fe32b8e3abf.png

This is what I get with my Phoenix site. Then double click a line of code and the complete file will open in Notepad++

Hope this helps.

Live shop Phoenix 1.0.8.4 on PHP 7.4 Working my way up the versions.

Link to comment
Share on other sites

7 hours ago, mhsuffolk said:

To find all instances of FILENAME_ACCOUNT_HISTORY_INFO in your site files using Notepad++

image.png.b1ca46bc6d8ce66dc1b80a663d47d858.png

image.png.95fff93e3acb5208f94ca49f11921734.png

Navigate to the directory on your PC where the whole site is located. Click Find All

image.thumb.png.3bd1117bde1656bfcb792fe32b8e3abf.png

This is what I get with my Phoenix site. Then double click a line of code and the complete file will open in Notepad++

Hope this helps.

Thanks for your help.

it was in admin\orders.php

It has been solved!

regards Peter

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...