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

#   Hikashop Layout with custom fields

##

- **[neil@sm.co.za](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile")**
- [![neil@sm.co.za's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile") Topic Author
- [ Offline](/forum/user/7145-neil-sm-co-za)

Less More

- Posts: 28
- Thank you received: 0
-
-

14 years 6 months ago [\#48976](#48976) by [neil@sm.co.za](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile")  *[Hikashop Layout with custom fields](/forum/2-general-talk-about-hikashop/48976-hikashop-layout-with-custom-fields#48976 "I am Building a Real estate website with Hikashop business. I would like to use the custom fields but I cannot het the layout right. I did look for a tutorial but could not find it. Is the following lay out with custom fields possible is Hikashop? The bottom layout is the one i would like to have. The top layout is the current layout.  Thanks Neil  the")* was created by *[neil@sm.co.za](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile")*

I am Building a Real estate website with Hikashop business. I would like to use the custom fields but I cannot het the layout right.
I did look for a tutorial but could not find it. Is the following lay out with custom fields possible is Hikashop?
The bottom layout is the one i would like to have.
The top layout is the current layout.

Thanks Neil

the
[ ![dip-site-produc-page.jpg](/forum/attachment/3733) ](/forum/attachment/3733 "...roduc-page.jpg")

- [ ![dip-site-produc-page.jpg](/forum/attachment/3733) ](/forum/attachment/3733 "...roduc-page.jpg") [ ](/forum/attachment/3733?download=1 "...roduc-page.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ4OTc2LWhpa2FzaG9wLWxheW91dC13aXRoLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) 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: 86320
- Thank you received: 14279
-
-

14 years 6 months ago [\#49050](#49050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Hikashop Layout with custom fields](/forum/2-general-talk-about-hikashop/48976-hikashop-layout-with-custom-fields#49050 "I am Building a Real estate website with Hikashop business. I would like to use the custom fields but I cannot het the layout right. I did look for a tutorial but could not find it. Is the following lay out with custom fields possible is Hikashop? The bottom layout is the one i would like to have. The top layout is the current layout.  Thanks Neil  the")*

It's possible yes, but you will have to change the code of the product view files.
The custom fields are displayed by the file "show_block_custom_main" which is displayed inside the file "show_default" where the different elements of the product page are displayed.
You can edit these view files via the menu Display-&gt;Views.

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

- **[neil@sm.co.za](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile")**
- [![neil@sm.co.za's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile") Topic Author
- [ Offline](/forum/user/7145-neil-sm-co-za)

Less More

- Posts: 28
- Thank you received: 0
-
-

14 years 5 months ago [\#49334](#49334) by [neil@sm.co.za](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile")  Replied by *[neil@sm.co.za](/forum/user/7145-neil-sm-co-za "View neil@sm.co.za's Profile")* on topic *[Re: Hikashop Layout with custom fields](/forum/2-general-talk-about-hikashop/48976-hikashop-layout-with-custom-fields#49334 "I am Building a Real estate website with Hikashop business. I would like to use the custom fields but I cannot het the layout right. I did look for a tutorial but could not find it. Is the following lay out with custom fields possible is Hikashop? The bottom layout is the one i would like to have. The top layout is the current layout.  Thanks Neil  the")*

Hi Nicolas,

I had a look at the code on the show_default and show_block_custom_main files. Unfortunately I am not a php developer myself and although I'm quite familiar with HTML and CSS - I'm not able to figure it out. My first question is how do I split the Specifications section with my custom fields in two or will I have to create two different types of custom fields? Second question, if/now that I'm able to split my custom fields into two sections how do I now move these around with CSS? Can you just send me an example or two?

Highly appreciated!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ4OTc2LWhpa2FzaG9wLWxheW91dC13aXRoLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) 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: 86320
- Thank you received: 14279
-
-

14 years 5 months ago [\#49399](#49399) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Hikashop Layout with custom fields](/forum/2-general-talk-about-hikashop/48976-hikashop-layout-with-custom-fields#49399 "I am Building a Real estate website with Hikashop business. I would like to use the custom fields but I cannot het the layout right. I did look for a tutorial but could not find it. Is the following lay out with custom fields possible is Hikashop? The bottom layout is the one i would like to have. The top layout is the current layout.  Thanks Neil  the")*

the simplest will be to copy/paste the code from show_block_custom_main to show_default and then add a counter in the foreach like that:
$i=0;
foreach(...){
$i++;
if($i&gt;10 continue;
....
}

on our foreach, you use a &lt; and on the other you use a &gt;

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

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

[](#top)
