Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to remove a few things?

How to remove a few things?

Locked

Views: 1,223

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 Oct 2009, 2:54 PM
#1
mecha avatar

mecha

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

How to remove a few things?

Hi,

First off, here is a live link to my website:

https://www.kingofcards.com.au

What I'm trying to do is remove

  • Gift Certificate FAQ Link (in the information section)
  • Language Selection flag
  • Currency Selector

Any info would be appreciated.

Thanks

22 Oct 2009, 3:39 PM
#2
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: How to remove a few things?

Welcome to Zen Cart... I don't know if you already have, but a great place to familiarize yourself is the Tutorials/FAQ

https://www.zen-cart.com/tutorials/index.php

All 3 of your changes are nice and simple and can be done in the admin area of your site.

In terms of removing Gift Certificates go to:

admin>modules>order total>gift certificates - Uninstall this module (you can always re-install it at a later date)

The Language Selection Sidebox is controlled in:

admin>tools>layout boxes controller>languages.php

Set this to off

The currency selector is also controlled in:

admin>tools>layout boxes controller>currencies.php

Hope this helps

Steve

23 Oct 2009, 1:35 AM
#3
mecha avatar

mecha

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Re: How to remove a few things?

Thanks heaps for your quick reply!

Turning off gift certificates worked a treat.

But the language and currency selector wont seem to go away after I turned them off.

Any ideas?

Thanks

23 Oct 2009, 2:07 AM
#4
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: How to remove a few things?

No worries,

It is slightly more complicated as it has been hard coded into your php file.

Go to includes>templates>premium2a>common>tpl_main_page.php

Here I believe is the code you need to edit:

<div id="navCurrenciesWrapper">
            <div class="nav_language">

                Languages 

            
                <a href="http://kingofcards.com.au/index.php?main_page=index&language=en&zenid=fg4tjn3gucer2ejujtj38u1tk1"><img src="includes/languages/english/images/icon.gif" alt="English" title=" English " style="vertical-align: middle;" width="24" height="15"></a>                      
                

            </div>  <!-- nav_language -->
            
            <div class="nav_currencies">
                

            
                <form name="currencies" action="http://kingofcards.com.au/index.php?main_page=index" method="get">    
                <select name="currency" onchange="this.form.submit();">
<option value="AUD" selected="selected">Australian Dollar</option> </select> <input name="main_page" value="index" type="hidden"><input name="zenid" value="fg4tjn3gucer2ejujtj38u1tk1" type="hidden"></form>
            </div> <!-- nav_currencies -->
<div class="clearBoth"></div>

If you back up this file first please, as Im dangerous with php. I think if you just delete this above code (In Red, you'll be in with a chance.

DISCLAIMER Please back up this file first. Feel free to ignore. I must stress I'm only spouting an idea, it may well not work.

Although I hope it does!

Steve