attribute type text area

Phoca Cart - complex e-commerce extension
vitoricciardi
Phoca Member
Phoca Member
Posts: 32
Joined: 14 Oct 2020, 17:45

attribute type text area

Post by vitoricciardi » 30 Apr 2021, 18:06

Hi
I need a text area for customers to enter notes on the item they buy, i use attribute with type "text area" so customer can add text, I see it on checkout but in the order mail I see title's attribute but not the customer text. Where is my mistake?
Thank You

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44090
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: attribute type text area

Post by Jan » 01 May 2021, 11:42

Hi, if you set the textarea attribute, user can set it in shop:
Image

It is displayed in checkout:
Image

and in administration in order:
Image

but not in documents like invoice, etc.
Image

Because invoice is actually a public document, displayed e.g. officials, accounting firms, etc. and the text area can include sensitive private information. So in fact such information should not be displayed in public official documents.

But if you need to display it, the easiest way to do is per customization - creating own override for following layout:
components\com_phocacart\layouts\order.php

Jan
If you find Phoca extensions useful, please support the project

vitoricciardi
Phoca Member
Phoca Member
Posts: 32
Joined: 14 Oct 2020, 17:45

Re: attribute type text area

Post by vitoricciardi » 05 May 2021, 15:22

I did it, thank you

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44090
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: attribute type text area

Post by Jan » 07 May 2021, 11:46

Ok
If you find Phoca extensions useful, please support the project

Post Reply