Using Varables in Code in after_end.php

  • Posts: 18
  • Thank you received: 0
9 years 8 months ago #192495

-- Joomla version -- : 3

Hi,

How can variables be inserted into java/html/php code at the final stage of checkout after the payment has been received? I understand the after_end.php fronted template is the one to edit but don't know how to pass sales detail variables to the code within it.

Example for iDevaffiliate the image code requires the sales amount (XXX) and order number (YYY):
<img border="0" src=" www.site.com/idevaffiliate/sale.php?prof...XX&idev_ordernum=YYY " width="1" height="1">

How can the XXX and YYY be replaced by the sales data in this code?

Regards,
Geoff

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 8 months ago #192508

Hi,

You can use such code:
<?php echo $this->order->order_full_price; ?>

and:

<?php echo $this->order->order_number; ?>

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

Time to create page: 0.057 seconds
Powered by Kunena Forum