Get Alt/Title tag information using Jquery

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>

Move Magento to Another Host/Server

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 …

Magento Category Navigation Not Showing – Solution!

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. …

20 Google Wave Invitations Up For Grabs

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)

Add Featured/Best Seller Products To Magento Store Homepage.

  1. Create a category to contain the featured products. Call it e.g. Featured” or “Home Page”.
  2. Set “Is Active” to No. That way, it won’t display in the catalog menu.
  3. 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.

Edit PHTML Files in Dreamweaver

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, …

 Page 1 of 2  1  2 »