osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-24-2006, 10:04 AM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-25-2006, 10:33 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,558
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default RE: FILENAME_ALSO_PURCHASED_PRODUCTS

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-25-2006, 10:56 PM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
Default RE: FILENAME_ALSO_PURCHASED_PRODUCTS

It's not there. there's no reference to the "also purchased products" in my filenames.php file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-26-2006, 08:18 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 05:54 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax