Add vendor logo in invoice

  • Posts: 31
  • Thank you received: 3
2 years 4 weeks ago #346820

Hi

There is no vendor logo in invoice

As Hikashop seems to work on it since v4.6.2, could you also integrate it in a future release ?

Thanks

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
2 years 3 weeks ago #346824

Hello,

Which invoice are you talking about exactly ?
(3 different ways in the front-end, 2 in the backend and I suppose that I forgot some other possibilities)

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: 31
  • Thank you received: 3
2 years 3 weeks ago #346849

Thanks a lot for your reply

I was talking about the front view : index.php?option=com_hikamarket&ctrl=order&task=show
with the "invoice button" (index.php?option=com_hikamarket&ctrl=order&task=invoice&type=full&cid=xx&Itemid=xx&tmpl=component)

I think it is in the file ordermarket/invoice.php

Best regards

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

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
2 years 3 weeks ago #346899

Hello,

If you just want to display the image for vendors and not the main vendor, you will have to add a condition to check the vendor ID ; just like it's done for the address display.

Regarding the way to display a vendor image, the best is to use the HikaShop image helper.
You can find various examples in HikaShop or HikaMarket.
Maybe the most suitable would be in the "vendormarket / view.html.php" file ; for the display of the vendor page.
That view is reading a lot of parameters (from the HikaMarket config) in order to set-up the getThumbnail call.

The usage of getThumbnail is almost mandatory because you want to have some consistency in the vendor images ; so the invoice would have always the same "render" even if one vendor uploaded a bigger image than the others.

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.

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum