Category name not populating in Product new/edit

  • Posts: 33
  • Thank you received: 0
11 years 6 months ago #71929

Hi,

I have imported from VM and all is good and ready to go and I just noticed that the Category Name field is not populated in the Product new/edit page even though the Category ID # is there and correct. I need help with this.

Thanks for such a great product!
Helen


Pretty Good Designs | prettygooddesigns.com | Hey, that's pretty good!
Attachments:

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

  • Posts: 81642
  • Thank you received: 13088
  • MODERATOR
11 years 6 months ago #71975

Hi,

Please turn on the debug mode and the error reporting option of the joomla configuration and try again. That might display some errors.

Do these categories have a name in the categories listing ?

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

  • Posts: 33
  • Thank you received: 0
11 years 6 months ago #72071

All categories have a name for each id#.

In debug, Hikashop > Products fails to load with the following error:


500 - An error has occurred.

JDatabaseMySQLi::query: 1038 - Out of sort memory; increase server sort buffer size SQL=SELECT DISTINCT b.* FROM #__hikashop_category AS a LEFT JOIN #__hikashop_category AS b ON a.category_left >= b.category_left WHERE b.category_right >= a.category_right AND a.category_id=2 ORDER BY b.category_left


Pretty Good Designs | prettygooddesigns.com | Hey, that's pretty good!

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

  • Posts: 81642
  • Thank you received: 13088
  • MODERATOR
11 years 6 months ago #72312

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

  • Posts: 33
  • Thank you received: 0
11 years 6 months ago #72319

That does it. But one question. Can we have it not show the very beginning of the string? not show the words "product category/"



Pretty Good Designs | prettygooddesigns.com | Hey, that's pretty good!
Attachments:
Last edit: 11 years 6 months ago by helenbn.

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

  • Posts: 81642
  • Thank you received: 13088
  • MODERATOR
11 years 6 months ago #72493

You can edit the file "category" of the view "product" for your back end template via the menu Display->Views and add the line:
array_shift($parents);
after the line:
$parents = $class->getParents($row->category_id);

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

  • Posts: 33
  • Thank you received: 0
11 years 6 months ago #72529

I do not have a file "category" in the view "product" in the back end. So I located administrator > components > com_hikashop > views > product > tmpl > category.php and inserted it after line 41 but that did not change anything.


Pretty Good Designs | prettygooddesigns.com | Hey, that's pretty good!

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

  • Posts: 81642
  • Thank you received: 13088
  • MODERATOR
11 years 6 months ago #72816

It's not possible that you don't have it. Please double check

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

Time to create page: 0.078 seconds
Powered by Kunena Forum