Custom field in Hikashop PDF plugin invoice

  • Posts: 344
  • Thank you received: 3
9 years 5 months ago #222188

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.5

have created a custom field/text area..
(merknad = special note field)

Coulmn name: merknad
Label: merknad
Table: address

...which the user can fill out when he fills out name an adress etc.

I am using the Hikashop PDF invoice plugin.

I need the this note field to be displayed in the PDF invoices at the bottom. Because If the user has a special request/message when he buys my items I can then read it directly off the printed PDF invoice.

Any advice on how to do this ?

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

  • Posts: 83827
  • Thank you received: 13571
  • MODERATOR
9 years 5 months ago #222208

Hi,

Go in the menu Display>Views and edit the file "address_template" for both your frontend and backend templates and add the tag corresponding to your custom field and it will add it to the invoice.

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

  • Posts: 344
  • Thank you received: 3
9 years 5 months ago #222319

Tnx for reply.
This works fine, and my note custom field is displaying fine just below customer phone number.
But how can I move the custom note field to the bottom of the invoice. Please see attach image to see what I mean.




Any advice ?

Attachments:

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

  • Posts: 83827
  • Thank you received: 13571
  • MODERATOR
9 years 5 months ago #222335

Hi,

Then why create a custom address field (which is supposed to display in the address), instead of a custom order field ?
The custom order field will display where you want and can also be filled in by the customer during the checkout.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum