I have set up a link called Tracking Number on an E-Commerce site (using Drupal Commerce). Since my client only uses UPS for their shipping, I set up a Link field type where all they would need to do is enter the UPS tracking number. I would like to set up this LINK field with pre-existing text or a base path such as "http://upstracking.com/tracking_number=" so that all the client has to do is enter "AAAAA22233344" in this field so that the final URL would be something like "http://upstracking.com/tracking_number=AAAAA22233344."

Is this possible? And if so, how would I go about doing this? Thanks.

Comments

Fubeman’s picture

Issue summary: View changes

Added some additional text that might help in my explanation of terms.

dqd’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Active » Closed (outdated)

You can achieve this with tokens and computed field or custom field formatter. Not a special Link related task. You would need to do it with any field input you want to convert/merge into another output. Apart from that: Link module is in Drupal core now. I'll close this issue due to inactivity for 12 years and upcoming EOL of Drupal 7 in January 2025. While the project version for Drupal 7 will keep providing support for security issues and website breaking bug fixes for Drupal 7, we should try to minimize the open issues for Drupal 7 in the queue as much as possible. Thanks for the report and all the efforts in here. Feel free to re-open if you can provide a fix or found an additional related problem which increases the issue priority to "Critical" here.