Results 1 to 4 of 4

FILENAME_ALSO_PURCHASED_PRODUCTS

This is a discussion on FILENAME_ALSO_PURCHASED_PRODUCTS within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Where is the file that holds the layout of the "Also Purchased" produts box on the product_info.php page? The "also ...

      
  1. #1
    Active Member chrismole's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    102
    Rep Power
    9


    Default FILENAME_ALSO_PURCHASED_PRODUCTS

    Where is the file that holds the layout of the "Also Purchased" produts box on the product_info.php page? The "also purchased" filename is defned as:

    Code:
      define('FILENAME_ALSO_PURCHASED_PRODUCTS', CONTENT_ALSO_PURCHASED_PRODUCTS . '.php');
    but I can't find a file with a similar name.

    Thx,
    C

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default RE: FILENAME_ALSO_PURCHASED_PRODUCTS

    Look for that string in filenames.php to find the real file name.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Active Member chrismole's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    102
    Rep Power
    9


    Default RE: FILENAME_ALSO_PURCHASED_PRODUCTS

    It's not there. there's no reference to the "also purchased products" in my filenames.php file.

  4. #4
    osCMax Developer

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


    Default RE: FILENAME_ALSO_PURCHASED_PRODUCTS

    Chris, get yourself a text editor that can search across files. Why wait for an answer in the forums when you can fire up a text editor, hit search and find the answer in less than 20 seconds?

    If there is no reference to also_purhcased_products in your filenames.php file, there is something wrong with that file, as that is where it is defined. Specifically on lines 25 and 99 of that file.

    Answer:
    ----------------------------------------
    Find 'CONTENT_ALSO_PURCHASED_PRODUCTS' in '\catalog\includes\filenames.php' :
    \catalog\includes\filenames.php(25): define('CONTENT_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products');
    \catalog\includes\filenames.php(99): define('FILENAME_ALSO_PURCHASED_PRODUCTS', CONTENT_ALSO_PURCHASED_PRODUCTS . '.php');
    Found 'CONTENT_ALSO_PURCHASED_PRODUCTS' 2 time(s).
    Search complete, found 'CONTENT_ALSO_PURCHASED_PRODUCTS' 2 time(s). (1 files.)


    After finding that info, doing a windows file search for also_purchased_products on your local copy of osCMax will turn up the file in seconds in the /catalog/includes/modules/ directory.
    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

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
  •