Skip to main content

Hide Options From Listings Page

More
12 years 11 months ago #130112 by MyWorld
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.

More
12 years 11 months ago #130170 by Mohamed Thelji
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.

More
12 years 11 months ago #130282 by MyWorld
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!!

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

More
12 years 11 months ago #130287 by Mohamed Thelji
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.

More
12 years 11 months ago #130301 by MyWorld
I sent you the link privately. Thank you in advance!!

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

More
12 years 11 months ago #130360 by Xavier
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.

More
12 years 11 months ago #130517 by MyWorld
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.

More
12 years 11 months ago #130715 by nicolas
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.

More
12 years 10 months ago #131002 by MyWorld
Ummm I must be losing my marbles but the add to cart button is disabled :(

Please see the attached pic.

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

More
12 years 10 months ago #131003 by nicolas
Mmm ok.

Try to add the code:
Code:
if($this->params->get('add_to_cart',1))

before the code:
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.

More
12 years 10 months ago #131082 by MyWorld
That worked. Thank you!! :)

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

Time to create page: 0.288 seconds
Powered by Kunena Forum