Show contact button on one product in List-Div View

  • Posts: 190
  • Thank you received: 9
6 years 6 months ago #293183

-- url of the page with the problem -- : super-top.nl/
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.8
-- PHP version -- : 7
-- Browser(s) name and version -- : Chrome

Hi guys,

I want one product to have a contact button and no add to cart button.
In the page view i have added a contact button but in the List div view not.
Also the add to cart is still there, so can i disable that for one product?

It is about the last product on the page.
Product: Super-Top - 200 liter

Can i have a button for contact on the list div view with settings?
Or do i need to create an override for that?

Thanks!

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
6 years 6 months ago #293186

Hi,

If you want to remove the add to cart for a product, you have several solutions:
- you could set the quantity of the product to 0
- you could set a sale start date in the future or a sale end date in the past
- you could set no price for it and have the "display add to cart button for free products" setting turned off
That will apply both on the product page and the listing.
Regarding the contact us button, it's only made to be displayed on the product page.
If you want it on the listing, you'll have to edit the file "listing_img_title" of the view "product" via the menu Display>Views and add custom PHP code for that there.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum