Пример #1
0
<?php 
        echo getTransactionJs($trans);
        foreach ($items as &$item) {
            echo getItemJs($trans['id'], $item);
        }
        ?>

ga('ecommerce:send');
</script>
<?php 
    }
} else {
    $obj->steps();
}
$obj->step4();
global $wpdb, $woocommerce;
get_header();
if (isset($_SESSION["form_completed"]) && $_SESSION["form_completed"] == 'true') {
    ?>
<script type="text/javascript">
jQuery(window).load(function() {
step4_js('<?php 
    echo $_SESSION["form_completed"];
    ?>
');

});
</script>
<style type="text/css">
    .whats-next .step02 { background: rgba(0, 0, 0, 0) url("<?php