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

#   Version upgrade query

##

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

Less More

- Posts: 82
- Thank you received: 6
-
-
-
- [](http://www.aquamandesign.co.uk)
-

7 years 6 months ago [\#306136](#306136) by [dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")  Replied by *[dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")* on topic *[Version upgrade query](/forum/25-install-update/896855-version-upgrade-query?start=20#306136 "-- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Firefox  Hi,  I have just taken over a website with Hikashop installed. It's on an old version number, but it doesn't say what version of Hikashop it's using, ie starter, essential or business...  I have attached a screenshot so that you might be able to help me tell.  It's obviously a big update, 2.4.0 - 4.0.1 - is there anything I should know about making such a big jump. I'm thinking I should do it on a test site first.  Regards  Duncan")*

Hi Nicolas,

I hope you can bare with me on this I need to just say that I didn't set this installation of Hikashop up, I've taken it on from a previous developer who hadn't updated it in a long time, and in addition I've not got that much experience with Hikashop itself, so I having to learn from two angles, ie the ins and outs of Hikashop and what changes the previous developer made

So like you say, I think there are overrides, is that shown by the trash symbol in the columns? - see screenshot. Plus the email/s in question here here all say version 2.4.0, which is the version I have upgraded from.

The problem is, judging by the emails that are sent out, the previous developer designed the emails specifically, and if I turn the overrides off I guess I will lose the styling.

I do need to fix the order number issue fairly quickly though, so not sure I've got time to restyle emails right now.

So, I checked the code of the preload version and the $url looks like this:
Code:

$url = $data-&gt;order-&gt;order_number;

The same line in your screenshot looks like this
Code:

$url = $data-&gt;order_number = $data-&gt;cart-&gt;order_number;

The code for the order changed line looks correct and looks like this:
Code:

'ORDER_CHANGED' =&gt; JText::sprintf('ORDER_STATUS_CHANGED_TO', $url, $data-&gt;mail_status),

I'm not a coder, so just need to check on what to do next before I go an make things worse. Should I change the $url line to match the $url line in your screenshot?

What do you think? Hoping you can help me solve this.

Many Thanks

Duncan

---

DunxMax

The more we learn the less we know.

- [ ![Screenshot2019-04-30at13.20.53.png](/forum/attachment/46716) ](/forum/attachment/46716 "...at13.20.53.png") [ ](/forum/attachment/46716?download=1 "...at13.20.53.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5Njg1NS12ZXJzaW9uLXVwZ3JhZGUtcXVlcnk/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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: 86555
- Thank you received: 14304
-
-

7 years 6 months ago [\#306138](#306138) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Version upgrade query](/forum/25-install-update/896855-version-upgrade-query?start=20#306138 "-- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Firefox  Hi,  I have just taken over a website with Hikashop installed. It's on an old version number, but it doesn't say what version of Hikashop it's using, ie starter, essential or business...  I have attached a screenshot so that you might be able to help me tell.  It's obviously a big update, 2.4.0 - 4.0.1 - is there anything I should know about making such a big jump. I'm thinking I should do it on a test site first.  Regards  Duncan")*

hi,

Without being a coder the simplest thing you can do is to copy/paste the code in the preload of the email into a notepad, delete the preload customization with the bin icon of the listing of emails and use the "preview" button of the email to check if you see any difference with the customization of the email and if it fixes the problem.
I'm quite sure that it will fix the problem and it's highly likely that it won't change the display of the email.
In old versions of HikaShop, when you were customizing the HTML version, the preload version would also be saved as override, even if it was not needed. So it's highly likely that the preload customization is not necessary.
You can always restore the override if you see that it messes with the email.

And yeah, if you change the line:
$url = $data-&gt;order-&gt;order_number;
to:
$url = $data-&gt;order_number = $data-&gt;cart-&gt;order_number;
in the preload you currently have, it will also probably fix the the problem. Again, that would have to be tested with the preview button.

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

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

Less More

- Posts: 82
- Thank you received: 6
-
-
-
- [](http://www.aquamandesign.co.uk)
-

7 years 6 months ago [\#306196](#306196) by [dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")  Replied by *[dunxmax](/forum/user/9795-dunxmax "View dunxmax's Profile")* on topic *[Version upgrade query](/forum/25-install-update/896855-version-upgrade-query?start=20#306196 "-- Joomla version -- : 3.8.10 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Firefox  Hi,  I have just taken over a website with Hikashop installed. It's on an old version number, but it doesn't say what version of Hikashop it's using, ie starter, essential or business...  I have attached a screenshot so that you might be able to help me tell.  It's obviously a big update, 2.4.0 - 4.0.1 - is there anything I should know about making such a big jump. I'm thinking I should do it on a test site first.  Regards  Duncan")*

Hi Nicolas,

The first method worked. Thanks very much, you are an absolute star.

I think there's one more issue, which I'm going to check with the client today. I might be back if it's something I can't work out myself.

Once again many thanks.

Duncan

---

DunxMax

The more we learn the less we know.

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

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