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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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');
Thx, C |
|
#2
| ||||
| ||||
| Look for that string in filenames.php to find the real file name.
__________________ JPF - osCMax Fourm Moderator 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
| ||||
| ||||
| It's not there. there's no reference to the "also purchased products" in my filenames.php file. |
|
#4
| ||||
| ||||
| 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
|