If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Line of code missing from my override of shopping cart page

Line of code missing from my override of shopping cart page

Locked

Started by dharma on 18 Oct 2008, 6:10 PM · Views: 1,028

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Oct 2008, 6:10 PM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #1 by dharma

I just noticed this line of code is missing from my override cart page:

on line 30

<?php if ($messageStack->size('shopping_cart') > 0) echo $messageStack->output('shopping_cart'); ?>

As I did some editing around that part of page one very late night sometime ago, did I delete it by mistake, or is it missing due to an admin setting? I am not sure what the statement means.

should I put in back in my over ride tpl_shopping_cart_default.php

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

18 Oct 2008, 7:11 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,766
Plugin Contributions:
56

Post #2 by swguy

You didn't mention what version you were running, but this line is in both 1.3.7 and 1.3.8 default templates. Assuming you haven't modified template_default, you can see for yourself in includes/templates/template_default/templates/tpl_shopping_cart_default.php.

It displays messages (errors, warnings, etc.) that were generated by other parts of the cart.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 Oct 2008, 7:20 PM
#3
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #3 by dharma

running 1.38a Okey doke I will put that line back in my override, I must of deleted it by mistake:oops:.

Thanks!
:cheers:

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41