Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    352
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,152
    Plugin Contributions
    0

    Default 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
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,921
    Plugin Contributions
    6

    Default 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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    352
    Plugin Contributions
    0

    Default 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
    Last edited by godt; 20 Sep 2006 at 05:30 AM.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,921
    Plugin Contributions
    6

    Default 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?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    352
    Plugin Contributions
    0

    Default 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.
    Last edited by godt; 20 Sep 2006 at 05:49 AM.

  7. #7
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    352
    Plugin Contributions
    0

    Default 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.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,921
    Plugin Contributions
    6

    Default 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 ''

    /includes/languages/english.php

    Line #497 : define('TEXT_SHOWCASE_ONLY','Contact Us');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #9
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    352
    Plugin Contributions
    0

    Default 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.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,921
    Plugin Contributions
    6

    Default Re: product listing display changes

    You are most welcome ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Help making Template
    By Shiftypow in forum Basic Configuration
    Replies: 8
    Last Post: 4 Jun 2007, 07:20 AM
  2. Add to Cart not go to cart view
    By hertspool in forum Customization from the Admin
    Replies: 13
    Last Post: 14 Aug 2006, 02:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •