Please advice on moving Hikashop

  • Posts: 72
  • Thank you received: 3
11 years 2 months ago #123637

We have a website with Hikashop implemented, adding all the products and settings etc. was a lot of work so we prefer not having to do so again.

The Hikashop is working well, but we are not so happy with the rest of the website. What is now the best way to go .....

- Leave Hikashop as it is and carefully remove the rest of the site before adding another template and then building it up again, or ....
- Start from scratch with for example a 'quickstart' template setup and using some kind of Export and Import of the current Hikashop installation. And if so ... how do i make a backup of an entire Hikashop setup and how do i restore it to a new website?

This by the way brought to my mind a perhaps good idea to add to Hikashop ..... a complete backup possibility of the Hikashop and all its settings etc. and a possibility to restore this easy to a new website. This way people can easily change there website without having to worry about there webshop.

Thank you in advance for your help and wishing you a wonderful weekend.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #123700

Hi,

I thinks that the best way is to start from scratch.
On the new install, install a fresh version of Hikashop, update HikaShop on your old version.

Then export the hikashop tables from the old database, and the users etc... tables.
Import them in the new site to get your customers, addresses, configurations back.

In the folder, get the content of the media/com_hikashop/ if you made overrides you can get them back from the folder "templates/your_old_template/com_hikashop" to put the content in the new website.

Doing this way allow you to keep the old version working, and if you are broking something in the new one, you can start again without losing any informations.

The following user(s) said Thank You: Huub

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

  • Posts: 72
  • Thank you received: 3
11 years 2 months ago #123702

Thank you so much for the quick reply Xavier.

Do i only need to export the hikashop tables, or are there also joomla tables that contain information related to Hikashop?

And if i follow the steps you described will all the characteristics etc. also be created?

Wishing you a wonderful day and thank you again for your help.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #123798

Hi,

Yes the characteristics will be created.
You need to export some Joomla tables too, mainly the user tables.

The following user(s) said Thank You: Huub

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

  • Posts: 72
  • Thank you received: 3
11 years 2 months ago #123934

Thank you again Xavier ..... i tried it and it seems to have worked just fine. Except for one thing ..... suddenly the views, especially the product-detail view is messed up.

afb01.jpg shows how the product-details view was.
afb02.jpg shows how it looks now.

The thumbail images were at first also just as big as the main image, despite that i had copied the old custom.css to this new installation. I added the following lines to custom.css and that was solved ....

#hikashop_small_image_div img {
width: 75px;

Could you please help me a bit with adjusting the CSS and or the products-detail view ('show') so it will look again as it was in afb01.jpg (picture left and the fields to the right, and height of the inputboxes back to normal, and desciption below the image).

I know i ask a lot, but right now i could really use a bit of help to get this solved. So hank you in advance for every bit of help you can offer.

Attachments:
Last edit: 11 years 2 months ago by Huub.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #123949

Hi,

If you had edited the views, you can get them back, they should be in the folder "templates/your_template/html/com_hikashop".
Just copy them and past it in your new website.

You will have back all the modifications.
Here is the documentation if you have to make other customizations:
www.hikashop.com/support/documentation/1...ize-the-display.html

The following user(s) said Thank You: Huub

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

  • Posts: 72
  • Thank you received: 3
11 years 2 months ago #123952

I know what you mean Xavier, but the strange thing is ...i didnt edit the views, so there is nothing to copy, but still the old and new way the product-details are presented are totally different.

The frontend CSS file is on both the same.

So now i am not sure where to look and how to solve this.

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

  • Posts: 72
  • Thank you received: 3
11 years 2 months ago #123955

I checked the sourcecode of both the old and new product-details pages and they are the same, so they are using the same view. But the strange thing is that in the new site the items in the Hikashop_product_right_part are still places below the image.

It is especially strange since on this new site i have no sidebars yet, so the available space is far more then on the old site.

I can't figure out why and how to solve this :(

Last edit: 11 years 2 months ago by Huub.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #123956

The problem certainly come from the css, you have to set a width on the left part and the right part, for example "47%".

Have you replaced the frontend css file in hikashop by the old one, and your template css files by the old ones ?

The following user(s) said Thank You: Huub

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

  • Posts: 72
  • Thank you received: 3
11 years 2 months ago #123961

The views were on both the old and new site the default ones from the latest Hikashop version.
There were on both no customisations.

The custom front-end CSS file was exactly the same on both sites.

Now the weird part .....
-the new site showed the thumbnails just as big as the normal picture so i had to add some CSS to the new site to solve that, while it worked fine in the old site
- the product_left part was in the old site set for 50% and that worked well

All i did now was change the product left and right part to each 48% and suddenly it all shows as it should :)

Thanks for all your help Xavier! Your help managed to turn a big smile on my face :)

Oh one little questions remains ...... the inputboxes on the new site are about double as high as they were and should be ....how can i set there height?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #123997

You can change the height of the input with a simple css property.

.yourclass input{ height: 12px;}

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

Time to create page: 0.081 seconds
Powered by Kunena Forum