Nick Weisser Posted February 25, 2004 Posted February 25, 2004 I'm rewriting the display_price method in classes/currencies.php in order to change $products_price under certain conditions. When products are displayed, e.g. with help of modules/new_products.php the display_price method is called for every products_id. The problem I have is that I don't know how to find out about the present products_id from within the display_price method. Even if I say global $products_id; , $products_id is empty. (I have to know the products_id to formulate a select statement in order to retrieve extra information from the database). Any hints would be really appreciated Nick
Recommended Posts
Archived
This topic is now archived and is closed to further replies.