Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Started by cowgirlmodel on 16 May 2011, 12:08 AM · Views: 7,541

Results 1 to 17 of 17
16 May 2011, 12:08 AM
#1
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

I'm wondering how to get rid of the Powered by ZenCart footer on all the customer order confirmation emails?

With hackers abounding, I'd rather not advertise ZenCart in my emails to my customers. If they want to know who's powering my site, they can look at the footer on the actual store website.

16 May 2011, 12:10 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 May 2011, 12:17 AM
#3
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

I found what I needed in includes\languages\english\emailextras.php and commented out the footer text.

Thanks for your quick reply, Dr Byte

It's a heck of a thing that ZC's own store owners are afraid to advertise it due to hackers, as it certainly deserves to be advertised. Someday I'd like to buy the copyright and take it off completely. But if everyone did that, Zencart would lose half its marketing.

16 May 2011, 12:21 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Um ... if by "commented out" you mean you put '//' at the beginning of those lines, DON'T DO THAT!!!!!!

Don't ever comment-out a define() statement, else you'll end up with all manner of confusion and you'll be coming back here asking about this: https://www.zen-cart.com/tutorials/index.php?article=95

Instead, simply EDIT the text you want to change/remove WITHIN the defined value. See the example at https://www.zen-cart.com/tutorials/index.php?article=95

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 May 2011, 12:31 AM
#5
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Oops, thank you for catching that. Makes me wonder where else I've made that mistake...

I replaced this:

define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

With this:
define('EMAIL_FOOTER_COPYRIGHT','');

Is this ok?

16 May 2011, 12:50 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Doing that just removed the copyright, date, and name of your website from the email footer as well.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 May 2011, 2:06 AM
#7
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Ok, I think I fixed it correctly so only the Powered by Zencart is gone. Didn't realize the copyright was that important for an email, but apparently it is. Was I right to leave the last '</a>. '?

Original:
define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

Edited:
define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. ');

By the way, running 139.h
Thanks again for all your help!

16 May 2011, 2:25 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

That should work. Have you tested it for yourself?
And have you made the appropriate changes on the admin side version of the file by the same name? Its contents are similar, but different.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 May 2011, 4:18 AM
#10
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

haredo:

For your information:

The powered by Zencart in my website footer is intact. I am only removing it from the order completion emails. But thanks for the info. I did customize my template considerably, but will always give ZC credit for its own creation, unless I were to donate $ to take the copyright off.

16 May 2011, 4:26 AM
#11
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Dr Byte, I did do tests, and the emails work fine. Interestingly, just modifying the includes folder file worked on both emails, so I didn't even think to look for an admin file.

However, now that you pointed it out, I've changed the admin file also.

13 Aug 2011, 4:15 AM
#12
willie_bee avatar

willie_bee

Zen Follower

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

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

I had a question. I did the same thing. The ORDER CONFIRMATION that the customer receives shows the Powered by changed.

But on the order updates and the order completion emails they receive still show the Powered by Zen cart part. Are there different files for those two emails I need to change?

don't mess with willie bee. i may go crazy on you.

13 Aug 2011, 5:18 AM
#13
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,899
Plugin Contributions:
22

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Again, maybe it's the pain meds after surgery but....
If I get it, you're trying to avoid hackers from finding out that you are using Zen Cart.
You are removing the Powered by from emails to customers and leaving it on the web site itself?
So... You are assuming that hackers will order first and hack later?
Are you dismissing the fact that a hacker will do a web-wide Google search for some hack term AND Powered by...?
Seems you are locking the car keys in the glove box and leaving the car unlocked.:dontgetit
Our servers get bombarded each evening with hackers trying to find some of the old 1.3.8a exploits and not one of them will show up as having ordered.
With so many ways that a hacker can look for exploits (including mentions in meta tags, image titles, and accessible pages), I submit this whole exercise is "Much ado about nothing."

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

13 Aug 2011, 5:24 AM
#14
willie_bee avatar

willie_bee

Zen Follower

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

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Yes. It's YOUR MEDS. The topic is about removing the Powered By in e-mails.
But maybe you could be nice and suggest she remove it from the footer also instead of posting a snotty reply like the OP is some kind of moron.

don't mess with willie bee. i may go crazy on you.

13 Aug 2011, 5:34 AM
#15
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,899
Plugin Contributions:
22

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

With hackers abounding, I'd rather not advertise ZenCart in my emails to my customers. If they want to know who's powering my site, they can look at the footer on the actual store website.Maybe without going crazy on me, you can tell me how I was not addressing this specific point in the originating post?
I can think of many reasons to modify e-mail and site headers, but she (and the lurker) needs to know that this would be around number 38 on most people's top ten list of ways to avoid hackers.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

14 Aug 2011, 12:17 AM
#16
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

cowgirlmodel:

The powered by Zencart in my website footer is intact. I am only removing it from the order completion emails. But thanks for the info. I did customize my template considerably, but will always give ZC credit for its own creation, unless I were to donate $ to take the copyright off.

dbltoe
Maybe you failed to read the entire thread before posting.

FYI
I do a lot of online shopping, and very few of my confirmation emails advertise who their store is powered by.

Willie bee... thanks for your support, much appreciated.

14 Aug 2011, 5:10 AM
#17
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,899
Plugin Contributions:
22

Re: Can I remove Powered by ZenCart footer on all the customer order confirmation emails?

Actually, my reading comprehension scores have always been almost as high as my concern for folks on this forum getting false information.:smartalec:
The powered by decisions were never a problem with me UNTIL it was presented as a method to control hacking.
We get enough incorrect information (SEO comes to mind first) and folks trying to take shortcuts in recovering from or preventing hacks.
I could not let the comment go without pointing out the fallacy of that premise.
I did not do so to denigrate your post or decisions for powered by, but merely to prevent someone reading this post in the future from thinking this would stop ANY junior hacker from finding a Zen Cart site that hasn't taken valid steps to prevent a hack.
Like Willie, I am known for taking up for the poster on many occasions. In this case, I felt my allegiance lay with those searching the forum for a way to stop hackers as changing a customer's e-mail just isn't it.
A Google search for a known 1.3.8a hack (which I won't name here) shows over 760,000 results. The good news is that the fixes and warnings are almost filling the first page.
There are alt least 6 major things hackers are doing to 1.3.8 and 1.3.8a. Hopefully, with correct information and proper precautionary implementation, we can stop these soon.
Best of luck with your site.:bigups:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com