Skip to content

Instantly share code, notes, and snippets.

@hanafiah
Created August 2, 2013 07:04
Show Gist options
  • Save hanafiah/6138010 to your computer and use it in GitHub Desktop.
Save hanafiah/6138010 to your computer and use it in GitHub Desktop.
Part A . Put this code to catalog/view/theme/default/template/checkout/confirm.tpl
<?php
/**
* Jomniaga Conversion code
*
* Put this file to catalog/view/theme/default/template/checkout/confirm.tpl
* before
* </div>
* <div class="payment"><?php echo $payment; ?></div>
*
*/
$name = '';
foreach($products as $product){
if($name==''){
$name = $product['name'];
}else{
$name = $name. ', '. $product['name'];
}
}
$this->session->data['jomniaga'] = array(
'cvn'=>$name,
'cva'=> $total['value']
);
/**
* EO: Jomniaga Conversion code
*/
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment