I would like to add a static block at the cart page, in fact I need to add a Free Shipping picture. My questions are:
1) How to do it?
2) How to position to determine the position of the static block on this page
Thank you.
4 answers
I would like to add a static block at the cart page, in fact I need to add a Free Shipping picture. My questions are:
1) How to do it?
2) How to position to determine the position of the static block on this pageThank you.
Go to this Folder :
app/design/frontend/default/jm_painite/template/
Search for contacts folder.
If you find the contacts folder then open this file
app/design/frontend/default/jm_painite/template/contacts/form.phtml
Then Add this Code
Code:
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact_form_content')->toHtml() ?>
After this Line of code
[CODE]
<div class="page-title">
<h1><?php echo Mage::helper(‘contacts’)->__(‘Contact Us’) ?></h1>
</div>
[CODE]
Login to Admin then Goto CMS->Page
Then Create a CMS Block in the name "contact_form_content’"
If you do not find the contact file in the above specified folder.
upload the attached file in the JM Painte template folder app/design/frontend/default/jm_painite/
It seems you misunderstood, I was not meaning the CONTACT FORM but the CART page. Can you help?
It seems you misunderstood, I was not meaning the CONTACT FORM but the CART page. Can you help?
Go to this Page app\design\frontend\base\defaulttemplate\checkout
copy the cart.phtml file and place it in the below folder
app\design\frontend\default\jm_painitetemplate\ch eckout\
Then open the file and add this code after this line of code
Code:
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
Code:
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('cart_content')->toHtml() ?>
Login to Admin then Goto CMS->Page
Then Create a CMS Block in the name "cart_content’"
Working perfectly ! Thank you…
This question is now closed