osCmax v2.5 User Manual
Results 1 to 2 of 2

buy now button?

This is a discussion on buy now button? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; ive been looking everywhere for where the "buy now" button is called i know where the image is but i ...

      
  1. #1
    New Member
    Join Date
    Jul 2008
    Location
    The Radioactive Desert
    Posts
    25
    Rep Power
    0


    Default buy now button?

    ive been looking everywhere for where the "buy now" button is called i know where the image is but i need to know where in the code it is called to display
    thanx for your help.

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: buy now button?

    /includes/modules

    either product_listing_col.php or product_listing.php (depending on how you are listing products).

    in product_listing.php look for:

    Code:
    // Bugfix 0000069        
    //      $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'pName')) . 'action=buy_n
    ow&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';
            $lc_text = TABLE_HEADING_BUY_NOW;
    // LINE ADDED
            $lc_align = 'center';
            break;
        }
    Look for something similar if you are using the _col version.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

Similar Threads

  1. No buy button if quantity = 0
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-02-2007, 02:50 PM
  2. Another Buy It Now button issue
    By cleangroove in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 08-29-2005, 11:18 AM
  3. Buy Now button issue
    By case510 in forum osCmax v2 Installation issues
    Replies: 3
    Last Post: 06-29-2005, 09:01 PM
  4. change buy now button
    By battleaxe in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 05-25-2004, 01:57 AM
  5. buy now button outside of oscmax
    By CMWM in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 05-17-2004, 07:23 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
  •