Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2005
    Posts
    17
    Plugin Contributions
    0

    Default Two questions to Product display in category listing

    Hey there,

    I have two questions to the product display in the category listing:

    1. Can the price be displayed when it is $ 0.00 and how?
    2. If Product max qty is 1 set to one, how can I get rid of the MAX:1 display in the category listing?


    ad 1. I have a lot of free downloads, and I just want to also display that the price is 0.00 (as some customers seem to be misled by the category name "FREE DOWNLOADS" )

    Thanks,
    Anuragji

    [FONT="Georgia"]Why not?[/FONT]

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Two questions to Product display in category listing

    If you mark the Product as 100.00 then mark it as Product is Free YES ... you will see the $100.00 price, but it will be marked out and say Free ...
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2005
    Posts
    17
    Plugin Contributions
    0

    Default Re: Two questions to Product display in category listing

    Fantastic: Even better i'll mark it as $1000.00 and free, then they'll be really happy...

    Actually: That isn't realy what I am looking for... is there a way to display the price if it is 0.00 ?


    I'm not afraid to "mess with" a template
    Anuragji

    [FONT="Georgia"]Why not?[/FONT]

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Two questions to Product display in category listing

    0.00 is suppressed ...

    If you absolutely have to show the 0.00 vs marking the Product as Product is Free YES ...

    You could edit the file:
    /includes/functions/functions_prices.php

    Around lines 256 - 261 is a function that excludes the $show_normal_price when the $display_normal_price == 0 ...
    PHP Code:
        if ($display_normal_price == 0) {
          
    // don't show the $0.00
          
    $final_display_price $show_special_price $show_sale_price $show_sale_discount;
        } else {
          
    $final_display_price $show_normal_price $show_special_price $show_sale_price $show_sale_discount;
        } 
    Note: there is no override for this file so keep backups of both the orginal and your changed file ...
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Is this possible ? Two or more product listing layouts (one per category)?
    By risant in forum Templates, Stylesheets, Page Layout
    Replies: 51
    Last Post: 15 Nov 2013, 02:53 AM
  2. Replies: 4
    Last Post: 20 Nov 2008, 07:23 AM
  3. Only display thumbnails in category product listing
    By Astroman in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Nov 2008, 05:08 PM
  4. How to display product listing on category page?
    By strobogirl in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Nov 2007, 09:17 PM
  5. 2 Questions - Category on Main page? and Two Stores?
    By PeterMan in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Jul 2006, 02:24 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR