Created
August 2, 2013 07:04
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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