Hello,
this modification causes display issue for me:
ORIGINAL
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.3
* @author hikashop.com
* @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
if(empty($this->html)){
echo JText::_('THANK_YOU_FOR_PURCHASE');
}else{
echo $this->html;
}
$this->nextButton = false;
MY
<?php
/**
* @package HikaShop for Joomla!
* @version 2.6.3
* @author hikashop.com
* @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
if(empty($this->html)){
echo JText::_('THANK_YOU_FOR_PURCHASE');
}else{
echo $this->html;
}
$this->nextButton = false;
//tracking start
$full = $this->amount;
$full_int = filter_var($full, FILTER_SANITIZE_NUMBER_INT); //sebrani jen cisel
?>
<script>
ga('send', {
hitType: 'event',
eventCategory: 'Order',
eventAction: 'Purchase',
eventLabel: 'Bank transfer',
eventValue: <?php echo $full_int; ?>
});
fbq('track', 'Purchase', {
content_type: 'product',
content_category: 'Bank transfer'
value: <?php echo $full_int; ?>,
currency: 'EUR'
});
</script>
<?php
after clicking on finish button only white blank page with this source code appears to me:
<div id="hikashop_checkout_page" class="hikashop_checkout_page hikashop_checkout_page_step3">
<div id="hikashop_cart_bar" class="hikashop_cart_bar">
<div class="hikashop_cart_step hikashop_cart_step_finished">
<span>Your details</span>
</div> <div class="hikashop_cart_step hikashop_cart_step_finished">
<span>Shipping and payment</span>
</div> <div class="hikashop_cart_step hikashop_cart_step_finished">
<span>Review</span>
</div> <div class="hikashop_cart_step hikashop_cart_step_current">
<span>Done</span>
</div> </div>
Thank you