- Posts: 966
- Thank you received: 11
Hide Options From Listings Page
12 years 11 months ago #130112
by MyWorld
Hide Options From Listings Page was created 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!!
Can you please tell me how to disable that please?
Thank you!!
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #130170
by Mohamed Thelji
Replied by Mohamed Thelji on topic Hide Options From Listings Page
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.
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.
12 years 11 months ago #130282
by MyWorld
Replied by MyWorld on topic Hide Options From Listings Page
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!!
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.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #130287
by Mohamed Thelji
Replied by Mohamed Thelji on topic Hide Options From Listings Page
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.
12 years 11 months ago #130301
by MyWorld
Replied by MyWorld on topic Hide Options From Listings Page
I sent you the link privately. Thank you in advance!!
Please Log in or Create an account to join the conversation.
12 years 11 months ago #130360
by Xavier
Replied by Xavier on topic Hide Options From Listings Page
Hi,
You have to edit the view "product / quantity" via the menu Display > Views and change the way the "CHOOSE_OPTIONS" button is displayed.
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.
12 years 11 months ago #130517
by MyWorld
Replied by MyWorld on topic Hide Options From Listings Page
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!!
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.
12 years 11 months ago #130715
by nicolas
Replied by nicolas on topic Hide Options From Listings Page
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 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.
12 years 10 months ago #131002
by MyWorld
Replied by MyWorld on topic Hide Options From Listings Page
Ummm I must be losing my marbles but the add to cart button is disabled 
Please see the attached pic.
Please see the attached pic.
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131003
by nicolas
Replied by nicolas on topic Hide Options From Listings Page
Mmm ok.
Try to add the code:
before the code:
in the file "quantity" via the menu Display>Views.
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;','');
Please Log in or Create an account to join the conversation.
12 years 10 months ago #131082
by MyWorld
Replied by MyWorld on topic Hide Options From Listings Page
That worked. Thank you!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.288 seconds