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
    64,697
    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.1]
    Officially PayPal-Certified! Just click here

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

  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
    64,697
    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.1]
    Officially PayPal-Certified! Just click here

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

 

 

Similar Threads

  1. product listing display changes
    By godt in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 18 Oct 2006, 12:42 AM
  2. Replies: 5
    Last Post: 10 Aug 2006, 02:30 PM
  3. Product listing sort options in admin
    By Woodymon in forum Customization from the Admin
    Replies: 1
    Last Post: 5 Jul 2006, 12:30 AM

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
  •