- Posts: 31
- Thank you received: 3
Add vendor logo in invoice
3 years 10 months ago #346820
by _Pascal_
Add vendor logo in invoice was created by _Pascal_
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
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.
3 years 10 months ago #346824
by Jerome
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.
Replied by Jerome on topic Add vendor logo in invoice
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,
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.
3 years 10 months ago #346849
by _Pascal_
Replied by _Pascal_ on topic Add vendor logo in invoice
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
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.
3 years 10 months ago #346899
by Jerome
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.
Replied by Jerome on topic Add vendor logo in invoice
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,
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.173 seconds