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

#   Sales and Category mode in same screen

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 3 months ago [\#167894](#167894) by [Fascias](/forum/user/33087-fascias "View Fascias's Profile")  *[Sales and Category mode in same screen](/forum/26-product-category-display/870438-sales-and-category-mode-in-same-screen#167894 "-- HikaShop version -- : business -- Joomla version -- : 2.5  Hi,  I have been trying to figure out a definitive answer to this question, but cannot find a solution that works from other threads in the forum.  I am trying to have Hikashop run in sales mode with the 'add to cart button' for some categories while other categories (in the same menu) remaining in catalogue mode without the 'add to cart button'.  I have attached a screenshot photo to show you what I mean. In the photo I want the category 'current seasonal items' to run in sales mode so people can add the products in the cart, however the category 'molded items' I want to be in catalogue mode so it looks the same layout wise, but people cannot add the products to their shopping cart.  I hope this makes sense.")* was created by *[Fascias](/forum/user/33087-fascias "View Fascias's Profile")*

-- HikaShop version -- : business
-- Joomla version -- : 2.5

Hi,

I have been trying to figure out a definitive answer to this question, but cannot find a solution that works from other threads in the forum.

I am trying to have Hikashop run in sales mode with the 'add to cart button' for some categories while other categories (in the same menu) remaining in catalogue mode without the 'add to cart button'.

I have attached a screenshot photo to show you what I mean. In the photo I want the category 'current seasonal items' to run in sales mode so people can add the products in the cart, however the category 'molded items' I want to be in catalogue mode so it looks the same layout wise, but people cannot add the products to their shopping cart.

I hope this makes sense.
[ ![Screen&#95;Shot&#95;2014-08-18&#95;at&#95;10&#95;58&#95;13&#95;AM.png](/forum/attachment/19049) ](/forum/attachment/19049 "...0&#95;58&#95;13&#95;AM.png")

- [ ![Screen&#95;Shot&#95;2014-08-18&#95;at&#95;10&#95;58&#95;13&#95;AM.png](/forum/attachment/19049) ](/forum/attachment/19049 "...0&#95;58&#95;13&#95;AM.png") [ ](/forum/attachment/19049?download=1 "...0&#95;58&#95;13&#95;AM.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA0Mzgtc2FsZXMtYW5kLWNhdGVnb3J5LW1vZGUtaW4tc2FtZS1zY3JlZW4/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 3 months ago [\#167896](#167896) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sales and Category mode in same screen](/forum/26-product-category-display/870438-sales-and-category-mode-in-same-screen#167896 "-- HikaShop version -- : business -- Joomla version -- : 2.5  Hi,  I have been trying to figure out a definitive answer to this question, but cannot find a solution that works from other threads in the forum.  I am trying to have Hikashop run in sales mode with the 'add to cart button' for some categories while other categories (in the same menu) remaining in catalogue mode without the 'add to cart button'.  I have attached a screenshot photo to show you what I mean. In the photo I want the category 'current seasonal items' to run in sales mode so people can add the products in the cart, however the category 'molded items' I want to be in catalogue mode so it looks the same layout wise, but people cannot add the products to their shopping cart.  I hope this makes sense.")*

Hi,

What you can do is this:
Have the "Display add to cart button for free products" option of the configuration turned off and don't set the price for the products for which you don't want the add to cart button.
You can always display the price within the description of the product or via a custom product field if you need to for the products without the add to cart buttons.
An alternative could be to create a copy of the show_default view file via the menu Display&gt;Views and remove the display of the quantity layout from it and then select different layouts in your products based on whether they need to add to cart button or not.

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 3 months ago [\#168028](#168028) by [Fascias](/forum/user/33087-fascias "View Fascias's Profile")  Replied by *[Fascias](/forum/user/33087-fascias "View Fascias's Profile")* on topic *[Sales and Category mode in same screen](/forum/26-product-category-display/870438-sales-and-category-mode-in-same-screen#168028 "-- HikaShop version -- : business -- Joomla version -- : 2.5  Hi,  I have been trying to figure out a definitive answer to this question, but cannot find a solution that works from other threads in the forum.  I am trying to have Hikashop run in sales mode with the 'add to cart button' for some categories while other categories (in the same menu) remaining in catalogue mode without the 'add to cart button'.  I have attached a screenshot photo to show you what I mean. In the photo I want the category 'current seasonal items' to run in sales mode so people can add the products in the cart, however the category 'molded items' I want to be in catalogue mode so it looks the same layout wise, but people cannot add the products to their shopping cart.  I hope this makes sense.")*

Thanks for your response.
Right now I have some products that don't have prices but you can still 'add to cart' which I want to keep, so the other way you mentioned was to create a copy of the show_default file and taking out the quantity. Can you explain this more? How would it get rid of the 'add to cart' button and how do I apply this to certain products/categories?

Thanks again!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzA0Mzgtc2FsZXMtYW5kLWNhdGVnb3J5LW1vZGUtaW4tc2FtZS1zY3JlZW4/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 3 months ago [\#168034](#168034) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sales and Category mode in same screen](/forum/26-product-category-display/870438-sales-and-category-mode-in-same-screen#168034 "-- HikaShop version -- : business -- Joomla version -- : 2.5  Hi,  I have been trying to figure out a definitive answer to this question, but cannot find a solution that works from other threads in the forum.  I am trying to have Hikashop run in sales mode with the 'add to cart button' for some categories while other categories (in the same menu) remaining in catalogue mode without the 'add to cart button'.  I have attached a screenshot photo to show you what I mean. In the photo I want the category 'current seasonal items' to run in sales mode so people can add the products in the cart, however the category 'molded items' I want to be in catalogue mode so it looks the same layout wise, but people cannot add the products to their shopping cart.  I hope this makes sense.")*

Hi,

Taking out the add to cart button from the show_default view file can be done by just removing the code:
$this-&gt;setLayout('quantity');
echo $this-&gt;loadTemplate();

make sure that you change the name of the file when you edit it in order to get the modification in a copy of the view file.
Then, in your categories/products you'll be able to select the layout you want with the "layout on product page" option.

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

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