order number in confirmation email
13 years 3 months ago #107416
by adambako
order number in confirmation email was created by adambako
hi. i want to ask how i can get only order number to email template.
im trying
but it dont work.
thanks
im trying
Code:
<?php $url = $data->order_number; ?>
but it dont work.
thanks
Please Log in or Create an account to join the conversation.
13 years 3 months ago #107441
by Eliot
Replied by Eliot on topic order number in confirmation email
Hi there,
Try with this:
Try with this:
Code:
$item->order_number
Please Log in or Create an account to join the conversation.
13 years 3 months ago #107444
by adambako
Replied by adambako on topic order number in confirmation email
hi eliot..
thanks for your reply but this code still dont work..
i cant uderstand it because the order number is at the top of the email, i just need to copy it to the bottom.
this is the code from where come also order id but with other stuff.. i need just the order id
any other ideas?
thanks
thanks for your reply but this code still dont work..
i cant uderstand it because the order number is at the top of the email, i just need to copy it to the bottom.
this is the code from where come also order id but with other stuff.. i need just the order id
Code:
<?php
$colspan = 4;
$url = $data->order_number;
$config =& hikashop_config();
if($config->get('simplified_registration',0)!=2){
$url = '<a href="'.$data->order_url.'">'. $url.'</a>';
}
echo JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',$url,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'));?>
any other ideas?
thanks
Please Log in or Create an account to join the conversation.
13 years 3 months ago - 13 years 3 months ago #107461
by Eliot
Replied by Eliot on topic order number in confirmation email
Could you show me what you did to display the order number?
I guess you know you have to use echo $data->order_number; in order to display it.
You can also do a var_dump($data) to see if the information you need is inside this variable.
I guess you know you have to use echo $data->order_number; in order to display it.
You can also do a var_dump($data) to see if the information you need is inside this variable.
Last edit: 13 years 3 months ago by Eliot.
The following user(s) said Thank You: adambako
Please Log in or Create an account to join the conversation.
13 years 3 months ago #107463
by adambako
Replied by adambako on topic order number in confirmation email
im sorry, i wasnt know that.. im not php coder :ohmy:
now its working
thanks a lot
now its working
thanks a lot
Please Log in or Create an account to join the conversation.
Time to create page: 0.236 seconds