product listing display changes
I want to remove the following from my pages, hopefully by commenting out - so that I can easily restore later for a different purpose:
'Displaying x of y(y products)'
Column names - 'Product Image', 'Item name' 'Price'
and the 'Contact us' button.
I'm not getting anywhere experimenting with commenting out lines, and would appreciate some guidance.
Re: product listing display changes
You can use my favorite css trick to remove them...
Find the id / class that calls them and at the end of the stylesheet add
#ThisID {display: none;}
Works - though not probably the best way:smartass:
Re: product listing display changes
Headings of the Product Listing are in:
/includes/modules/product_listing.php
Split pages are in:
/includes/templates/template_default/templates/tpl_modules_product_listing.php
Be sure in both cases to use your templates and overrides directories for these changes ...
Re: product listing display changes
Thank you people - the css trick is great. Just what I wanted.
I can't see though how to get rid of the 'contact us' link next to each item. I thought that if it was a button I could replace it, but it is a link generated I know not how.
Gadzooks! Got it: #cartAdd
Re: product listing display changes
Do you have your site setup for Login to buy in Customer Details?
Do you have your site setup as a showcase in My Store?
Do you have your Products marked as Call for Price?
Re: product listing display changes
Ugh. #cartAdd is the css for the individual product listing, but not for the products-all listing. Is there some code I can comment out to prevent the contat link from generating?
Site is showcase, I don't have 'call for price' active, and login to buy is not active.
Re: product listing display changes
Why hast thou forsaken me, oh gurus? The last hurdle is before me - 'contact us' appears as a link generated somehow, and if I can remove it, albeit temporarily, my task will be momentarily complete. Yea, forsooth, otherwise I am lost. Ugh.
Re: product listing display changes
Doing a search via the Tools ... Developer's Tool Kit on: contact us
Would show the define for: TEXT_SHOWCASE_ONLY
Doing a search on the define: TEXT_SHOWCASE_ONLY
Would show that this is automatically built when Show Case is set ...
To make it disappear ... you can change its definition or set it to ''
Quote:
/includes/languages/english.php
Line #497 : define('TEXT_SHOWCASE_ONLY','Contact Us');
Re: product listing display changes
Thanks heaps for that Linda. I would never have made the association with showcase, and I just overlooked that in english.php.
Re: product listing display changes
You are most welcome ... :smile: