Trying to customize templates to look of site. Receipt renders outside of container

GeorgeInActonGeorgeInActon Member
in Help edited December 2014
I read the instructions for intermediate template customization and came up with the following for a custom receipt template:
{% set continue_url = continue_url ~ "?id=" ~ order_id %}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>{{ config.store_name }} Receipt</title>

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimal-ui">

    <link href="{{ config.css_file }}" rel="stylesheet" media="all">
    <link href="https://www.norra.com/css/stylesheet_new.css?v=7.2"; rel="stylesheet" type="text/css">
</head>
<body id="fc">
<div class="main m1000"><div class="norra_content" lang="en"><div class="banner"><div class="nav_left nav"></div><div class="right_nav nav"></div></div><div class="middle"><div class="middle_content"><div class="middle_text">
<p class="page_title">
	NORRA Store Receipt
</p>
{% include 'svg.inc.twig' %}
 
{% import "utils.inc.twig" as utils %}
{% use 'receipt.inc.twig' %}
{{ block('receipt') }}
<div style="clear: both"></div>
<div class="footer"><div style="clear: both;">
&copy; COPYRIGHT 2009-2015 NORRA - NATIONAL OFF ROAD RACING ASSOCIATION - ALL RIGHTS RESERVED
<div class="privacy_policy">
	<a href="https://www.norra.com/policies.php">View our privacy policy</a>
</div>
</div>
</div>
</div></div><img src="https://www.norra.com/images/footer_logo.jpg"; alt=""></div></div></div></body>
</body>
</html>

For some reason the receipt is not in its containing div.
Tagged:
Comments
Sign In or Register to comment.