Jump to content

Tracking Shipping Number [Courier URL issue]


Syler

Recommended Posts

Hi Everyone,

I am setting up a new store (CubeCart version 4.4.5) and having an issue regarding 'Tracking Shipping' for customers.

Somehow the Courier Tracking URL that I specified is displayed after my Store URL?

Example: www-mywebsitename-com-au/www-fedex-com-au

Please note: dot is replaced with dash for this post only.

In my ADMIN side, I only entered www-fedex-com-au ^_^

but then when it is clicked from the STORE (from customer account), it comes out as www-mywebsitename-com-au/www-fedex-com-au :o

I ended up with 'The webpage cannot be found' as it is looking for it within my website. :angry:

Any idea what might have caused this issue please? :unsure:

Thanks,

Syler

Link to comment
Share on other sites

Just as a wild guess, do you have the SEO URL feature turned on?

Not being exceedingly familiar with CC4 (as I am with CC3), can you elaborate on where exactly a customer needs to be (mention all known page views) to have a link presented to them that contains this mal-formed address?

When you say, "In my ADMIN side...," where exactly are you in admin? In a shipping module?

Link to comment
Share on other sites

Just as a wild guess, do you have the SEO URL feature turned on?

Not being exceedingly familiar with CC4 (as I am with CC3), can you elaborate on where exactly a customer needs to be (mention all known page views) to have a link presented to them that contains this mal-formed address?

When you say, "In my ADMIN side...," where exactly are you in admin? In a shipping module?

Yes, I have the SEO feature ON and I have tried OFF and still having the same issue.

OK.. it's like this, customer can view their 'Order History' once they've logged in to their account and can choose to see more details of any particular order by clicking the Order Number,

which will take them to 'View Order' page, and somewhere in that page, they can click on the link that says 'Track this order' which supposed to take them to whatever courier company URL that I have assigned,

through my CubeCart ADMIN area by clicking 'Orders' and choose an order and click 'Edit' and in that 'Edit Order' page, there is a field call 'Courier Tracking' where I can assign any URL for that 'Track this order' link that customer can click on.

I hope I am making it clear enough this time.

Link to comment
Share on other sites

Ah! I see. Again, not being exceedingly familiar with CC4, allow me to ask if this Courier Tracking field in the admin Edit Order page is an after-market mod? If so, you may wish to contact the mod author.

But as you describe it, this result is exactly what would happen if an anchor tag (<a href="address">) is not a full and complete address - with protocol.

So, for the URL you enter into this field, please verify you are using this format:

http://www.fedex.com.au




Not using the protocol will many times have the browser automatically prepend the site's address. For example:


<a href="docs/help.html">Help Page</a>
is a relative address and the browser will prepend the actual address of the page that has the link.




<a href="/docs/help.html">Help Page</a>
is a fixed address and the browser will prepend the actual address of the root folder of the site.




<a href="www.mysite.com/docs/help.html">Help Page</a>
is really no different than a relative address.




<a href="http://www.mysite.com/docs/help.html">Help Page</a>

is a fully qualified and complete address and the browser will use it as is.

Now, after adding the http:// to the courier address, if you weren't already, and you still get your site's address prepended to the courier's full and complete address, then definitely you need to consult the mod's author. If it is a mod, that is.

Link to comment
Share on other sites

Thank you much for the clarification on this CC4 feature.

As such, however, I would have thought that a test would be imperative to add the protocol part if it was missing. An oversight perhaps of a mod author, but core CC4 code? Maybe this should be reported as a bug - not so much as a mistake in programming, but to make the field entry more mistake-proof? Ah, but how would a test for the presence of a protocol differentiate the respective required protocol - http vs https vs whatever?

Link to comment
Share on other sites

Indeed it needs the word 'http' and it's working fine now..!

So, Thank you bsmither and leeofaccy for the help and clarification.

Regarding making it 'Mistake-Proof', I would probably leave a note next to the field that says something like Enter a complete URL below (must include the word 'http'):

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
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...