Re: Things every New Zenner needs to know
Okay. TShooters, I made the change you suggested in the stylesheet in my custom directory, uploaded it to the site, switched to the custom template, and (as usual) wound up with a completely blank screen. This is the same thing that has happened every time I've switched to the custom template. Fortunately, it's easy to switch back to the classic template, but the "sales message" remains at the top of every page on my site.
I hope I don't sound like a Zen hater. It has a lot of features that I really like, especially inventory control, shipping by weight, and timed sales. I just found that I can automagically send a coupon to all new customers! (Most of what I know has come from what I have found while looking for something else; I'm currently trying to find where I turned on order processing error notifications. Anyone remember where that is?) Once I figure out Salemaker, I think I'll like it even more. It's just that this one annoying feature is so prominent! It's like someone hanging a glaring turquoise-and-orange painting in your living room; every time you walked by it, your eyes would be assaulted.
Re: Things every New Zenner needs to know
WHAnderson, I've changed that line in header.php numerous times. Depending on where I upload the changed file, I either get no change or no shopping cart. I'm starting to think it's a bug in the program, not me.
Re: Things every New Zenner needs to know
There is not a bug in the program - Try reuploading all of the Zen Cart files. (after you make a back up of your changes)
Re: Things every New Zenner needs to know
open includes/languages/english/classic/header.php
find this line of code
define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');
delete the highlighted portion leaving the single quote marks
save the file and then upload the file to the same location on your server
includes/languages/english/classic
Re: Things every New Zenner needs to know
> delete the highlighted portion leaving the single quote marks
This is SO weird. I followed your instructions even though I was sure they wouldn't work, since they were almost identical to what I've done numerous times, trying to replace the "sales message" text with "MamaSylvia's Stuff" and had the whole store disappear. But they worked! The sales message is gone!
I wonder -- could the apostrophe in "MamaSylvia's" have been causing the problem? Was the program considering that the end single quote? If so, how can I put an apostrophe in so the program will recognize that it's just a text apostrophe?
I'm so glad that sales message is gone!
Re: Things every New Zenner needs to know
Quote:
Originally Posted by
mamasylvia
I wonder -- could the apostrophe in "MamaSylvia's" have been causing the problem? Was the program considering that the end single quote? If so, how can I put an apostrophe in so the program will recognize that it's just a text apostrophe?
Yes.
This related FAQ may help:
https://www.zen-cart.com/tutorials/index.php?article=93
Re: Things every New Zenner needs to know
TA-DA!!!!!! That backslash did the trick. MamaSylvia's Stuff has a real header! Yaaaay! <doing happy dance>
Re: Things every New Zenner needs to know
:clap:Glad you found and fixed the culprit!
Re: Things every New Zenner needs to know
Quote:
open includes/languages/english/classic/header.php
OH BABY!
I don't know what it is with my system, but I copied everything it would let me copy to a local drive, and tried the "search for sales etc" routine, and got nada...
I'm gonna go kill me some text. It NEEDS killin'...
Re: Things every New Zenner needs to know
okay here's my question.
1. I got the book AND I have gone to FAQ...but...not found the answer that I am seeking...
2. I am working in Mac OSX and the book speaks to WINDOWS op systems :oops:
that's already a problem:
I am stuck on setting up the local host on powerbook. The instructions in the Zen manual say to go to system32 driver??? And then over write the last 2 lines of code. That's for windows. Is there an equivilent file for the MAC, where do I find that file?