Show Vendor address on invoice / order confirmation

  • Posts: 324
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
3 years 6 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: 26156
  • Thank you received: 4028
  • MODERATOR
3 years 6 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.058 seconds
Powered by Kunena Forum