metricbikes Posted May 31, 2005 Posted May 31, 2005 Hello All, Can anyone tell me what code calls: product_info.php from index.php shopping_cart.php from product_info.php I can't seem to discover where each of these are called from within the other file. I am trying to modify code so I can send to a modified product_info.php from index.php and modified shopping_cart.php from product_info.php. Thanks in advance. Steve
FalseDawn Posted May 31, 2005 Posted May 31, 2005 You are looking in the wrong place. Look for this code in application_top.php: switch ($HTTP_GET_VARS['action']) The block following it handles cart actions. It calls product_info.php when an item has no attributes.
metricbikes Posted May 31, 2005 Author Posted May 31, 2005 Thank you for the reply! Is this the same if the product does have attributes? I am not sure about the attributes part. Most of our items have attributes (size,color,etc...) Thanks again. Steve You are looking in the wrong place. Look for this code in application_top.php:switch ($HTTP_GET_VARS['action']) The block following it handles cart actions. It calls product_info.php when an item has no attributes. <{POST_SNAPBACK}>
FalseDawn Posted May 31, 2005 Posted May 31, 2005 Sorry, my mistake - it calls product_info when there _are_ attributes, and adds straight to the cart otherwise.
metricbikes Posted June 1, 2005 Author Posted June 1, 2005 Hello All, Where does osc define FILENAME_PRODUCT_INFO? Thanks. Steve Sorry, my mistake - it calls product_info when there _are_ attributes, and adds straight to the cart otherwise. <{POST_SNAPBACK}>
metricbikes Posted June 2, 2005 Author Posted June 2, 2005 Hello All, Is FILENAME_PRODUCT_INFO defined in english/ folders? Thanks. Steve Hello All, Where does osc define FILENAME_PRODUCT_INFO? Thanks. Steve <{POST_SNAPBACK}>
FalseDawn Posted June 2, 2005 Posted June 2, 2005 catalog/includes/filenames.php You need to get a file searcher.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.