Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    98
    Plugin Contributions
    0

    Default Remove Price from Product Listing but Keep Buy Now Button.

    Essentially all of my products are going to be the same price so I don't need to have the price of the products included after each items name. For New Products there is an easy way to do this...just go to: Admin>Configuration>New Listing>Display Product Price and set that value to 0. Doing this still leaves the "buy now" button available which is what I want to do.

    However there does not seem to be a way to do that in Admin>Configuration>Product Listing....There the only apparent item that can be specified is "Display Product Price/Add to Cart" If this is changed to "0" then not only is the price not displayed but the "buy now" button is also removed.

    So is there a way to eliminate just the price (and not the buy now button) from Product Listings in the admin settings or, if not, where would that be found? Thanks for your help.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove Price from Product Listing but Keep Buy Now Button.

    Edit /includes/modules/your_template/product_listing.php around line 107:
    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price;

            
    // more info in place of buy now
            
    $lc_button ''
    Change to:
    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  ''//$lc_price; //disable price display

            // more info in place of buy now
            
    $lc_button ''

  3. #3
    Join Date
    Sep 2008
    Posts
    98
    Plugin Contributions
    0

    Default Re: Remove Price from Product Listing but Keep Buy Now Button.

    Thanks for the quick response!

 

 

Similar Threads

  1. Display Buy Now button on product listing
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 27 Oct 2011, 07:48 AM
  2. Remove "Buy Now" from Product Listing
    By SusieQ228 in forum Customization from the Admin
    Replies: 8
    Last Post: 20 Dec 2010, 01:28 AM
  3. Editing the product-listing. Trying to get the price next to the buy now button
    By andersw in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Feb 2009, 06:02 PM
  4. Product Listing Buy Now Button
    By Mon3 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Nov 2008, 01:19 PM
  5. Align "Buy now" button & product price in product listing
    By jurjenruben in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Dec 2007, 01:26 PM

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