Product Template Issue?

  • Posts: 70
  • Thank you received: 3
7 years 8 months ago #276254

I've just migrated to HikaShop from MijoShop, so HikaShop is very new to me.

I used the product import function which seemed to work pretty well.

My new product page looks like this:

www.test.virusys.com/index.php?option=co...ntibody-ch177-500-ug

Do I have a template missing somewhere?

Please Log in or Create an account to join the conversation.

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 8 months ago #276263

Hello,

I can see two problems in your page.
The first one is the management of the dates ; the starting date of the product has not been imported correctly.

That issue is coming from modification in the mijoshop structure but we are not aware of the version so it will be difficult for us to make a patch since we can't know if we need to import the raw data and convert it into a timestamp.
For more details about the requirement modification, you can check that forum post :
www.hikashop.com/forum/install-update/89...eld-list.html#275983

I suggest you to perform the modification of the mijo import and then try to perform a new import.

The second issue is related to the product description. I don't know why but it looks like the HTML content has been encoded so while HikaShop is displaying it (using the Joomla JHTML core helper), the HTML is not displayed as HTML but as raw text.
I have to admit that I don't know how it could happen since the import copy directly the data (so it would mean that the data is not stored correctly in mijoshop)

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 70
  • Thank you received: 3
7 years 5 months ago #283116

Finally getting back to this.

Please see www.screencast.com/t/HTK4bYbHIn

Seems there is a character replacement going on that stops the html rendering.

This gets repaired upon saving the product and it displays properly afterwards.

Is there a way to fix this without going into each product in order to save it again? I'd rather do something batchwise in mySQL.

Please Log in or Create an account to join the conversation.

  • Posts: 83779
  • Thank you received: 13567
  • MODERATOR
7 years 5 months ago #283119

Hi,

So do you mean that this happened during the import from mijoshop ? How did you do the import ? And what columns are in your screenshot ? Is it the product_description column ?

Regarding a batch function in MySQL to fix that, you could try this:
stackoverflow.com/questions/3678980/is-t...decode-html-entities

Please Log in or Create an account to join the conversation.

  • Posts: 70
  • Thank you received: 3
7 years 5 months ago #283137

Yes, this is how it came over from MijoShop using the HikaShop import function.

See www.screencast.com/t/30grHJ4W - it is the product_description column

Please Log in or Create an account to join the conversation.

  • Posts: 70
  • Thank you received: 3
7 years 5 months ago #283139

OK - got it fixed with 4-5 separate search and replaces as in:

update hikashop_product set product_description = replace(product_description, '>', '>') where instr(product_description, '>') > 0;

Please Log in or Create an account to join the conversation.

  • Posts: 83779
  • Thank you received: 13567
  • MODERATOR
7 years 5 months ago #283155

Hi,

Ok, thank you for your feedback. We'll have to look into the import function. Something might have to be changed to support that properly.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum