Change the way the product appears on invoices

  • Posts: 73
  • Thank you received: 0
11 years 3 months ago #114409

Now the word ok appears in the shipping address box

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

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #114455

Then try to replace the echo 'ok'; by a var_dump($this->element->); and tell us if you can see the information you are looking for.
Please also check that you indeed have a shipping address specified for this order because it should work with the code Nicolas gave you.

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

  • Posts: 73
  • Thank you received: 0
11 years 1 month ago #123686

This still doesn't work.

I thought I would give up, and just print a packing slip instead. But that form doesn't work either. It just shows an empty Shipping Address box.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 1 month ago #123768

Hi,

What does not work ? Printing debugging information ?
We don't know what there is in your order, if the shipping address it not fill, does not contains data, it could be logical that nothing is printed but at this moment, we prefer displaying the billing address.

More than that, you can use the "shipping override" in shipping plugins, this override allow the plugin to change the shipping address.
If you activate the shipping override with no content. Well, the shipping address will contain, no content.
So at this moment the best is to remove the shipping override in the shipping method, or put some content into.

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: 73
  • Thank you received: 0
11 years 1 month ago #123898

The customer has filled in a billing address and a seperate shipping address.

All I want is for both of these addresses to be printed on the tax invoice OR the shipping address to be printed on the packing slip.

Could you PLEASE tell me how to rectify this, and stop telling me that it should be working, when I keep telling you it isn't.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 1 month ago #124017

Hi,

So, you can send ma an access to your store so I will be able to see exactly what is working and what' is not working.
The problem is that you are telling me that it is not working, and I trust you, but in my side, it is working.
You said you are not using any override and you didn't modify any file, so it should work like in the demo website for example.

At this moment, the best is that we see directly in your website, so you will be able to show that it is not working and we can see directly how to fix it.
I am sure that you understand that if we can't reproduce a problem in our side, we can't even fix it.

Kind 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.

Time to create page: 0.078 seconds
Powered by Kunena Forum