Show Vendor address on invoice / order confirmation

  • Posts: 299
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
2 years 10 months ago #332438

Hi,

I need to show the vendor address on the invoice / order confirmation email.

How do I do that? A link to the documentation please.

Thanks.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
2 years 10 months ago #332462

Hello,

www.hikashop.com/forum/23-market-how-to/...-invoice.html#176622

The order that the customer is seeing is the store order ; it contains all products of his order and it is the order that is affiliate to your main vendor.
The vendor have a special "sub sale" order containing only his products. But the customer does not have a direct access to this order/invoice.

If you want to customize the order display in the front end you have to be sure that the customer could not have several vendors (your main vendor included).
Displaying the vendor information in the invoice means that there is only this vendor and this vendor is making the transaction (the customer is paying directly the vendor).


In latest versions, HikaMarket does override automatically the content of the "store_address" for the HikaShop custom invoice display ; that override is done when you have a cart limitation for vendors, automatically.
You can find the code in the "helper/shop/order_backend.php" file.
The part for that override starts with
if(!hikamarket::isAdmin() && $layout == 'show') {

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.057 seconds
Powered by Kunena Forum