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

#   Ordering custom fields

##

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 7 months ago [\#148563](#148563) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#148563 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")* was created by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")*

Hi.
In the product page, is there a way to chose the order in which custom fields appear?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#148567](#148567) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#148567 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

Hi,
Note that you'll be able to do that through "Hikashop-&gt;Display-&gt;Custom Fields" by using the options of the "Order" column.

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

- **[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")**
- [![markespositi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31078-markespositi "View markespositi's Profile") Topic Author
- [ Offline](/forum/user/31078-markespositi)

Less More

- Posts: 43
- Thank you received: 1
-
-

12 years 7 months ago [\#148648](#148648) by [markespositi](/forum/user/31078-markespositi "View markespositi's Profile")  Replied by *[markespositi](/forum/user/31078-markespositi "View markespositi's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#148648 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

Yes, that's true.
However, suppose to have the following:
- product P1 assigned to category C1
- product P2 assigned to category C2
- custom field CF1 assigned to category C1 and C2
- custom field CF2 assigned to category C1 and C2
- in the product page P1 the two custom fileds CF1 and CF2 will be ordered in the same way, even if I would like to have different ordering. For example CF1 and then CF2 in the product page P1; CF2 and CF1 in the product page P2

One suggestion, for future Hika version, could be to add a specific field as in the following image:
[ ![hfb0fb9a.jpg](/forum/attachment/16078) ](/forum/attachment/16078 "hfb0fb9a.jpg")

- [ ![hfb0fb9a.jpg](/forum/attachment/16078) ](/forum/attachment/16078 "hfb0fb9a.jpg") [ ](/forum/attachment/16078?download=1 "hfb0fb9a.jpg")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#148666](#148666) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#148666 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

Hi,

I understand your point of view but the "order" column in this particular place won't be understandable.
User will think that the "order" is the ordering for the categories, to change the sorting of the categories in this particular listing.
It won't be understandable that it is the sorting of the custom field depending on the category..
And more than that, I don't think it will be something easy to configure because you won't be able to see the sorting for a specific category.. And the global sorting value might be wrong in the custom field listing view.
The interface will be too complicated and not very user friendly.

If you want to change the order of the custom field depending a category, I will recommend you to use a view override for the product page. So you can change the ordering of the custom fields before their display.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[solia](/forum/user/10273-solia "View solia's Profile")**
- [![solia's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10273.jpg)](/forum/user/10273-solia "View solia's Profile")
- [ Offline](/forum/user/10273-solia)

Less More

- Posts: 30
- Thank you received: 2
-
-

12 years 2 weeks ago [\#175448](#175448) by [solia](/forum/user/10273-solia "View solia's Profile")  Replied by *[solia](/forum/user/10273-solia "View solia's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#175448 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

Hi Mohammad: I have the same question regarding ordering of custom fields. If you will note this link on one of my client's sites: [ www.alifinstitute.org/index.php/contact/...-diamond-sponsorship](http://www.alifinstitute.org/index.php/contact/payments-for-alif-events/product/54-diamond-sponsorship)
The client is selling tickets to a dinner. You will see that we added a custom field to the item, in which the purchaser can designate what they want for dinner. I would like the custom field to appear AFTER the product description on the linked page.
Can you guide me? With kind regards, Nadine.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 weeks ago [\#175462](#175462) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#175462 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

Hi,

To place the custom fields after the description you have to edit the view "product / show_default" and move the custom fields part after the description part, so move: Code:

if (!$this-&gt;params-&gt;get('catalogue') &amp;&amp; ($this-&gt;config-&gt;get('display_add_to_cart_for_free_products') &#124;&#124; !empty ($this-&gt;element-&gt;prices))) { if (!empty ($this-&gt;itemFields)) { $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } //LAYOUT show_block_custom_item $this-&gt;setLayout('show_block_custom_item'); echo $this-&gt;loadTemplate(); } }

After: Code:

echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description));

The following user(s) said Thank You: [solia](/forum/user/10273-solia "View solia's Profile")

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

- **[solia](/forum/user/10273-solia "View solia's Profile")**
- [![solia's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10273.jpg)](/forum/user/10273-solia "View solia's Profile")
- [ Offline](/forum/user/10273-solia)

Less More

- Posts: 30
- Thank you received: 2
-
-

12 years 2 weeks ago [\#175554](#175554) by [solia](/forum/user/10273-solia "View solia's Profile")  Replied by *[solia](/forum/user/10273-solia "View solia's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#175554 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

I answered my own question, and edited the "show_default" view. ![:)](/media/kunena/emoticons/8.png ":)")

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

- **[solia](/forum/user/10273-solia "View solia's Profile")**
- [![solia's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10273.jpg)](/forum/user/10273-solia "View solia's Profile")
- [ Offline](/forum/user/10273-solia)

Less More

- Posts: 30
- Thank you received: 2
-
-

12 years 2 weeks ago [\#175556](#175556) by [solia](/forum/user/10273-solia "View solia's Profile")  Replied by *[solia](/forum/user/10273-solia "View solia's Profile")* on topic *[Ordering custom fields](/forum/26-product-category-display/866696-ordering-custom-fields#175556 "Hi. In the product page, is there a way to chose the order in which custom fields appear?")*

Thank you very much Xavier! I had just figured that out as you posted the answer. All is well. You guys are GREAT.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjY2OTYtb3JkZXJpbmctY3VzdG9tLWZpZWxkcz90bXBsPW1hcmtkb3du) 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.137 seconds

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

[](#top)
