Results 1 to 5 of 5

Remove 'Buy Now' button in AABox template Search Results

This is a discussion on Remove 'Buy Now' button in AABox template Search Results within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi I am using an istall of OSCMax 2 with AABox template. When you do a search the results come ...

      
  1. #1
    New Member
    Join Date
    Jun 2005
    Posts
    5
    Rep Power
    0


    Default Remove 'Buy Now' button in AABox template Search Results

    Hi

    I am using an istall of OSCMax 2 with AABox template. When you do a search the results come up with a horrible 'Buy Now' button on the heading bar of the results which doesn't even work. How do I remove it.

    cheers

    DP

  2. #2
    New Member
    Join Date
    Jun 2005
    Posts
    5
    Rep Power
    0


    Default RE: Remove

    PS Had a look in advanced_search_results.php and advanced_search.php but can't find the lines of code!!!

  3. #3
    New Member
    Join Date
    Aug 2005
    Posts
    9
    Rep Power
    0


    Default RE: Remove

    in line 67 aprox. find


    $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'pName')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';

    and replace with

    $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'pName')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . '</a> ';

    The buy buttom on heading go out

    Is my solucion and works for me! I hope that help you.

  4. #4
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default RE: Remove

    I had the same problem and I changed the same type of code but mine was includes/modules/product_listing.php on line 133.
    John

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Remove

    Or you could just change line 67 of /catalog/includes/modules/product_listing.php to this:

    Code:
            $lc_text = TABLE_HEADING_BUY_NOW;
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Search not showing results.
    By JonCloud420 in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 09-03-2006, 07:59 PM
  2. modifing meta_tags.php to help search results?
    By Redeye_Joe in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 02-20-2006, 07:08 AM
  3. AAbox template
    By matty102 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 02-17-2005, 10:24 AM
  4. Anyone have a photoshop AABox Template?
    By groggory in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 01-02-2005, 05:29 PM
  5. Default AABox template problem?
    By groggory in forum osCmax v1.7 Discussion
    Replies: 6
    Last Post: 10-19-2004, 11:21 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
  •