Magento: View the newest products
1- create a new page called ex: Newest arrival 2- go to Design tab and add this code 3- save the page -------------------- Magento ver: 1.3.2.4
1- create a new page called ex: Newest arrival 2- go to Design tab and add this code 3- save the page -------------------- Magento ver: 1.3.2.4
This tutorial for creating a grid for categories with images.
You can do it without editing the core files of Magento
*Create a new file called “category_listing.phtml” on this directory “app/design/frontend/default/YOUR_TEMPLATE/catalog/navigation/”.
*Add the following code on that file:
(more…)
After finishing the site and It’s ready to publish it. you will need to delete all test orders. How can we do it???
First: backup the database and the files.
second: go to PhpMyAdmin and run this sql code (more…)
You can create a basic “container” as is done with the “right, left, and content” blocks by just adding something like
<block type="core/text_list" name="myblock" as="myblock"></block>
to page.xml. From there you can populate it with content blocks via the layout files as normal.
(more…)
If you want to reference a static block from inside of a CMS page or another static block use this syntax: [html] {{block type="cms/block" block_id="my-new-block"}} [/html] If you want to…
MySQL Dump.
backup all files (make sure to archive on a .zip file).
Now you need to create a blank database and import the MySQL dump file to it.
Note: load the SQL dump into Editplus or something similar and search and replace the URLs before importing for example: “http://www.domain.com/test/” replace with “http://www.test.com/”.
(more…)
It is possible to get very confused and frustrated when setting up PayPal Payments Pro in Magento so I thought that I would give some bullet points that could have saved me a lot of time.
(more…)
Magento ver: 1.3.2.4
——————–
The code below does a couple of things, first it will get all the store’s categories – it then checks to see if they are active before continuing.
Also – it might be helpful to have the sub categories displayed, right? Well, in my case, I only wanted the subcategory for the current category displayed – so I put a check in to do so.
(more…)
A quick fix to add a pop up print label print window in the orders page. Uses the default admin template, so you need to refresh on Magento upgrade. Have left red css border so you can use to position the label. (EDITORS PLEASE NOTE: if you edit this make sure to use 3 backslashes to get one output when using before the “n” character in code section.()
Edit info.phtml
(more…)