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

#   Change Hikashop layout and behaviour per category

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 3 days ago [\#178643](#178643) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  *[Change Hikashop layout and behaviour per category](/forum/26-product-category-display/872852-change-hikashop-layout-and-behaviour-per-category#178643 "I have a site with Hikashop that sells courses and physical items. I want to customize Courses a bit by adding a 'Starting Date' custom field and change 'Add to cart' button to 'Book it Now!'  My first tought was to create a copy of current template, apply it to one product listing category page and use Views to customize the output in the copied template but I'd like to know if there were a simpler way to achieve it.  Thanks in advance")* was created by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")*

I have a site with Hikashop that sells courses and physical items. I want to customize Courses a bit by adding a 'Starting Date' custom field and change 'Add to cart' button to 'Book it Now!'

My first tought was to create a copy of current template, apply it to one product listing category page and use Views to customize the output in the copied template but I'd like to know if there were a simpler way to achieve it.

Thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTItY2hhbmdlLWhpa2FzaG9wLWxheW91dC1hbmQtYmVoYXZpb3VyLXBlci1jYXRlZ29yeT90bXBsPW1hcmtkb3du) 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 days ago [\#178650](#178650) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change Hikashop layout and behaviour per category](/forum/26-product-category-display/872852-change-hikashop-layout-and-behaviour-per-category#178650 "I have a site with Hikashop that sells courses and physical items. I want to customize Courses a bit by adding a 'Starting Date' custom field and change 'Add to cart' button to 'Book it Now!'  My first tought was to create a copy of current template, apply it to one product listing category page and use Views to customize the output in the copied template but I'd like to know if there were a simpler way to achieve it.  Thanks in advance")*

Hi,

In the category edition page in backend, you can select the layout to use for the product detail page.
So select different layout for the different categories, for example show_default for the virtual products and show_reversed for the other ones, or create a new view file in your template folder.

Then you will indeed have to edit the views to have the desired layout.

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

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

12 years 1 day ago [\#178843](#178843) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Change Hikashop layout and behaviour per category](/forum/26-product-category-display/872852-change-hikashop-layout-and-behaviour-per-category#178843 "I have a site with Hikashop that sells courses and physical items. I want to customize Courses a bit by adding a 'Starting Date' custom field and change 'Add to cart' button to 'Book it Now!'  My first tought was to create a copy of current template, apply it to one product listing category page and use Views to customize the output in the copied template but I'd like to know if there were a simpler way to achieve it.  Thanks in advance")*

I set the category parameter as instructed, but products keep displaying default layout. The hardest part is solved at least, and I can override the layout manually one product at a time but I'd like to enforce different layouts per category as it were supposed to be.

Anyway, as said before, your advice solved the hardest part. Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTItY2hhbmdlLWhpa2FzaG9wLWxheW91dC1hbmQtYmVoYXZpb3VyLXBlci1jYXRlZ29yeT90bXBsPW1hcmtkb3du) 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: 4077
-
- [](http://obsi.dev)
-

12 years 14 hours ago [\#178868](#178868) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Change Hikashop layout and behaviour per category](/forum/26-product-category-display/872852-change-hikashop-layout-and-behaviour-per-category#178868 "I have a site with Hikashop that sells courses and physical items. I want to customize Courses a bit by adding a 'Starting Date' custom field and change 'Add to cart' button to 'Book it Now!'  My first tought was to create a copy of current template, apply it to one product listing category page and use Views to customize the output in the copied template but I'd like to know if there were a simpler way to achieve it.  Thanks in advance")*

Hi,

The product page layout can be set in the global configuration, overridden per category and per product.
Because a product can be in several categories, you have to check that your product layout is not set several time.

Regards,

---

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

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

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