Forums / Templates, Stylesheets, Page Layout / Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Started by deshojo on 6 Jan 2007, 6:12 PM · Views: 19,440

Results 1 to 12 of 12
6 Jan 2007, 6:12 PM
#1
deshojo avatar

deshojo

New Zenner

Join Date:
Oct 2006
Posts:
35
Plugin Contributions:
0

Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Hi folks

I am running with v.3.1.6 and am trying to stop the total items, weight and price showing at the top of the shopping cart.

I have set up my store as follows:

Admin->Configuration->Shipping/Packaging
Display Number of Boxes and Weight Status
0= off

but the information is still showing - is there anything else I need to do please?

Thanks

7 Jan 2007, 12:39 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Fooled you ... there is another setting ... :eek:

Peek in the Configuration ... Layout Settings ...

Shopping Cart - Show Totals
Show Totals Above Shopping Cart?
0= off
1= on: Items Weight Amount
2= on: Items Weight Amount, but no weight when 0
3= on: Items Amount

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Jan 2007, 3:02 PM
#3
deshojo avatar

deshojo

New Zenner

Join Date:
Oct 2006
Posts:
35
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Thanks Linda - all sorted now :thumbsup:

9 Jan 2008, 11:45 PM
#4
kenwvs avatar

kenwvs

New Zenner

Join Date:
Dec 2007
Posts:
27
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Thanks for the tip, you have saved me from pulling anymore of the few hairs left on my head out.

Might I suggest that a reference to this thread be placed with the FAQ located at
https://www.zen-cart.com/tutorials/index.php?article=223 . It gives you one step, but it is apparantely a two step process.

Thanks again,

Ken

27 Oct 2010, 8:36 PM
#5
azimpact avatar

azimpact

New Zenner

Join Date:
Oct 2010
Posts:
33
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

I"ve done both the things in both threads yet the weight is still showing.

Am I missing something else?

6 Feb 2011, 3:43 AM
#6
chris21 avatar

chris21

New Zenner

Join Date:
Jul 2007
Location:
Australia
Posts:
21
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Thanks heaps for that info, never been able to find it.
Cheers.
Chris.

8 Mar 2011, 7:31 AM
#7
lindanewbie avatar

lindanewbie

New Zenner

Join Date:
Mar 2011
Posts:
15
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

If

Shopping Cart - Show Totals
Show Totals Above Shopping Cart?
0= off
1= on: Items Weight Amount
2= on: Items Weight Amount, but no weight when 0
3= on: Items Amount

is turn off the value at shipping cart than what does the below do?
and where is the information will appear

Admin->Configuration->Shipping/Packaging
Display Number of Boxes and Weight Status
0= off
1=on

Appreciate a reply. Thanks :wink:

8 Mar 2011, 2:05 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

That is so shipping modules that ship by weight do not show the details on shipping boxes ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Apr 2011, 9:49 AM
#9
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Is there a way to show only the totals?

I found the actual code for it, but I'd rather not touch it :p

Because what I want to do is for the shopping cart to say, for example:

You have 3 item(s) in your cart.

Instead of:

Total Items: 1

4 Apr 2011, 10:05 AM
#10
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

**Ended up changing code... **

I changed:

  case (SHOW_TOTALS_IN_CART == '3'):

  $totalsDisplay = TEXT_TOTAL_ITEMS . $_SESSION['cart']->count_contents() . TEXT_TOTAL_AMOUNT . $currencies->format($_SESSION['cart']->show_total());

  break;

To:

  case (SHOW_TOTALS_IN_CART == '3'):

  $totalsDisplay = TEXT_TOTAL_ITEMS . $_SESSION['cart']->count_contents() . TEXT_TOTAL_ITEMS2;

  break;

**Then I edited TEXT_TOTAL_ITEMS and TEXT_TOTAL_ITEMS2 added to /includes/languages/english/shopping_cart.php to look like this:
**

define('TEXT_TOTAL_ITEMS', 'You have ');
define('TEXT_TOTAL_ITEMS2', ' item(s) in your cart.');
4 Apr 2011, 1:41 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Thanks for posting your solution ... afraid I didn't think to add just a Totals only ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Apr 2011, 6:15 PM
#12
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

Re: Shopping cart - trying to turn off "Total Items" "Weight" and "Price"

Maybe you could add it in the next version :smile: