Post by rosmanhashimy » Sat Jun 10, 2017 8:21 pm

Hi All,

I need your help. How i want to insert "ORDER_ID" and "AMOUNT" variable for below code

Code: Select all

<!-- Offer Conversion: MY website.com.my -->
<iframe src="http://tracking.hargagroup.com/aff_l?offer_id=2068&adv_sub=ORDER_ID&amount=AMOUNT&conversion_unique_id=ORDER_ID" scrolling="no" frameborder="0" width="1" height="1"></iframe>
<!-- // End Offer Conversion -->
I need put this code inside my successful order page.

Hope somebody can help me.

Newbie

Posts

Joined
Wed Oct 29, 2014 4:30 pm

Post by sdsoftware » Sat Jun 10, 2017 10:43 pm

Hello for getting id you can use

Code: Select all

$this->session->data['order_id']
and then having the id use sth like the following to get anything you want from order details

Code: Select all

$this->load->model('checkout/order');
$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

Code: Select all

$data['ammount'] = $order_info['total'];
Work the above code on your controller file , make ts as you wish and pass it to view.

Software Support And Development www.sdware.eu
Ccookie Module || Admin Category/Manufactory/Attribute Filter || Admin Customizer || Bank Tranfer Extended
Business Inquiries Here
My extensions Page Here


User avatar
New member

Posts

Joined
Mon May 29, 2017 3:37 pm


Post by rosmanhashimy » Fri Jun 23, 2017 9:39 pm

Hi... it still can't works... any others idea?

Newbie

Posts

Joined
Wed Oct 29, 2014 4:30 pm
Who is online

Users browsing this forum: No registered users and 46 guests