Adding Custom Field - from Order table to Email
- nowherenowhere
-
Topic Author
- Offline
Less
More
11 years 10 months ago #179459
by nowherenowhere
Believe in Better
Adding Custom Field - from Order table to Email was created by nowherenowhere
-- url of the page with the problem -- : devsite
-- HikaShop version -- : latest
-- Joomla version -- : latest
-- PHP version -- : latest
-- Browser(s) name and version -- : latest
Hey Guys,
Been looking cant find what I need. I have a site where users purchase an Item and on confirmation admin needs to give verification number. Number is added via a custom field to the ORDER table. Users dont see the field on first order creation. But only on confirmation email from Site Admin/ Management.
The order comes in and is edited at the backend where the verification code is added, then the order is confirmed and the user recieves the email with the whole order detail a nd that will need to include the custom field data : verification-number.
Help me please
-- HikaShop version -- : latest
-- Joomla version -- : latest
-- PHP version -- : latest
-- Browser(s) name and version -- : latest
Hey Guys,
Been looking cant find what I need. I have a site where users purchase an Item and on confirmation admin needs to give verification number. Number is added via a custom field to the ORDER table. Users dont see the field on first order creation. But only on confirmation email from Site Admin/ Management.
The order comes in and is edited at the backend where the verification code is added, then the order is confirmed and the user recieves the email with the whole order detail a nd that will need to include the custom field data : verification-number.
Help me please
Believe in Better
Please Log in or Create an account to join the conversation.
11 years 10 months ago #179462
by nicolas
Replied by nicolas on topic Adding Custom Field - from Order table to Email
Hi,
You can add such tag in your order status notification that you can edit via the menu System>Emails:
{VAR:order.verification-number}
This supposes that the column name of the custom order field is "verification-number"
You can add such tag in your order status notification that you can edit via the menu System>Emails:
{VAR:order.verification-number}
This supposes that the column name of the custom order field is "verification-number"
The following user(s) said Thank You: nowherenowhere
Please Log in or Create an account to join the conversation.
- nowherenowhere
-
Topic Author
- Offline
11 years 10 months ago #179567
by nowherenowhere
Believe in Better
Replied by nowherenowhere on topic Adding Custom Field - from Order table to Email
Hiya Nicolas,
That did the trick - so simple! I love this component!
Another question, would it be possible to have multiple instances of this custom field show up? I mean could I assign this field to apply to a certain type of product - so if the buyer adds a few of them to the cart mulitple instances of the field are drawn up... So for each of product type x - the custom field is added... and for each one that is added the verification code is unique?
That did the trick - so simple! I love this component!
Another question, would it be possible to have multiple instances of this custom field show up? I mean could I assign this field to apply to a certain type of product - so if the buyer adds a few of them to the cart mulitple instances of the field are drawn up... So for each of product type x - the custom field is added... and for each one that is added the verification code is unique?
Believe in Better
Please Log in or Create an account to join the conversation.
11 years 10 months ago #179578
by Xavier
Replied by Xavier on topic Adding Custom Field - from Order table to Email
Hi,
You can use the custom product field for that. Once create the custom field, you can set the verification code in the product edition page so you will have unique verification codes.
You can use the custom product field for that. Once create the custom field, you can set the verification code in the product edition page so you will have unique verification codes.
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds