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

#   Opencart import issue

##

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

Less More

- Posts: 63
- Thank you received: 0
-
-
- [](http://www.bitstormweb.com)
-

11 years 5 months ago [\#204226](#204226) by [superdmon](/forum/user/37518-superdmon "View superdmon's Profile")  *[Opencart import issue](/forum/37-import-export-csv-xls/877409-opencart-import-issue#204226 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Importing from opencart seemed to go ok, however, when bringing over the category and product descriptions it appears to have brought them over RAW not interpreting the HTML tags.  So instead of a description like this: &quot;Product A blah blah blah&quot; I see &quot;Product A blah blah blah&quot;  Any fix for this?")* was created by *[superdmon](/forum/user/37518-superdmon "View superdmon's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1

Importing from opencart seemed to go ok, however, when bringing over the category and product descriptions it appears to have brought them over RAW not interpreting the HTML tags.

So instead of a description like this: "**Product A** blah blah blah" I see "&lt;p&gt;&lt;strong&gt;Product A&lt;/strong&gt; blah blah blah&lt;/p&gt;"

Any fix for this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzc0MDktb3BlbmNhcnQtaW1wb3J0LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86593
- Thank you received: 14334
-
-

11 years 5 months ago [\#204256](#204256) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Opencart import issue](/forum/37-import-export-csv-xls/877409-opencart-import-issue#204256 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Importing from opencart seemed to go ok, however, when bringing over the category and product descriptions it appears to have brought them over RAW not interpreting the HTML tags.  So instead of a description like this: &quot;Product A blah blah blah&quot; I see &quot;Product A blah blah blah&quot;  Any fix for this?")*

Hi,

It seems that you have the same problem as there is with the MijoShop descriptions:
[ www.hikashop.com/forum/product-category-...raw-html.html#203500](http://www.hikashop.com/forum/product-category-display/877289-product-description-shows-raw-html.html#203500)
You can use that modification to fix the product description display on the frontend as you already did the import.

It seems to be coming from a problem in OpenCart:
[ forum.opencart.com/viewtopic.php?f=20&amp;t=25312](http://forum.opencart.com/viewtopic.php?f=20&t=25312)
[ forum.opencart.com/viewtopic.php?f=18&amp;t=2034](http://forum.opencart.com/viewtopic.php?f=18&t=2034)

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

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

Less More

- Posts: 63
- Thank you received: 0
-
-
- [](http://www.bitstormweb.com)
-

11 years 5 months ago [\#204344](#204344) by [superdmon](/forum/user/37518-superdmon "View superdmon's Profile")  Replied by *[superdmon](/forum/user/37518-superdmon "View superdmon's Profile")* on topic *[Opencart import issue](/forum/37-import-export-csv-xls/877409-opencart-import-issue#204344 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Importing from opencart seemed to go ok, however, when bringing over the category and product descriptions it appears to have brought them over RAW not interpreting the HTML tags.  So instead of a description like this: &quot;Product A blah blah blah&quot; I see &quot;Product A blah blah blah&quot;  Any fix for this?")*

Niocolas, thanks! This fixed one issue as the product descriptions look fine now, however, I can not seem to find where to use that same code for the category descriptions. Is there a view for that as well?

Thanks!

Charles

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84Nzc0MDktb3BlbmNhcnQtaW1wb3J0LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86593
- Thank you received: 14334
-
-

11 years 5 months ago [\#204524](#204524) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Opencart import issue](/forum/37-import-export-csv-xls/877409-opencart-import-issue#204524 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Importing from opencart seemed to go ok, however, when bringing over the category and product descriptions it appears to have brought them over RAW not interpreting the HTML tags.  So instead of a description like this: &quot;Product A blah blah blah&quot; I see &quot;Product A blah blah blah&quot;  Any fix for this?")*

Hi,

Yes. The description of categories is displayed in the file "listing" of both the views "product" and "category" with the code:
$this-&gt;element-&gt;category_description
that you can change to:
html_entity_decode($this-&gt;element-&gt;category_description)

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

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