Jump to content

Recommended Posts

Hi

 

After a couple of hours of wasted time on the Zen Cart forums I decided to come here for some advice.

 

when a customer buys a products they are sent a order confirmation email.

 

At the bottom of this, I want to add a section about the Returns Policy, which includes a URL to our Returns Policy on the website.

 

The only proble I have, is that the URL isn't displaying properly.

 

My define() code is found in "includes/languages/english/email_extras.php":

 

 define('EMAIL_DISCLAIMER', 'Returns Policy' . "\n\n" . 'If you are not completely satisifed with your purchase for any reason, simply return the product to us in its original condition, including all original packaging and documentation, within 30 days of receipt to ADDRESS.' . "\n\n" . 'If the goods are returned as detailed above, we will issue a full refund for the price paid for the item, or exchange the item for another product. <a href="http://www.example.com/index.php?main_page=terms">Click here</a> to read the full policy');

 

But the output in the email is:

 

Returns Policy

 

If you are not completely satisifed with your purchase for any reason,

simply return the product to us in its original condition, including all

original packaging and documentation, within 30 days of receipt to ADDRESS.

 

If the goods are returned as detailed above, we will issue a full refund for

the price paid for the item, or exchange the item for another product.Click

here to read the full policy

 

Any ideas what I need to change to get the URL working?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/117533-zen-cart/
Share on other sites

Ok..... I have spent HOURS AND FREAKING HOURS working with ZEN Cart... I hate it as it is CUMBERSOME...

 

Here is my recommendation... Download Windows Grep, type in what your searching for and point it to your local zencart files. This will search inside files to find the string your searched for.

 

Get familiar with the override system that they use. It makes it pretty easy to make changes after you figure out where the hell to make the changes in the first place.

Link to comment
https://forums.phpfreaks.com/topic/117533-zen-cart/#findComment-608357
Share on other sites

  • 1 month later...

Hello,

 

The email content is sending in Text format instead of HTML. You can use,

 

<a href="http://www.example.com/index.php?main_page=terms">Click here</a>

 

In Text format. Put the full url without anchor tag,

 

Click here http://www.example.com/index.php?main_page=terms

 

Otherwise change your email format to HTML.

 

Link to comment
https://forums.phpfreaks.com/topic/117533-zen-cart/#findComment-641867
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.