Experience mail template

More
3 years 6 days ago #18115 by Pro
Experience mail template was created by Pro
How to add in mail template (reservation_completed_customer_notify_inliner)
duration experience
and
experience transportations

I tried something like this but without success


<strong><?php echo JText::_('SR_DURATION'); ?></strong>
<br>
<?php echo $displayData->experience_duration; ?>


<strong><?php echo JText::_('SR_TRANSPORTATIONS'); ?></strong>
<br>
<?php echo $displayData->transportations; ?>

Please Log in or Create an account to join the conversation.

More
3 years 5 days ago #18116 by solidres
Replied by solidres on topic Experience mail template
Hi,

You should try:

$displayData->duration

And:

$displayData->transportations

Regards,

Please Log in or Create an account to join the conversation.

More
3 years 5 days ago #18117 by Pro
Replied by Pro on topic Experience mail template
Without success

<?php echo $displayData->duration; ?>
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 5 days ago #18118 by solidres
Replied by solidres on topic Experience mail template
Hi,

Look like the forum stripped part of the code, here it is again:
$displayData['experience']->duration and  $displayData['experience']->transportations

Regards,

Please Log in or Create an account to join the conversation.

More
3 years 4 days ago #18119 by Pro
Replied by Pro on topic Experience mail template
Duration is OK, but transport displays ARRAY and should autobus (bus) ili avion (plane)
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 4 days ago #18120 by solidres
Replied by solidres on topic Experience mail template
Hi,

It is an Array therefore please join it first before displaying.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?