Im using v 1.70 and when I send a gift voucher using the admin section, the customer receives an Email that looks like this
The Gift Voucher is worth 150kr
To redeem this Gift Voucher, please click on the link below. Please also write down the redemption codewhich is43f3ec in case you have any problems.
http://www.sitex.sehttp://sitex.se/b...p?gv_no=43f3ec
or visit http://www.sitex.sehttp://sitex.se/bk/catalog/ and enter the code during the checkout process
What can I do to have the URL with the gift certificate appear only one time, so it looks like this in the customer email? The link as configured above will not work and I can't figure out how to change it!
http://sitex.se/bk/catalog/gv_redeem.php?gv_no=43f3ec
http://sitex.se/bk/catalog/
I have turned off search engine friendly URLs and tried to change gv_mail.php, but nothing seems to work... here is what I think is the relevant part of gv_mail.php.
$message .= TEXT_TO_REDEEM;
$message .= TEXT_WHICH_IS . $id1 . TEXT_IN_CASE . "\n\n";
if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
$message .= HTTP_SERVER . DIR_WS_CATALOG . 'gv_redeem.php' . '/gv_no,'.$id1 . "\n\n";
} else {
$message .= HTTP_SERVER . DIR_WS_CATALOG . 'gv_redeem.php' . '?gv_no='.$id1 . "\n\n";
}
$message .= TEXT_OR_VISIT . HTTP_SERVER . DIR_WS_CATALOG . TEXT_ENTER_CODE;
Help if you can, I've run out of ideas!





LinkBack URL
About LinkBacks










Bookmarks