VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jankoo on October 14, 2021, 15:22:22 PM

Title: How to add custom field for orders? tracking link
Post by: jankoo on October 14, 2021, 15:22:22 PM
Hi,
im looking for some way to get my own field in order.. i wasnt able to find anything because all searches about vm custom fields are about products or user fields..
are there any plugins? or any other solutions?
what i want to do is have a simple text field where i put order shipping number, and than i can use that number to create tracking link send by email to customer..
any ideas?
thanks
Title: Re: How to add custom field for orders? tracking link
Post by: Jörgen on October 14, 2021, 15:27:15 PM
Create a new Shopper field, VM backend /shoppers/shopper fields

You can make this "private" to your back end admin only.

I use this to put tracking number on orders and make tracking links.

Jörgen @ Kreativ Fotografi
Title: Re: How to add custom field for orders? tracking link
Post by: seagul on January 19, 2022, 16:08:10 PM
Hi,
I have the some "problem" or idea.
But how can I make a shopperfield "private"?
I searched for quite some time but could not find any option or so.

Thanks for any hints.
Best regards
Sigrid

-------------------------------------------------------------------
VirtueMart 3.8.8 10472, Joomla 3.10.3
Title: Re: How to add custom field for orders? tracking link
Post by: Jörgen on January 19, 2022, 20:12:57 PM
This is how I do, with some extra coding to display the field on invoice and email.

Jörgen @ Kreativ Fotografi
Title: Re: How to add custom field for orders? tracking link
Post by: pinochico on January 19, 2022, 21:44:31 PM
You can add tracking number and link to Note by Order status and change Order status to New with setup send email and customize email template.
very quickly and easy.