SMFHacks.com

SMF Store => Support => Topic started by: KKOG on November 14, 2017, 09:49:34 pm

Title: Changing text in personal message sent when product is shipped.
Post by: KKOG on November 14, 2017, 09:49:34 pm
I would like to change the text in the message sent after a product is shipped.  I have checked the text scripts in store.english.php and cannot find anything there.  Where is this text generated?

Thanks
KKOG Forum Admin
Title: Re: Changing text in personal message sent when product is shipped.
Post by: SMFHacks on November 14, 2017, 09:51:22 pm
What text does it say now?
It should mostly all be in store.english.php anything else is modifications.english.php but that should be global text
Title: Re: Changing text in personal message sent when product is shipped.
Post by: KKOG on November 14, 2017, 10:03:05 pm
The text is"%product has been shipped!" in both the message header and the message text.  The message text then identifies the order number.
I have checked modifications.english.php and cannot find the text there.

Thanks
KKOG Forum Admin
Title: Re: Changing text in personal message sent when product is shipped.
Post by: KKOG on November 14, 2017, 10:04:55 pm
Sorry, I have just found it in store.english.php

KKOG Forum Admin
Title: Re: Changing text in personal message sent when product is shipped.
Post by: SMFHacks on November 14, 2017, 10:05:29 pm
It should be this text string.
$txt['store_txt_hasbeenshipped']

Ok thanks
Title: Re: Changing text in personal message sent when product is shipped.
Post by: KKOG on November 14, 2017, 10:08:22 pm
Next question - where is the PM generated storeipn2.php or elsewhere?

KKOG Forum Admin
Title: Re: Changing text in personal message sent when product is shipped.
Post by: SMFHacks on November 14, 2017, 10:43:27 pm
ToggledShipped function ins in Sources/Store2.php
Around line 5063
Title: Re: Changing text in personal message sent when product is shipped.
Post by: KKOG on November 14, 2017, 10:57:08 pm
Thanks, I have found it

Thanks again for your help

This is a great mod and works well.  I enjoy using it

KKOG Forum Admin