Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / How to Hide Discount Code from order confirmation emails ?

How to Hide Discount Code from order confirmation emails ?

Locked

Views: 1,996

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
5 Sep 2010, 8:09 PM
#1
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

How to Hide Discount Code from order confirmation emails ?

I tried to edit "Order.php" but couldn't find any relevant section to edit....! :(

Any help is very appreciated ...!

7 Sep 2010, 9:44 PM
#2
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: How to Hide Discount Code from order confirmation emails ?

68 Views and no reply .... :ohmy:

Anybody plz help ...?

8 Sep 2010, 12:20 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to Hide Discount Code from order confirmation emails ?

Perhaps you can explain more clearly what you're wanting to do and why, including the business reason behind what you're asking for.
Also: http://www.zen-cart.com/forum/faq.php

8 Sep 2010, 2:45 AM
#4
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: How to Hide Discount Code from order confirmation emails ?

Alright, Plz see image below.

Some customers order by phone and provide their CC info on phone.

We often offer them bulk discounts. The % of the discount vary each time.

After taking their CC info, We enter their info thorough our website like a regular customer would do.

We implement discounts by using Coupon Codes, but we don't want them to know the coupon codes.

And we don't like to create 1 time use coupons. We want to use the coupons multiple times but only by the administrator.

So how do I delete/hide the coupon/discount code (Yellow highlighted text in above image) in "Order Confirmation" emails ?

Hope I am clear this time.

Thanks

8 Sep 2010, 2:49 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to Hide Discount Code from order confirmation emails ?

That code is put there as part of the order-total description text.
You'll notice if you look carefully at the order-confirmation screen that it's shown there too, as a courtesy to the customer so they can see what coupon they used, and even click on it for a description of what that coupon "gave" them. You're wanting to remove that ability for everyone?

8 Sep 2010, 3:19 AM
#6
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: How to Hide Discount Code from order confirmation emails ?

DrByte:

That code is put there as part of the order-total description text.
You'll notice if you look carefully at the order-confirmation screen that it's shown there too, as a courtesy to the customer so they can see what coupon they used, and even click on it for a description of what that coupon "gave" them. You're wanting to remove that ability for everyone?

I know its shown on the order-confirmation screen ........ but the customer itself is NOT entering the order, its the STORE-OWNER who is entering the order that he received through Phone.

8 Sep 2010, 4:23 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to Hide Discount Code from order confirmation emails ?

So, you have no actual customers ever using your website?

9 Sep 2010, 5:30 PM
#8
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: How to Hide Discount Code from order confirmation emails ?

Hmmmm... Looks like nobody knows how to hide Discount/Coupon Codes from going in "Order Confirmation Emails" ? :dontgetit

9 Sep 2010, 6:27 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to Hide Discount Code from order confirmation emails ?

You didn't answer my question.

As I've said before, to remove it from the emails requires removing it everywhere, including preventing it from being seen legitimately by customers who actually do their own buying on your store, not by telephone.

But, you don't seem to care about the implications of making such a change. Feel free to hack it out yourself according to your needs: ot_coupon.php

20 Sep 2010, 9:25 PM
#10
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: How to Hide Discount Code from order confirmation emails ?

DrByte:

So, you have no actual customers ever using your website?

We do have actual customers, but we don't offer Coupons to Customers. Coupons are only to be used by the Store-Owner (as a way to override actual price) for Telephone orders for some preferred customers.