Post by Karen » Tue Jun 15, 2010 8:13 pm

Would like to remove "total" (and tax, and anything else) from the cart module and just display "sub-title". The only code I see that seems to display these seems to display them all?

Code: Select all

<?php foreach ($totals as $total) { ?>
Don't know PHP so not sure how to accomplish this.

Using OC version 1.4.8b
http://catandcaboodle.com/


User avatar
Active Member

Posts

Joined
Thu Jun 10, 2010 2:51 pm
Location - WA State, USA

Post by Qphoria » Tue Jun 15, 2010 10:06 pm

take out the whole block

Code: Select all

<table cellpadding="0" cellspacing="0" align="right" style="display:inline-block;">
      <?php foreach ($totals as $total) { ?>
      <tr>
        <td align="right"><span class="cart_module_total"><b><?php echo $total['title']; ?></b></span></td>
        <td align="right"><span class="cart_module_total"><?php echo $total['text']; ?></span></td>
      </tr>
      <?php } ?>
</table>

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Karen » Tue Jun 15, 2010 10:30 pm

Sorry, that was an unfortunate typo on my part! I meant to say "and just display "sub-TOTAL".

Taking out the whole block takes out everything. Is there a way to just display the sub-total and no other financial data?

Using OC version 1.4.8b
http://catandcaboodle.com/


User avatar
Active Member

Posts

Joined
Thu Jun 10, 2010 2:51 pm
Location - WA State, USA
Who is online

Users browsing this forum: No registered users and 11 guests