Loading...

How To Change The Wish List Text In The Top Menu

Emilian F. Published on 15 September, 2014

A wish list can be an important part of your marketing efforts, which is why you should promote it to your customers. One of the ways you can do that is by replacing the boring "Wish Lists" menu link with something more descriptive such as "My Wish Lists" or even "My Shopping Lists". I will show you how to accomplish this using two methods: the first by editing the menu file directly and the second by making the change using a single line of Javascript code. Both methods are relatively easy to implement and should only take about five minutes of your time to install. So, let's get to it!

Instructions

  1. Login to your control panel and navigate to Design > Themes > Edit HTML & CSS and open the Panels/TopMenu.html file.

  2. Find the code %%LNG_YourWishList%% and replace it with your own text.

  3. Save your changes to the file.

Want to keep the language variable intact?

Use the instructions below to replace the text using Javascript.

  1. Login to your control panel and navigate to Design > Themes > Edit HTML & CSS then open the Panels/Footer.html file.

  2. Add the following code to the bottom of the file (replace List with your own text):

    
    <script type="text/javascript">
    $(document).ready(function(){
    $("#TopMenu li a:contains('Wish Lists')").text('List');
    });
    </script>
    
    

    The final file should look like this:

  3. Save your changes.

How Does It Work?

The first instructions show you how to replace the wish list language variable directly from the top menu file. The other less intrusive option is to replace the text using Javascript. You can even add the code to a global Javascript file rather than adding it to the panel. The last way is cleaner and will make updating your template files easier in the future.

Is The Wish List Missing From The Top Menu?

The wish list is turned off by default. You have to turn it on from the control panel by navigating to Setup & Tools > Store Settings > Display (tab) and checking the Enable Wishlist? option.

Emilian F. Published on 15 September, 2014