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

#   System Email Files

##

- **[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")**
- [![ilovekratom's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23.jpg)](/forum/user/10051-ilovekratom "View ilovekratom's Profile") Topic Author
- [ Offline](/forum/user/10051-ilovekratom)

Less More

- Posts: 66
- Thank you received: 2
-
-
-
-

13 years 2 months ago [\#116555](#116555) by [ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")  *[System Email Files](/forum/4-how-to/85912-system-email-files#116555 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")* was created by *[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")*

Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an order is created the user receives the email confirmation and the system is putting their billing address as their shipping as well. The information is correct in the order, so it seems to be an issue with the confirmation email only. Thanks ![:)](/media/kunena/emoticons/8.png ":)")

Hugs,

Natalie

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

- **[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")**
- [![ilovekratom's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23.jpg)](/forum/user/10051-ilovekratom "View ilovekratom's Profile") Topic Author
- [ Offline](/forum/user/10051-ilovekratom)

Less More

- Posts: 66
- Thank you received: 2
-
-
-
-

13 years 2 months ago -  13 years 1 month ago [\#116562](#116562) by [ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")  Replied by *[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#116562 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

For trouble shooting I first downloaded the most recent version of Hikashop business and exported order_creation_notification.html.php and copied and pasted that in Hikashop&gt;System&gt;Emails&gt;Order status notification and pasted in the code below, erasing what was in there. I then placed a test order and the email notification received shows the billing address as the shipping. I then went back to Hikashop&gt;System&gt;Emails&gt;Order status notification and selected the option"Remove HTML customization" and tried it again by placing another test order. Again the email notification received shows the billing address as the shipping address.

This does not happen with any other email notifications and the actual orders in the system have the addresses in the correct location. Let me know what you find. Thanks guys.

Hugs,

Natalie Code:

Code removed by a moderator. Please do not post complete file which come from the HikaShop package. We already have them :)

Last edit: 13 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1OTEyLXN5c3RlbS1lbWFpbC1maWxlcz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

13 years 2 months ago [\#116650](#116650) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#116650 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

We were able to reproduce the issue on our end and we're still investigating it for a solution. We should be able to provide one tomorrow.
Thanks for bearing with us in the mean time

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

- **[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")**
- [![ilovekratom's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23.jpg)](/forum/user/10051-ilovekratom "View ilovekratom's Profile") Topic Author
- [ Offline](/forum/user/10051-ilovekratom)

Less More

- Posts: 66
- Thank you received: 2
-
-
-
-

13 years 2 months ago [\#116653](#116653) by [ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")  Replied by *[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#116653 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Hi Nicolas, thank you ![:)](/media/kunena/emoticons/8.png ":)") .

Hugs,

Natalie

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 2 months ago [\#116810](#116810) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#116810 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Hi Natalie,

We finally found out from where the problem was coming from and fixed it, you'll just have to edit the file "*hikashop2.5\\administrator\\components\\com\_hikashop\\helpers\\**helper.php***" and change these lines : Code:

$shipping_address = $this-&gt;app-&gt;getUserState(HIKASHOP_COMPONENT.'.billing_address'); if(!empty($shipping_address)) $cartClass-&gt;loadAddress($order-&gt;cart, $shipping_address, 'object', 'shipping');

By : Code:

$shipping_address = $this-&gt;app-&gt;getUserState(HIKASHOP_COMPONENT.'.shipping_address'); if(!empty($shipping_address)) $cartClass-&gt;loadAddress($order-&gt;cart, $shipping_address, 'object', 'shipping');

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

- **[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")**
- [![ilovekratom's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-07-23.jpg)](/forum/user/10051-ilovekratom "View ilovekratom's Profile") Topic Author
- [ Offline](/forum/user/10051-ilovekratom)

Less More

- Posts: 66
- Thank you received: 2
-
-
-
-

13 years 2 months ago [\#116813](#116813) by [ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")  Replied by *[ilovekratom](/forum/user/10051-ilovekratom "View ilovekratom's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#116813 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Awesome! Thanks so much ![:)](/media/kunena/emoticons/8.png ":)")

Hugs,

Natalie

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

- **[Peter Pansky](/forum/user/24178-peter-pansky "View Peter Pansky's Profile")**
- [![Peter Pansky's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/24178-peter-pansky "View Peter Pansky's Profile")
- [ Offline](/forum/user/24178-peter-pansky)

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 2 months ago [\#116949](#116949) by [Peter Pansky](/forum/user/24178-peter-pansky "View Peter Pansky's Profile")  Replied by *[Peter Pansky](/forum/user/24178-peter-pansky "View Peter Pansky's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#116949 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

it works,
thanks a lot for this fast support...

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

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

Less More

- Posts: 32
- Thank you received: 1
-
-

13 years 1 month ago [\#123639](#123639) by [shivali](/forum/user/26224-shivali "View shivali's Profile")  Replied by *[shivali](/forum/user/26224-shivali "View shivali's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#123639 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Hi,

I am having exactly the same issue. I posted about it here yesterday. [ www.hikashop.com/forum/checkout/861991-o...customer.html#123638](http://www.hikashop.com/forum/checkout/861991-order-confirmation-email-to-customer.html#123638)
I checked for the helper.php file in the back end but am unable to find it! Attaching a screenshot so that you can see what I mean. There is no helper folder! What am I missing?

thanks.

- [ ![h1c1beb9.jpg](/forum/attachment/12275) ](/forum/attachment/12275 "h1c1beb9.jpg") [ ](/forum/attachment/12275?download=1 "h1c1beb9.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#123834](#123834) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#123834 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Hi,

The helper is in the backend, not in the front-end....
**administrator**/components/com_hikashop/helpers/helper.php

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 101
- Thank you received: 12
-
-

13 years 1 month ago [\#123906](#123906) by [SG](/forum/user/12204-sg "View SG's Profile")  Replied by *[SG](/forum/user/12204-sg "View SG's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#123906 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Hi,

I'm kind of lost cause I can't find Code:

$shipping_address = $this-&gt;app-&gt;getUserState(HIKASHOP_COMPONENT.'.billing_address');

I see the following code in the helper.php file (under administrator/components/com_hikashop/helpers/) Code:

function hikashop_getZone($type = 'shipping'){ $app = JFactory::getApplication(); $shipping_address = $app-&gt;getUserState( HIKASHOP_COMPONENT.'.'.$type.'_address',0); $zone_id =0; if(!empty($shipping_address)){

I have hikashop 2.1.3

Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 1 month ago -  13 years 1 month ago [\#123953](#123953) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[System Email Files](/forum/4-how-to/85912-system-email-files#123953 "Hi guys, I need to reload a backup and only want to reload the file that controls the order creation notification under the Hikashop System Emails. Which file controls this? For some reason when an...")*

Hi,

> I have hikashop 2.1.3

And I am sure that is the problem. The fix (and the problem) is for HikaShop 2.2.0 and is fixed in HikaShop 2.2.1

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 13 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1OTEyLXN5c3RlbS1lbWFpbC1maWxlcz90bXBsPW1hcmtkb3du) 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.211 seconds

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

[](#top)
