Product Thumbs in Backend

  • Posts: 882
  • Thank you received: 11
8 years 9 months ago #122350

Please add a thumb of the products in the backend.

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

  • Posts: 75859
  • Thank you received: 11839
  • MODERATOR
8 years 9 months ago #122380

Thank you for your feedback. We'll take your request into consideration.

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

  • Posts: 31
  • Thank you received: 1
8 years 8 months ago #126291

Nice idea taken from JoomGallery or the like!

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

  • Posts: 882
  • Thank you received: 11
8 years 6 months ago #136431

Is this in the latest version: 2.2.3 ?

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

  • Posts: 25329
  • Thank you received: 3919
  • MODERATOR
8 years 6 months ago #136467

Hi,

Here the changelog of HikaShop : www.hikashop.com/support/documentation/5...ashop-changelog.html

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: 882
  • Thank you received: 11
8 years 6 months ago #136497

I guess that's a no :(

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

  • Posts: 25329
  • Thank you received: 3919
  • MODERATOR
8 years 6 months ago #136499

Hi,

If you can provide me more details about "where" we should add the product thumbs in the backend. I can see to implement it faster.

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: 882
  • Thank you received: 11
8 years 6 months ago #136502

This would be where you add the products for your website. Currently it has the following columns:

Name
Code
Price
Quantity
Order
Published
ID

So a thumb column would be nice and would make it easier/faster to identify the product.

Thank you!!!

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

  • Posts: 25329
  • Thank you received: 3919
  • MODERATOR
8 years 6 months ago #136533

Hi,

Okay, you are talking about the listing.
It is something that I have already add for the next HikaMarket release, I guess that I can see to port my code into HikaShop.

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: 882
  • Thank you received: 11
8 years 6 months ago #136548

That would be great as it will help to easily identify a product. Thanks!!

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

  • Posts: 2456
  • Thank you received: 59
  • Hikashop Business
8 years 5 months ago #138207

+1

actually I add it in that way into administrator/templates/MYTPL/html/com_hikashop/product/listing.php

$ids = array();
foreach($this->rows as $row) {
$ids[] = $row->product_id;
}
$prodids = implode(',', $ids);
$qico = 'SELECT file_ref_id,file_path FROM #__hikashop_file WHERE file_ordering =0  AND file_type = "product"  AND file_ref_id IN ';
$db = JFactory::getDBO();
$db->setQuery($qico . '(' . $prodids . ')' );
$ret = $db->loadObjectList('file_ref_id');
foreach($this->rows as $k => $row) {
 if(isset($ret[$row->product_id]) ) {
   $this->rows[$k]->icone = $ret[$row->product_id]->file_path;
   $this->rows[$k]->icone_id = $ret[$row->product_id]->file_ref_id;
 }
}

and you get it with $row->icone ( + your path)

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

  • Posts: 882
  • Thank you received: 11
7 years 3 months ago #193685

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6

How can I adjust the size of the thumb in the backend to make them a bit bigger?

Thanks!

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

  • Posts: 75859
  • Thank you received: 11839
  • MODERATOR
7 years 3 months ago #193723

Hi,

You would have to edit the file "listing" of the view "product" for your backend template via the menu Display>Views and change the line:

$img = $this->image->getThumbnail(@$row->file_path, array('width' => 50, 'height' => 50), $image_options);

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

  • Posts: 882
  • Thank you received: 11
7 years 3 months ago #193883

Thank you!

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

Time to create page: 0.093 seconds
Powered by Kunena Forum