I am designing a new webpage for a single product.
I have gone through tutorials online and have made a basic layout using the modern theme.
I’ve removed blocks I don’t need (Like search) and styled with custom css. Everything is looking good.
In the content area I am going to have a <div> with pics and some verbage of my product.
I even added a custom block inside the default block of page.xml to load the div through it’s own template from 1column.phtml.
<block type="page/html" name="product_bulletpoints" as="product_bulletpoints" template="product/bulletpoints.phtml">
Where I am having difficulty is:
Below my custom <div> I want to display the product in a cart. (The user can change quantities and color)
Directly below that I want to show the checkout. (Name, billing, shipping, etc)
The goal is to have all of this on one very simple page so that is easy to order my product. (Basically exactly like shamwow.com)
Simple and Sweet.
The problem is I am still trying to wrap my head around layout xmls and template .phtml
I am thinking that inside of 1column.phtml I should do something like:
<?php echo $this->getChildHtml('global_messages') ?>
<!-- <?php echo $this->getChildHtml('content') ?> -->
<?php echo $this->getChildHtml('product_bulletpoints') ?> <!-- MY CUSTOM BLOCK -->
<?php echo $this->getChildHtml('ADD_CART_OR_SIMETHING....') ?>
<?php echo $this->getChildHtml('ADD_ONEPAGE_OR_SIMETHING....') ?>
Though I am sure there’s more I have to do than that…
Tips, pointers, suggestions all welcome.
All the best!