Import invisible?

  • Posts: 40
  • Thank you received: 1
11 years 5 months ago #105541

I recently completed a website which included HikaShop e-commerce . . . and then an 'administrative error' by my web host resulted in the deletion of my entire account! I have begun the rebuild (with a new web host!) and have imported a partial Hika database from the original site. The products and categories are set up much as before and the Joomla side is up and running - but I can't get the products to display on the site front end.

I have a category listing which is displayed by clicking a menu button. Clicking on any of the categories should display all the products in that category - instead it shows only the category 'description'. I have also set up a 'hidden' menu (for convenience, temporarily displaying in the right-hand sidebar), but clicking on a category displays only the list 'Title' with no products, just a 'search item not found' error message. It's almost as if Hika cannot 'see' the products I've imported and so cannot list them. Have I done something wrong, or missed something in the import process? Any ideas?

Thank you.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #105566

Hi,

Can you see the products in Backend ?
You probably have some problems regarding the links between the products and the categories, (which probably have a different id than before).

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

  • Posts: 40
  • Thank you received: 1
11 years 5 months ago #105585

Yes, all the products are visible and accessible in the backend, and all products seem to be listed under their correct categories. I can't, however, see an ID number for each of the products - can this be rectified manually? Or am I looking in the wrong place?

This is something of a worry since I am about to take on a project which entails the migration of thousands of products in hundreds of categories from an existing Hika installation to a new Hika site. Not encouraging if I can't migrate a hundred or so in seven categories!

This is my own fault in the import process :unsure: , but what have I done incorrectly? Is there specific documentation available to explain the process?

Many thanks.

Last edit: 11 years 5 months ago by badcoder.

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

  • Posts: 82759
  • Thank you received: 13346
  • MODERATOR
11 years 5 months ago #105636

I can't, however, see an ID number for each of the products

I don't see what you're talking about.
Could you give more information on that ? A screenshot maybe as well ?

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

  • Posts: 40
  • Thank you received: 1
11 years 5 months ago #105669

Sorry, my mistake :blush: , no product IDs, I misunderstood what Xavier was saying. After the data was imported, the product categories seemed to be set up correctly, (categories.jpg attached) and the products were correctly displayed in their categories (products.jpg). Not all categories were populated, since the data imported was from an earlier backup.

There is a category list on the front end (categorymenu.jpg attached) which is accessed from the 'Media Types We Stock' button in the left hand navigation menu. Clicking an item in this list, eg. '45rpm Singles', results in the display of the category description field (categorydescription.jpg) from the top of the product list - but no products.

I have set up a 'hidden' menu, for easy temporary access, displayed in the right hand column (hiddenmenu.jpg). Clicking an item in this list, eg. '45rpm Singles', results in the display of the category 'Title' and 3 error messages - but again, no products (categorytitle+message.jpg). The error messages displayed imply that Hika cannot find any items in the category selected, but they are visible in the backend listing.

How can I 'reconnect' the product listings so that they display under the correct categories in the site front end?

Thanks.

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

  • Posts: 82759
  • Thank you received: 13346
  • MODERATOR
11 years 5 months ago #105809

There is no such products not found message in HikaShop actually so I'm a bit surprised.

Normally, in such cases, I would say that the options of your menu, or the options of the associated module of your menu are not correct. But with that error message, it might be something else.
In any case, I will need more information on these menus/modules to help you.
It would be great if you could give links to these pages and screenshots of the Hikashop options of these menus/modules.

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

  • Posts: 40
  • Thank you received: 1
11 years 5 months ago #107855

There is no such products not found message in HikaShop actually so I'm a bit surprised.


That message is my text, placed (as suggested by Hika Support) in the View - products/listing.php, as below:
<?php }
$html = ob_get_clean();
if(!empty($html)){echo 'Sorry, no products corresponding to your search were found.';}else{ ?>

Otherwise the page is left completely empty whenever a search returns no results. I included that screenshot (maincol.jpg) to show that the product listings are not displaying on the front end after the category link is activated.

I have made changes to the Hika settings to try to establish the category links and enable the product listings to display on the front end - I have added new products to the imported listing, but still no display on front end. I have created a new category, 'Miscellaneous', in case it was the imported categories that were causing the problem, and added a new product to that category - still no display front end.

I have attached some more screenshots of the Hika back end - product/category menus, modules etc., plus the front end category list. Hope these are of some help to you.

I have also PMed, reference this post, the home page link and the backend access details in case you want to use them. The product links by category are on a hidden menu but, as I said before, I have put that menu in the right-hand column for easier access. The category listing is in the left hand column under the heading 'Media Types We Stock'. That displays as required, but the category title links to the product listings are not working.

Thank you.

Last edit: 11 years 5 months ago by badcoder.

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

  • Posts: 82759
  • Thank you received: 13346
  • MODERATOR
11 years 5 months ago #108088

Hi,

The code modification was wrong.

It should have been:
<?php }
$html = ob_get_clean();
if(empty($html)){echo 'Sorry, no products corresponding to your search were found.';}else{ ?>

Last edit: 11 years 5 months ago by nicolas.
The following user(s) said Thank You: badcoder

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

  • Posts: 40
  • Thank you received: 1
11 years 5 months ago #108159

Thank you, nicolas! :blush:

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

Time to create page: 0.080 seconds
Powered by Kunena Forum