Use the below code to add a Magento block to your CMS page.
1 |
{{block type="cms/block" block_id="block_id"}} |
Use the below code to add a Magento block to your CMS page.
1 |
{{block type="cms/block" block_id="block_id"}} |
Magento automatically adds the defined suffix to the title tag on every page. If you want to change that for lets say the home page, open the CMS page “home” and add the following XML to the layout section:
1 2 3 |
<reference name="head"> <action method="setData"><key>title</key><value>... Title Tag ...</value></action> </reference> |
To add the data from the admin to a CMS page, use the following code:
1 2 |
{{config path="general/imprint/vat_id"}} ... |
This code adds the vat id, you can easily add other info by looking up the correct path from the core_config table.
The following 4 examples show how to get the skin, media, base and store URLs in a MAgento block or CMS page: skin: {{skin url=’images/sampleimage.jpg’}} media: {{media url=’/sampleimage.jpg’}} base: {{base url=’yourstore/mypage.html’}} store: {{store url=’mypage.html’}}