Order number %s from %s for %s

General ShopSite user discussion

Order number %s from %s for %s

Postby Don Lundell » Mon Sep 26, 2005 4:05 pm

In thankyou.cgi, there's a string that becomes the Subject line of the order
receipt email.

Anyone know if the final string in this printf is replaceable?

The last %s currently gets replaced with 'shopsite'.

If I need to, I can write a program to whack the binary with a NULL and lop off
the "for %s" but it would be easier to just replace the 'shopsite' -- if it's
available to be changed. I don't see it in any of the store screens, but the
fact that it's an element in a printf string give me hope.

Thanks,

- dc
Don Lundell
 

Re: Order number %s from %s for %s

Postby loren_d_c » Mon Sep 26, 2005 4:34 pm

No, the end of a subject line in that format is not configurable.
However, this should not matter because an email subject line in the
form 'Order number %s from %s for %s' is only for the MERCHANT copy of
the email receipt. The storeid (represented in your example by the last
%s) is not in the subject (or body) of the email received by the shopper.

-Loren


Don Lundell wrote:
In thankyou.cgi, there's a string that becomes the Subject line of the
order
receipt email.

Anyone know if the final string in this printf is replaceable?

The last %s currently gets replaced with 'shopsite'.

If I need to, I can write a program to whack the binary with a NULL and
lop off
the "for %s" but it would be easier to just replace the 'shopsite' -- if
it's
available to be changed. I don't see it in any of the store screens, but
the
fact that it's an element in a printf string give me hope.

Thanks,

- dc
loren_d_c
 
Posts: 2569
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Order number %s from %s for %s

Postby Don Lundell » Tue Sep 27, 2005 12:47 am

On Mon, 26 Sep 2005 16:34:47 -0700, Loren <loren_d_c@yahoo.com> wrote:

No, the end of a subject line in that format is not configurable.
However, this should not matter because an email subject line in the
form 'Order number %s from %s for %s' is only for the MERCHANT copy of
the email receipt. The storeid (represented in your example by the last
%s) is not in the subject (or body) of the email received by the shopper.

Terrific.

Thanks Loren,

- dc
Don Lundell
 


Return to User Forum

Who is online

Users browsing this forum: No registered users and 22 guests

cron