- Posts: 6
- Thank you received: 0
Textarea (additional field) on Product Page
- Bettina
- Topic Author
- Offline
- New Member
-
Less
More
6 years 2 weeks ago #127143
by Bettina
Textarea (additional field) on Product Page was created by Bettina
Hi,
I'd need a textarea (field) beside the picture of the product page.
We got a lot of different informations we need to display on the right side of the picture.
We don't want to fill out one field after the other but just one textarea field.
I tried to add a textarea in the custom fields xml (fields.xml) like this:
<config>
<fields name="params">
<fieldset name="basic">
<field name="field_upc" type="text" label="Custom Field 1 (UPC)" size="50" description="Universal Product Code"></field>
<field name="field_ean" type="text" label="Custom Field 2 (EAN)" size="50" description="European Article Number"></field>
<field name="field_ispn" type="text" label="Custom Field 3 (ISPN)" size="50" description="International Standard Book Number"></field>
<field name="field_mpn" type="text" label="Custom Field 4 (MPN)" size="50" description="Manufacturer Part Number"></field>
<field name="field_location" type="text" label="Custom Field 5 (Location)" size="50" description="Location of Product"></field>
<textarea id="text" name="text" cols="35" rows="4"></textarea>
</fieldset>
</fields>
</config>
But after I added the line and saved the file (no matter via ftp direct editing or via administration in joomla) all the rest after my additional line has been deleted and it looked like this:
<config>
<fields name="params">
<fieldset name="basic">
<field name="field_upc" type="text" label="Custom Field 1 (UPC)" size="50" description="Universal Product Code"></field>
<field name="field_ean" type="text" label="Custom Field 2 (EAN)" size="50" description="European Article Number"></field>
<field name="field_ispn" type="text" label="Custom Field 3 (ISPN)" size="50" description="International Standard Book Number"></field>
<field name="field_mpn" type="text" label="Custom Field 4 (MPN)" size="50" description="Manufacturer Part Number"></field>
<field name="field_location" type="text" label="Custom Field 5 (Location)" size="50" description="Location of Product"></field>
<textarea id="text" name="text" cols="35" rows="4"></textarea>
of course it crashes the shop.
So how could I realize that?
Another way would be to display the default short description.
But I can't manage to show the content of the short description on the product detail page, right beside the picture.
I tried to explain it at the attached screenshot too.
Thank you for your help in advance.
Tina
I'd need a textarea (field) beside the picture of the product page.
We got a lot of different informations we need to display on the right side of the picture.
We don't want to fill out one field after the other but just one textarea field.
I tried to add a textarea in the custom fields xml (fields.xml) like this:
<config>
<fields name="params">
<fieldset name="basic">
<field name="field_upc" type="text" label="Custom Field 1 (UPC)" size="50" description="Universal Product Code"></field>
<field name="field_ean" type="text" label="Custom Field 2 (EAN)" size="50" description="European Article Number"></field>
<field name="field_ispn" type="text" label="Custom Field 3 (ISPN)" size="50" description="International Standard Book Number"></field>
<field name="field_mpn" type="text" label="Custom Field 4 (MPN)" size="50" description="Manufacturer Part Number"></field>
<field name="field_location" type="text" label="Custom Field 5 (Location)" size="50" description="Location of Product"></field>
<textarea id="text" name="text" cols="35" rows="4"></textarea>
</fieldset>
</fields>
</config>
But after I added the line and saved the file (no matter via ftp direct editing or via administration in joomla) all the rest after my additional line has been deleted and it looked like this:
<config>
<fields name="params">
<fieldset name="basic">
<field name="field_upc" type="text" label="Custom Field 1 (UPC)" size="50" description="Universal Product Code"></field>
<field name="field_ean" type="text" label="Custom Field 2 (EAN)" size="50" description="European Article Number"></field>
<field name="field_ispn" type="text" label="Custom Field 3 (ISPN)" size="50" description="International Standard Book Number"></field>
<field name="field_mpn" type="text" label="Custom Field 4 (MPN)" size="50" description="Manufacturer Part Number"></field>
<field name="field_location" type="text" label="Custom Field 5 (Location)" size="50" description="Location of Product"></field>
<textarea id="text" name="text" cols="35" rows="4"></textarea>
of course it crashes the shop.
So how could I realize that?
Another way would be to display the default short description.
But I can't manage to show the content of the short description on the product detail page, right beside the picture.
I tried to explain it at the attached screenshot too.
Thank you for your help in advance.
Tina
- Giang Dinh Truong
-
- Offline
- Administrator
-
6 years 2 weeks ago #127184
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Textarea (additional field) on Product Page
Hello Tina,
Please following up the ticket system to get my supports.
Sincerely, Giang
Please following up the ticket system to get my supports.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.