Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I noticed that the contribution works really well. I do have one question about emailing a ovucher to another person.

 

When a person emails a voucher to someone... it shows on the screen the gv code to redeem the voucher.

 

Is there a way to turn this off? I performed a test and sent myself a voucher then redeemed the code as the sender. It allowed me to add the voucher amount back into my account.

 

When I received the email I also tried to redeem the voucher as the recipient... and was told that the voucher was already redeemed or and invalid number.

 

For this reason I want to disable the viewing of the voucher number from the sender.

 

What file do I have to modify to achieve this?

 

Thank you for your time,

 

Andrew

  • 1 month later...
Posted

In case you haven't found it yet

 

Find:

 

<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?><br><br><?php echo 'gv '.$id1; ?></td>

 

Replace with:

 

<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?><br><br><?php //echo 'gv '.$id1; ?></td>

Posted

I don't mean to sound totally ignorant... but, which file is the code located in?

 

Sorry if this is a no brainer.... I am trying to learn so much at once.... that I need all the help I can get sometimes.

 

Thank you again for the reply... you are the first to let me know and it is such a welcome relief to get a response.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...