Guest Posted November 24, 2008 Share Posted November 24, 2008 I installed the contribution "Removes the Prices if the products price = 0.00", it almost works just like I want it to. The exception to that is: in product_listing.php my price is showing as $0.00 The change to product_listing.php is the following, which I did exactly except for the $lc_text which I put as 'Select Option'. Which is not really what I want, what I want is for the product attribute price to be carried over to there. Not sure if I can do that, so I'll settle for Select Option. Anyway, it's still showing as $0.00 in product listing, so what is wrong with the following or is there an additional file that needs to be edited to make this work? 1) In catalog\includes\modules\product_listing.php *********************************************** ++++++++++++++++++++++find++++++++++++++++++++++ case 'PRODUCT_LIST_PRICE': $lc_align = 'right'; ++++++++++++++++++++++Under place+++++++++++++ if ($listing['products_price'] < 0.01 ) $lc_text = '--------->'; else ************************************************ 2) In catalog\includes\modules\product_listing.php ************************************************ ++++++++++++++++++++++find++++++++++++++++++++++ case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; ++++++++++++++++++++++under place+++++++++++++++ if ($listing['products_price'] < 0.01 ) $lc_text = 'Phone For Price'; else *********************************************** Link to comment Share on other sites More sharing options...
Guest Posted November 24, 2008 Share Posted November 24, 2008 Nevermind, I came up with a simple fix, in admin I selected to not show price in product listing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.