Add this inside your head tag.
<script type="text/javascript">
$(document).ready(function(){
$(’div.test’).html(function() {
var linkTitle = $("#imgs-test").attr("alt");
return linkTitle;
});
});
</script>
Give the image for example an ID
ID="imgs-test"
Place this within the body tag where ever you want the information to be displayed.
<div class="test"></div>
To successfully move a Magento store to another host (including localhost) you can just follow the steps above.
1. Dump MySQL database.
If you have installed phpMyAdmin- use it. It’s the easiest and fastest way. Go to “Export” tab and select a checkbox named “Save as file”.
If the database …
After a little break from Magento, I recently undertook a project using Magento eCommerce and was presented with the issue of the category navigation menu not showing. After hours of wrecking my brain on how to get the navigation to show I finally remembered it was the simplest of things. …
After weeks of waiting I have finally received a Google Wave invite from the kind people at Google.
I am offering 20 free invites to Google Wave so leave a message below and I may pick you.
14 Remaining (1 Nov 2009)
- Create a category to contain the featured products. Call it e.g. Featured” or “Home Page”.
- Set “Is Active” to No. That way, it won’t display in the catalog menu.
- After saving the category, please note what ID it gets. You can see it in the last part of the URL. If the URL ends with
catalog_category/edit/id/8/, the ID is 8. On later version, the ID is next to the category name.
By default, Dreamweaver cannot read PHTML files. You can add the file type to the “Open in Code View” section of the preferences if you wish to have fast access, however you cannot view the file in design view if you do that. So if you use Dreamweaver (versions 4, …