Jump to content

adi5497

Recommended Posts

Hello, I don't know why, but I located a bug with tracking number on customer's order details page.

Let's start from Admin Back Office panel. Go to Improvements -> Shipping -> Carriers -> Choose on of the shipping method and click "Edit". You can input here url to adding tracking number to an Order details page, where "@" will be a tracking number:

image.thumb.png.cf9c316257110a8d929c0a9255eda9e2.png

If you do not input there anything, on Order details page, customer will see just a tracking number as text, not as link. Ok, that's fine.

But if you put there url to tracking number: image.thumb.png.ffb43786eb46399ec01023785421ff6e.png

then on Order details page, customer see this:

And I don't know where is the problem. image.thumb.png.08fb24a512a20ad5dbd06310118d0bea.png

There should be only a tracking number as link, but you can see a part of html code. There is any solution of this problem?

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
On 29.12.2017 at 2:55 AM, guuds said:

try to modify the template file, file name is "themes/{theme_name}/templates/customer/order-detail.tpl"

Change "{$line.tracking}" to "{$line.tracking_number}"

There are 2 places need to be replaced

Hope this can help:)

Thanks, now tracking number is shown as text, not as a link ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...