Post by talaly » Sun Jul 06, 2008 6:41 am

How can i change to Shopping Cart Text to Shopping Bag

Newbie

Posts

Joined
Fri Jun 20, 2008 9:49 pm

Post by Luvz2drv » Sun Jul 06, 2008 11:53 am

well there are a few answers to that.

if your referring to the tab (button)  that is a module/header.php

if you want to change it on the checkout process/cart page they can be found in the controller folder  with the respective names you see in the url

these are all located in calalog/language

Jonathon

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by talaly » Sun Jul 06, 2008 4:35 pm

I mean the Shopping Cart in the main menu see this http://www.fishagift.com/cart
there is 3 section
1.Currency
2.Shopping Cart
3.Categories

I want to change the name of the 2nd section only the TEXT to Shopping Bag

Newbie

Posts

Joined
Fri Jun 20, 2008 9:49 pm

Post by david.gilbert » Sun Jul 06, 2008 5:42 pm

you can change catalog/template//module/cart.tpl in there paste this code

Code: Select all

<div class="box">
  <div class="heading">Shopping Bag</div>
  <div class="cart">
    <?php if ($products) { ?>
    <table>
      <?php foreach ($products as $product) { ?>
      <tr>
        <td><?php echo $product['quantity']; ?> x </td>
        <td><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></td>
      </tr>
      <?php } ?>
    </table>
    <div class="a"><?php echo $text_subtotal; ?> <?php echo $subtotal; ?></div>
    <?php } else { ?>
    <div class="b"><?php echo $text_empty; ?></div>
    <?php } ?>
  </div>
</div>

-Dave
Last edited by david.gilbert on Sun Jul 06, 2008 8:44 pm, edited 1 time in total.

Professional Website Services - http://www.davidmgilbert.com/


Active Member

Posts

Joined
Sun Jan 06, 2008 5:02 pm
Location - Mount Compass, South Australia

Post by SiteE@se » Sun Jul 06, 2008 5:55 pm

Better to change the relevant language file, rather than the raw code which calls it:

catalog->language->english->extension->module->cart.php

You'll also want to change references in certain other language files to ensure consistent reference to a shopping bag.

Chris

Chris @ SiteE@se Web Design


Active Member

Posts

Joined
Mon Dec 17, 2007 7:40 am
Location - UK
Who is online

Users browsing this forum: No registered users and 1 guest