Hide Options From Listings Page

  • Posts: 966
  • Thank you received: 11
11 years 7 months ago #130112

Really sorry to bother you, but on one particular page the products that have "manage variants" are showing "Choose Options" on the listings page and I can't figure out how to disable that. I'd prefer not to have them show on that page, only on the details page, but I cannot find how to remove it.

Can you please tell me how to disable that please?

Thank you!!

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #130170

Hi,
Your first solution can be to go to your product listing configuration page and set the "Display 'Add to cart' button" option to NO, the second solution will be to directly edit your translation file and change the "Choose options" word.

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

  • Posts: 966
  • Thank you received: 11
11 years 7 months ago #130282

Hi there,

I'm sorry but I'm not sure what the "choosing an option" option has to do with the "Add to cart" button. The "Add to cart" button is already disabled - it is not showing. Please see the green button as per the attached - these are showing below each item that has a "manage variants" on the listings page. I would like those disabled.

Thanks!!

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 7 months ago #130287

Ok, so can you give me a link to the page where you are having your issue ?

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

  • Posts: 966
  • Thank you received: 11
11 years 7 months ago #130301

I sent you the link privately. Thank you in advance!!

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #130360

Hi,

You have to edit the view "product / quantity" via the menu Display > Views and change the way the "CHOOSE_OPTIONS" button is displayed.

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

  • Posts: 966
  • Thank you received: 11
11 years 7 months ago #130517

Ummm I'm not sure what you are asking me to do - can you elaborate ? :(

In addition, there are other pages that have those same items on them and they are not showing in that way.

Thanks!!

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 7 months ago #130715

You said that the add to cart buttons were already disabled but that is wrong. If you see the choose options button, it means that the add to cart buttons are enabled for that listing.
Please go in the menu Display>Content menus, edit the menu with the id 170 and turn off the add to cart button display option.

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

  • Posts: 966
  • Thank you received: 11
11 years 7 months ago #131002

Ummm I must be losing my marbles but the add to cart button is disabled :(

Please see the attached pic.

Attachments:

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

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 7 months ago #131003

Mmm ok.

Try to add the code:

if($this->params->get('add_to_cart',1))

before the code:
echo $this->cart->displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$this->params,hikashop_completeLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$this->itemid.$this->category_pathway),'window.location = \''.str_replace("'","\'",hikashop_completeLink('product&task=show&product_id='.$this->row->product_id.'&name='.$this->row->alias.$this->itemid.$this->category_pathway)).'\';return false;','');
in the file "quantity" via the menu Display>Views.

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

  • Posts: 966
  • Thank you received: 11
11 years 7 months ago #131082

That worked. Thank you!! :)

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

Time to create page: 0.091 seconds
Powered by Kunena Forum