[Solved]Costum Fields
- CMS-Buttler
-
Topic Author
- Offline
How can i show a costum field ind table view of a product catagory?
I have disabled the pictures.
And instead of showing the pictrues i now want to show a costum field.
Maybe this is possible?
Thx
Andreas
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
But nothing changed in the frontend
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
when i active or deactive the link to product option it changes.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
in product view it is working fine.
i need the costum field in listing_table instead of the thumbnails
thx
Andreas
Please Log in or Create an account to join the conversation.
If it's a custom field of the table "product", you will have to edit that view file in order to display the custom field yourself. It's quite easy:
echo $this->row->CUSTOM_FIELD;
where CUSTOM_FIELD is the column name of your custom product field.
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
I have two problems
Fot your first solution i need a Costum field type "item"
I have this but i cant import.
If the field ist type product it wors fine.
For the second solution.
I am not able to get a new column for the costum field un front of the name column.
Maybe you could help
Thx
Andreas
Please Log in or Create an account to join the conversation.
So there is no meaning in importing a value into such custom field since it's the customers who enter data for it, not you.
I didn't understand your second problem. Could you explain more what you want to do ? Maybe with a screenshot ?
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
On the Screenshot there is the columns "Produkt"
Before this column i want to have the costum field column.
The heading of this column should be "Artikelnummer"
In this column the artikelnummer field from costum fields should be displayed.
Thx
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
echo $this->row->produktnummer;
Make sure that you enter something for it in the product. You can use the column produktnummer in your CSV in order to add data to it.
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
but how do i add another column in the table list
cant find out myself
Please Log in or Create an account to join the conversation.
<th class="hikashop_product_name title" align="center">
<?php echo JText::_( 'PRODUCT' );?>
</th>
Just do the same after it:
<th class="hikashop_product_name title" align="center">
<?php echo JText::_( 'My column' );?>
</th>
Then, in the same manner, you see the display of the product name from:
<td class="hikashop_product_name_row">
<span class="hikashop_product_name">
to:
</span>
</td>
Just add the same code after it with the line of code I gave you in my previous post.
It's more about HTML than coding...
Please Log in or Create an account to join the conversation.
- CMS-Buttler
-
Topic Author
- Offline
you saved may day
Please Log in or Create an account to join the conversation.