I do not want to show cart button and price

  • Posts: 58
  • Thank you received: 0
11 years 5 months ago #148611

-- url of the page with the problem -- : www.marcobonizzoni.com/soffim/index.php/...es-listing/guanciali
-- HikaShop version -- : 2.3
-- Joomla version -- : 2.5.19
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

hi all,
I do not want to show the price and add to cart button at the category page, how to do?
thanks in adavance :cheer:

Attachments:

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

  • Posts: 846
  • Thank you received: 92
11 years 5 months ago #148614

Hi
If you search a little bit in the thread of this forum . You ll know that you have to use
display:none .
The problem is to locate in the html file and then in the css file with selector to change add / css .
Change display:block to display:none for the 2 selectors
it seem to work but verify all page that contain price and button to be shure they disseppear or not depend of you aim / wish/page
you could make the change in the file of name frontend_default.css .If a problem occur create a higher selector ( specificity ) using a beetor selector path than those i suggest here .



div.hikashop_product_stock {
display: none;
}

span.hikashop_product_price_full {
display: none;
}

Take care of the width and the height of the box.
By remove button and price the heigh is reduce but seem also the width !!!!
The size of the image could change the size of the box !!
the last item has the bottom edge not aligne with the others box locate in the left side !!
You have t ostudy the behaviour of all the box ( the css code attach to each html//selector item to
know what change have to be made to suit you desire ( design ) !
regard's

Attachments:
Last edit: 11 years 5 months ago by lionel75.
The following user(s) said Thank You: marcoboni

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

  • Posts: 84290
  • Thank you received: 13691
  • MODERATOR
11 years 5 months ago #148658

Hi,

You could also simply edit your products listing module (id 142) via the menu Display>Content modules and turn off the "show add to cart button" and "show prices" options.

The following user(s) said Thank You: marcoboni

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

  • Posts: 58
  • Thank you received: 0
11 years 5 months ago #148728

thanks to you both for your answers, I used the solution of Nicolas and now work very well! :)
thank you very much

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

Time to create page: 0.068 seconds
Powered by Kunena Forum