Magento Themes and Magento Extensions

Inline Translation not working Magento 1.4

Share
Posted on January 9th, 2012 | Posted by admin
Inline Translation not working Magento 1.4

Why the Inline Translation is not working?

Developing a multi lenguage site I was not able to inline translate some elements. It just didn’t show the “book”

button wich pops the translation window.

Half Solution

Look for:

/app/code/core/Mage/Core/Model/Translate/Inline.php

Please notice you can create the same folder structure under the local folder and this

will be not affected for the future upgrades.

Replace the _otherText() function with this one:

How to fast stock update Magento

Share
Posted on January 9th, 2012 | Posted by admin

If you ever tried to import product stocks in Magento I’m sure you noticed is extremly slow.

Doesn’t matter how many fields you set in the CSV file it always takes the same time.

Digging arround I found this amazing code.

Create a CSV File

/var/import/updateStockLevels.csv

How to change Default Sort Order Magento

Share
Posted on January 7th, 2012 | Posted by admin

I’ll be clear… Magento is not good as you could imagine. In fact sucks in so many ways.

Today i’m showing you one. There is no backend option to change the Default Sort Order in your product listing (catalog).

Lucky there is an easy solution.
The Toolbar
Look for the file toolbar.php located in:

/app/code/core/Mage/Catalog/Block/Product/List
Create the Local folder
Create the same folder structure in the local. Now the future upgrades will not affect your changes.

Should be like:

/app/code/local/Mage/Catalog/Block/Product/List

How to fix – Unable to submit your request. Please, try again later – Contact Form

Share
Posted on January 7th, 2012 | Posted by admin

If you’re using a Magento theme 1.3 with a Magento 1.4 install your contact form will not work.

It just shows an error

Unable to submit your request. Please, try again later

Solution

Add the following line to the form.phtml The location of the file will depend on wich theme are you using (base, blank…).

/app/design/frontend/base/default/template/contacts/form.phtml

Add this between the form tags:

<input type=”text” name=”hideit”  id=”hideit” value=”” style=”display:none !important;” />

How to add Social Links Magento

Share
Posted on January 5th, 2012 | Posted by admin

One nice thing you should add to your Magento site is the Social Links.

Let your customers promote your products on twitter,facebook and more.

ShareThis

You can grab his code and paste it to your site
This one is my favorite option. You can code the social links by your own.

Let’s digg into this second option:

Page 3 of 4«1234»