Overriding Catalog Mode: Enabling "Add to Cart" Button on Specific Categories (J

  • Posts: 25
  • Thank you received: 3
5 days 12 hours ago #369265

-- url of the page with the problem -- : fixity.hu
-- HikaShop version -- : 601
-- Joomla version -- : 5
-- PHP version -- : 8

Dear HikaShop Support Team,

We are using HikaShop on a Joomla 5 environment, and the entire store is currently configured in Catalog Mode.

We need to enable the "Add to Cart" button to appear on the product listing view for specific categories, thereby overriding the global Catalog Mode setting.

The issue is as follows:

Main Category Page (Menu Item ID: 1258): We need the button visible on this page.

Link: fixity.hu/arlista/imei-ellenorzes.html

Sub-Category Product Listing Pages (Category ID: 1259): The button must also appear on sub-pages like this one.

Example Link: fixity.hu/arlista/imei-ellenorzes/tipus/1259-iphone.html

When editing the category (Components > HikaShop > Categories), we are unable to find the standard overriding option. Specifically, the option to set "Add to Cart" to "Yes" is missing from the Product features display section.

Could you please advise on where to locate the specific setting in the Joomla 5/latest HikaShop interface that allows us to override the global Catalog Mode and enable the "Add to Cart" button for Category ID 1259?

Thank you for your assistance.

Sincerely, Gergo

Please Log in or Create an account to join the conversation.

  • Posts: 84660
  • Thank you received: 13772
  • MODERATOR
4 days 22 hours ago #369277

Hi,

There was never any overriding option for the main "catalogue mode" setting.
Once the "catalogue mode" setting is turned on, regardless of how you setup add to cart button display settings in your shop, no add to cart button will appear and the checkout won't be accessible. And even if you force the display of the add to cart buttons with a code modification, the system will refuse all the add to cart requests.

Also, the category edit form never had any "add to cart" override option.

The best would be to configure a sale start date in the futur, or a stock set to 0 for the products you don't want to sell. This can be done with a mass action in order to do it for all the products at once.
Then, you can turn off the "catalogue mode" setting.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 3
4 days 20 hours ago #369284

Thanks – one more issue with category “Add to Cart” button visibility

Hi,

Thank you very much, the main issue is solved. However, I still have one small problem: on the category page, the “Add to Cart” button is still visible — for example here:
fixity.hu/arlista/imei-ellenorzes/tipus/1273-xiaomi.html

But on the product page, the button does not appear (which is correct):
fixity.hu/arlista/termek/3221-xiaomi-ellenorzes

In my case, I don’t want to show any “Add to Cart” button on the category pages at all, because there is nothing to sell there — it’s only informational content.

Could you please let me know how to hide the “Add to Cart” button on category listings, while keeping the product page as it is now?

Thanks again for your help!
Best regards,
Gergő

Please Log in or Create an account to join the conversation.

  • Posts: 84660
  • Thank you received: 13772
  • MODERATOR
4 days 59 minutes ago #369288

Hi,

Edit your menu item via the Joomla menu manager. There, under the "products options" tab, you'll find a section for display options, and among them, you'll have one for the add to cart button that you want to turn off.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 3
3 days 20 hours ago #369294

Hi,

Thank you, your previous suggestion worked — the Add to Cart button is now hidden in the main category view (for example:
fixity.hu/arlista/imei-ellenorzes.html
).

However, when I open one of the products inside this category, such as:
fixity.hu/arlista/termek/3201-szolgaltat...olasi-allapot-es-fmi
,
the Add to Cart button doesn’t appear at all — even though I would like it to be visible there.

Could you please let me know how I can enable the Add to Cart button on the individual product pages?

Thank you for your help!
Best regards,
Fixity

Please Log in or Create an account to join the conversation.

  • Posts: 84660
  • Thank you received: 13772
  • MODERATOR
3 days 15 hours ago #369299

Hi,

I do see the button on that page:
i.imgur.com/xLV3uHQ.png
Could it be that you already figured it out ? Or maybe was it a caching issue ?

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 3
3 days 15 hours ago #369301

It doesn't appear for me. Could you take a look at what the problem could be? Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 3
3 days 15 hours ago #369302

I think the error is in custom.css.

File Attachment:

File Name: custom.txt
File Size:57 KB

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 3
3 days 15 hours ago #369303

thank you, it's solved!! :) how can I change its appearance because it's really not pretty?
I'm also asking for your help with the PayPal payment saying: Access Forbidden, all settings are correct.

Last edit: 3 days 14 hours ago by Urmosg.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 3
3 days 2 hours ago #369317

Dear Nicolas,

The PayPal issue is now resolved — I just had to enable user registration, and it works perfectly now.
From what I see, purchasing normally requires the Essential plan, which is fine.

However, I’ve just noticed that the Add to Cart button now appears on every product (iPhone, Samsung, etc.), and I only want it to appear on this single page:

fixity.hu/arlista/imei-ellenorzes.html

For all other products, I don’t want the cart button to be visible.
Currently, my shop is in catalog mode, and I’d like to make an exception so that only the IMEI Check page allows adding to cart.

Could you please advise me on the best way to handle this?

Is it possible to enable the cart per category or product while keeping the rest in catalog mode?

Or should I do this via a template override (e.g., in show_default.php) and display the button conditionally only for that specific page?

Is there perhaps an official setting or plugin in the Essential or Business plan that supports this behavior?

Thank you very much for your help!

P.S. Will there be a Black Friday promotion on HikaShop plans this year? :)

Please Log in or Create an account to join the conversation.

  • Posts: 84660
  • Thank you received: 13772
  • MODERATOR
2 days 22 hours ago #369321

Hi,

1. No, purchasing can work with the Starter edition.

2. You could indeed display the button conditionally with a view override.
Another option is to set the stock to 0 for all the products except the IMEI Check product(s). That way, the add to cart will only be available for the other products. Or you could set the sale end date in the past for the other products.
If you need to modify a bunch of products at once, you can use a mass action via the menu System>Mass action. There, you can use an action "update the values". For example, you could select the "product_quantity" column with the "int" mode and the value 0

3. There won't be Black Friday promotions. We don't normally provide discounts.

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum