[Skip to main content](#vessel-content)

#   Unwanted text in email confirmation

##

- **[Chris](/forum/user/377-chris "View Chris's Profile")**
- [![Chris's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/377-chris "View Chris's Profile") Topic Author
- [ Offline](/forum/user/377-chris)

Less More

- Posts: 9
- Thank you received: 0
-
-

16 years 10 hours ago [\#2498](#2498) by [Chris](/forum/user/377-chris "View Chris's Profile")  *[Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#2498 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")* was created by *[Chris](/forum/user/377-chris "View Chris's Profile")*

When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.

For example:

> We are pleased to confirm the creation of your order No. B2F8 ( [ thulutess.com/index.php?option=com\_hikas...=order&amp;task=show&amp;cid](http://thulutess.com/index.php?option=com_hikashop&ctrl=order&task=show&cid)\[\]=28 ) at [ thulutess.com/](http://thulutess.com/) on the 28 November 2010 at 18:18

Can this be removed?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

16 years 10 hours ago [\#2499](#2499) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#2499 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Yes. You can go in the configuration under the languages tab and edit your translation file. There, you will be able to change that text to your liking.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Chris](/forum/user/377-chris "View Chris's Profile")**
- [![Chris's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/377-chris "View Chris's Profile") Topic Author
- [ Offline](/forum/user/377-chris)

Less More

- Posts: 9
- Thank you received: 0
-
-

15 years 11 months ago [\#2567](#2567) by [Chris](/forum/user/377-chris "View Chris's Profile")  Replied by *[Chris](/forum/user/377-chris "View Chris's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#2567 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

It's not quite so straightforward. The entire string

> B2F8 ( [ thulutess.com/index.php?option=com\_hikas...=order&amp;task=show&amp;cid](http://thulutess.com/index.php?option=com_hikashop&ctrl=order&task=show&cid)\[\]=32 )

is shown as %s. There are several occurrences of

> %s

:

> We are pleased to confirm the creation of your order No. %s at %s on the %s at %s

It's beginning to look like one needs to be an expert at PHP to customize this component? It is a really nice component and it shows a lot of promise, but it is evidently not for those who don't want to hack code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

15 years 11 months ago [\#2570](#2570) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#2570 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Customization is always a trade off. Sure, if you want to do customize something precisely to your needs you might have to change one or two lines of php here and there. But HikaShop already allows you to customize a lot of things without having to see a line of PHP. And for the rest we provide an interface for it which will keep your modifications after updates, unlike other cart where you will loose your modifications each time you update.

The order number and the link to the order is indeed displayed by the same %s variable in the translation. If you want to remove just the link, you will have to edit the email file. That can be done in the menu System-&gt;Emails. There, by editing the order creation notification email you will be able to change the code Code:

$url = $data-&gt;order_number.' ( '.$data-&gt;order_url.' )';

to Code:

$url = $data-&gt;order_number;

Emails customization is only available with the Business version of HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 3 months ago [\#24061](#24061) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24061 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Hi Nicolas,

Does this work for all the links in all the emails? My email confirmations are showing https and I would like them to show http instead.

Is there an easy way to just change the website url?

Thanks! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

15 years 3 months ago -  15 years 3 months ago [\#24071](#24071) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24071 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

You can add that line after the first &lt;?php tag of your emails: Code:

$data-&gt;order_url = str_replace('https://','http://',$data-&gt;order_url);

Last edit: 15 years 3 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 3 months ago [\#24075](#24075) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24075 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Thanks Nicolas ![:)](/media/kunena/emoticons/3.png ":)")

Is it after the pink one, or the blue one?

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 1.5.3
* @author hikashop.com
* @copyright (C) 2010-2011 HIKARI SOFTWARE. All rights reserved.
* @license [ www.hikashop.com/commercial\_license.php](http://www.hikashop.com/commercial_license.php)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;div style="background-color: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif;font-size:12px; color: #000000; width: 100%;"&gt;
&lt;table style="margin: auto;font-family: Verdana, Arial, Helvetica, sans-serif;font-size:12px;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td height="10"&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;?php
$url = $data-&gt;order_number;
$config =&amp; hikashop_config();
if($config-&gt;get('simplified_registration',0)!=2){
$url .= ' ( '.$data-&gt;order_url.' )';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

15 years 3 months ago [\#24093](#24093) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24093 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

It doesn't matter.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 3 months ago [\#24141](#24141) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24141 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Hi Nicolas,

I have tried placing the code in a few different spots, and it doesn't seem to be making any changes...

Thanks ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

15 years 3 months ago [\#24142](#24142) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24142 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Mmm. The code didn't display properly because of the forum parsing screwed it. I've fixed it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")**
- [![Bugger101's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/631-bugger101 "View Bugger101's Profile")
- [ Offline](/forum/user/631-bugger101)

Less More

- Posts: 392
- Thank you received: 0
-
-

15 years 3 months ago -  15 years 3 months ago [\#24145](#24145) by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")  Replied by *[Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile")* on topic *[Re: Unwanted text in email confirmation](/forum/4-how-to/2498-unwanted-text-in-email-confirmation#24145 "When testing my site I noticed that the first line of the confirmation email, below the customer's name, includes a URL which is surely not necessary.  For example:  Can this be removed?")*

Yeah it worked! :woohoo:

SSL redirect to the rescue ![:)](/media/kunena/emoticons/3.png ":)")

Last edit: 15 years 3 months ago by [Bugger101](/forum/user/631-bugger101 "View Bugger101's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0OTgtdW53YW50ZWQtdGV4dC1pbi1lbWFpbC1jb25maXJtYXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
