Display Product Code/ID

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
12 years 3 months ago #59117

Hi there,

Is it possible to display the product code/ID with the product. Thanks!!

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 3 months ago #59169

Yes. Turn on the "show product code" option in the Display tab of the configuration.

The following user(s) said Thank You: MyWorld

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

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
12 years 3 months ago #59175

Thanks!!

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

  • Posts: 234
  • Thank you received: 4
12 years 3 weeks ago #71612

I'm sorry but I can't find it under the display tab.
System>Configuration>display

Cheers

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

  • Posts: 234
  • Thank you received: 4
12 years 3 weeks ago #71774
Attachments:

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 3 weeks ago #72113

It means that you're not using the latest version of HikaShop.
You would have to update.

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

  • Posts: 234
  • Thank you received: 4
12 years 3 weeks ago #72133

Now that is what I thought, but when I went to update it it had the following message.




But after trying to update it comes up with the following message.

Fatal error: Maximum execution time of 30 seconds exceeded in /home/fhlinux142/d/draganfly.co.uk/user/htdocs/libraries/joomla/filesystem/archive/zip.php on line 351

Thanks

Attachments:

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 2 weeks ago #72420

The error
Fatal error: Maximum execution time of 30 seconds exceeded in /home/fhlinux142/d/draganfly.co.uk/user/htdocs/libraries/joomla/filesystem/archive/zip.php on line 351
means that because of the restrictions on your webserver, Joomla didn't had enough time to extract the archive of HikaShop in order to install it. HikaShop is a big package.
Please follow the install via FTP and that will avoid the problem:
www.hikashop.com/en/support/documentatio...-to-install.html#ftp

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

  • Posts: 234
  • Thank you received: 4
12 years 2 weeks ago #72663

OOOooh I like the new version.

THANK YOU.

You have made my monday morning.

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

  • Posts: 234
  • Thank you received: 4
12 years 1 week ago #74511

Hello, how can I get the search to also display the product code? Also, is there an option so that the search will search for product code only?

Thanks
Iain

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 1 week ago #74623

In the hikashop search plugin options, you can select the columns on which you want the search.
There is no option to display the product code in the search results.
You would have to edit the file plugins/search/hikashop_products/hikashop_products.php and change the line:
$select = ' a.product_id AS id, a.product_name, a.product_created AS created , a.product_description, "'.$new_page.'" AS browsernav';

to something like that:
$select = ' a.product_id AS id, a.product_code AS product_name, a.product_created AS created , a.product_description, "'.$new_page.'" AS browsernav';

so that it displays the code instead of the name.

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

  • Posts: 234
  • Thank you received: 4
12 years 1 week ago #74729

Hello

Thank you for that but is there a way I can show Product code and also description. I don't really care about created date. I have tried changing

a.product_created AS created
to
a.product_code AS created

but it really wasn't happy.

If there is a way to show Code as well as description and hide created date.

Yours
Iain

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 5 days ago #75630

Unfortunately, the joomla search is quite limited in display options :/
With the modification I gave you in the plugin, we're already reaching the limits.

That would require to modify the display view of the search component of joomla.

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

  • Posts: 234
  • Thank you received: 4
12 years 4 days ago #75932

Nicolas

Thank you for that, I was looking into Search Modules. Would there be one that you would suggest? Would this fix the problem? I was thinking of Universal Ajax search.

offlajn.com/universal-ajax-live-search/u...rch/flypage.tpl.html

Many Thanks

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 3 days ago #76082

You could try that module yes. There is a plugin for the integration between that module and HikaShop that you can get here:
offlajn.com/blog/entry/2012/02/10/improv...r-joomla-151725.html

Otherwise, it would require to use a HikaShop filter module since the results of the filters of HikaShop are displayed as a normal products listing:
www.hikashop.com/en/support/documentatio...-filter-listing.html

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

Time to create page: 0.067 seconds
Powered by Kunena Forum