[Skip to main content](#vessel-content)

#   how Customize Custom field's HTML output

##

- **[reza21681](/forum/user/32404-reza21681 "View reza21681's Profile")**
- [![reza21681's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32404.jpg)](/forum/user/32404-reza21681 "View reza21681's Profile") Topic Author
- [ Offline](/forum/user/32404-reza21681)

Less More

- Posts: 10
- Thank you received: 1
-
-

10 years 4 months ago -  10 years 4 months ago [\#245557](#245557) by [reza21681](/forum/user/32404-reza21681 "View reza21681's Profile")  *[how Customize Custom field's HTML output](/forum/26-product-category-display/885584-how-customize-custom-fields-html-output#245557 "-- HikaShop version -- : 2.5.0  Okay! I am so tired of searching over the forum! I add a custom field, with type of &quot;file&quot; in &quot;item&quot; table and it's the body of HTML output in the product listing page:  and I need to change the output to different format. I want to change the tag types (for example I don't want to use &quot;span&quot;) and I want to change the order of output (for example I want to echo &quot;hikashop&#95;custom&#95;file&#95;upload&#95;message&quot; at first)  can you please guide me. thanks")* was created by *[reza21681](/forum/user/32404-reza21681 "View reza21681's Profile")*

-- HikaShop version -- : 2.5.0

Okay!
I am so tired of searching over the forum!
I add a custom field, with type of "file" in "item" table and it's the body of HTML output in the product listing page: Code:

&lt;!-- CUSTOM ITEM FIELDS --&gt; &lt;div id="hikashop_product_custom_item_info_for_product_113" class="hikashop_product_custom_item_info hikashop_product_listing_custom_item"&gt; &lt;table class="hikashop_product_custom_item_info_table hikashop_product_listing_custom_item_table" width="100%"&gt; &lt;tbody&gt;&lt;tr id="hikashop_item_upload_tasvir" class="hikashop_item_upload_tasvir_line"&gt; &lt;td class="key"&gt; &lt;span id="hikashop_product_custom_item_name_45_for_product_113" class="hikashop_product_custom_item_name"&gt;&lt;label for="upload_tasvir"&gt;Upload&lt;/label&gt;&lt;/span&gt; &lt;/td&gt; &lt;td&gt; &lt;span id="hikashop_product_custom_item_value_45_for_product_113" class="hikashop_product_custom_item_value"&gt;&lt;input class="inputbox hikashop_custom_file_upload_field" id="product_113_upload_tasvir" onchange="if ('function' == typeof window.hikashopToggleFields) { hikashopToggleFields(this.value,'upload_tasvir','item',0); }" name="item_upload_tasvir" value="" type="file"&gt;&lt;span class="hikashop_custom_file_upload_message"&gt;maximum is 50MB&lt;/span&gt; &lt;span class="hikashop_field_required"&gt;*&lt;/span&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt; &lt;!-- EO CUSTOM ITEM FIELDS --&gt;

and I need to change the output to different format.
I want to change the tag types (for example I don't want to use "span") and I want to change the order of output (for example I want to echo "hikashop_custom_file_upload_message" at first)

can you please guide me.
thanks

Last edit: 10 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODU1ODQtaG93LWN1c3RvbWl6ZS1jdXN0b20tZmllbGRzLWh0bWwtb3V0cHV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

10 years 4 months ago [\#245567](#245567) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how Customize Custom field's HTML output](/forum/26-product-category-display/885584-how-customize-custom-fields-html-output#245567 "-- HikaShop version -- : 2.5.0  Okay! I am so tired of searching over the forum! I add a custom field, with type of &quot;file&quot; in &quot;item&quot; table and it's the body of HTML output in the product listing page:  and I need to change the output to different format. I want to change the tag types (for example I don't want to use &quot;span&quot;) and I want to change the order of output (for example I want to echo &quot;hikashop&#95;custom&#95;file&#95;upload&#95;message&quot; at first)  can you please guide me. thanks")*

Hi,

The view file to edit depends on how you configured the settings of your menu item.
Supposing that you're using the "image and title" product layout for your listing, it's the file "listing_img_title" of the view "product" that you want to edit for your frontend template via the menu Display&gt;Views.
You can read more about the different view files here:
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODU1ODQtaG93LWN1c3RvbWl6ZS1jdXN0b20tZmllbGRzLWh0bWwtb3V0cHV0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
