Magento change label of My Wishlist, etc:
Tech-Today

Magento change label of My Wishlist, etc:


Magento change label of My Wishlist, etc:

This works for me:

I've change all the wishlist instances in these csv files:
app/locale/en_US/
Mage_Adminhtml
Mage_catalog
Mage_Checkout
Mage_Customer
Mage_Reports
Mage_Sales
Mage_Tag
Mage_Wishlist

Make sure you override the default by copying these files in your theme folder or at least back up first.

Example:
"Add to Wishlist","Add to Wish List" -> "Add to Wishlist","Add to Bid List"

Or you can change it in the translate file located in:

app/design/frontend/default/yourtheme/locale/en_US/translate.csv (en_US can be replace, depends on your locale)


Example: I want to change "My Wishlist", so I'll add an entry to translate.csv

"My Wishlist", "Bid List"

You can further customize the text by adding html tags like <b>, Bid List etc.

Also you have to activate translate by going to the admin module:

System->Developer->Translate Inline

Or if you want an image instead of text like what I did, for example wishlist sidebox,

Copy the app.design.frontend.default.default.template.wishlist.sidebar.phtml to app.design.frontend.default.yourpackage.template.wishlist.sidebar.phtml
And add a line similar to this:


<div class="right_hd">
<img src="<?php echo $this->getUrl('').'/skin/frontend/default/omar/images/bidlist.jpg'?>" alt="" hspace="4" /> 
<?php echo $this->__('Bid List', $this->helper('wishlist')->getListUrl(), $this->helper('wishlist')->getItemCount() ) ?>
</div>


Make sure you have bidlist.jpg in your skin directory.




- Web Development
WordpressConfigure Custom Wordpress PermalinkZencartHow to add a customize product admin fields in zencart by editing/adding extra codesJoomlaHow to install/setup/configure joomla to run in a xampp setup. This avoids the technical detail of manually installing...

- Magento All Links Throws 404 Not Found Error
After downloading and installing magento 1.7.4 for evaluation, I found out that by default all the frontend links are not working. But the backend works fine. As I remember long time ago this is a problem when deploying locally and using a virtual address,...

- Create A Magento Extension That Will Only Allow A Customer To Login Until A Given Expiry Time
Long time ago I was assigned to modify magento, add an expiry date and check if the costumer is expired during login. Those times resource were scarce and what I did was hacked magento, add custom codes and fields in the database. Which is not a good...

- Magento - Customer Password Encryption
Unfortunately, since we have to integrate our another customized system x in magento, we have to find a way to sync it's users and passwords fields. Which we have achieved by: Assumption: 1.) You must have a deployed magento system which you can access...

- Magento's Block And Template
This blog is not the authors original, instead his notes on the key steps in playing with blocks and templates. Objective: To create a block that will call a template and will be displayed on the home page. Steps: 1.) Create a namespace inside the local...



Tech-Today








.