Opencart import issue
11 years 3 months ago #204226
by superdmon
Opencart import issue was created by superdmon
-- 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 "<p><strong>Product A</strong> blah blah blah</p>"
Any fix for this?
-- 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 "<p><strong>Product A</strong> blah blah blah</p>"
Any fix for this?
Please Log in or Create an account to join the conversation.
11 years 3 months ago #204256
by nicolas
Replied by nicolas on topic Opencart import issue
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
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&t=25312
forum.opencart.com/viewtopic.php?f=18&t=2034
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
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&t=25312
forum.opencart.com/viewtopic.php?f=18&t=2034
Please Log in or Create an account to join the conversation.
11 years 3 months ago #204344
by superdmon
Replied by superdmon on topic Opencart import issue
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
Thanks!
Charles
Please Log in or Create an account to join the conversation.
11 years 3 months ago #204524
by nicolas
Replied by nicolas on topic Opencart import issue
Hi,
Yes. The description of categories is displayed in the file "listing" of both the views "product" and "category" with the code:
$this->element->category_description
that you can change to:
html_entity_decode($this->element->category_description)
Yes. The description of categories is displayed in the file "listing" of both the views "product" and "category" with the code:
$this->element->category_description
that you can change to:
html_entity_decode($this->element->category_description)
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds