Skip to content

Instantly share code, notes, and snippets.

@rodde177
Created March 27, 2015 13:30
Show Gist options
  • Save rodde177/f904ddce20da5af4f152 to your computer and use it in GitHub Desktop.
Save rodde177/f904ddce20da5af4f152 to your computer and use it in GitHub Desktop.
conversion pixel
<?php
$order_id = $this->getOrderId();
$order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId());
$total = $order->getGrandTotal();
?>
<?php echo $order_id; ?>
<?php echo $total; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment