KJ666 Posted March 10, 2009 Share Posted March 10, 2009 I am using this contribution but i want to remove the buy it now button from the product listing page. (the one you upload) http://www.oscommerce.com/community/contributions,825 Link to comment Share on other sites More sharing options...
spooks Posted March 10, 2009 Share Posted March 10, 2009 Don't know that one but http://addons.oscommerce.com/info/6051 gives many options, including what buttons to display Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
KJ666 Posted March 11, 2009 Author Share Posted March 11, 2009 I have instilled this one now, can i just comment out the code from includes/modules/product_listing.php ?? Think it somthing to do with the bottom bit here : case 'PRODUCT_LIST_IMAGE': $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } break; case 'PRODUCT_LIST_BUY_NOW': $lc_align = 'center'; $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; break; } $product_contents[] = $lc_text; } Link to comment Share on other sites More sharing options...
spooks Posted March 11, 2009 Share Posted March 11, 2009 That looks like standard code, did u try the admin setting? Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
KJ666 Posted March 11, 2009 Author Share Posted March 11, 2009 I had a look and could not see anything ?? Link to comment Share on other sites More sharing options...
KJ666 Posted March 11, 2009 Author Share Posted March 11, 2009 Anyone know how to comment it out ? I tried but failed endup with two sets of prices lol Link to comment Share on other sites More sharing options...
spooks Posted March 11, 2009 Share Posted March 11, 2009 admin/Product Listing whats set top display? Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
KJ666 Posted March 11, 2009 Author Share Posted March 11, 2009 Product Listing Title Value Action Display Product Image 1 Display Product Manufaturer Name 0 Display Product Model 0 Display Product Name 2 Display Product Price 3 Display Product Quantity 0 Display Product Weight 0 Display Buy Now column 4 Display Category/Manufacturer Filter (0=disable; 1=enable) 1 Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both) 2 Link to comment Share on other sites More sharing options...
spooks Posted March 12, 2009 Share Posted March 12, 2009 So why is'nt Display Buy Now column 0 instead of 4? if you don`t want it!!!! Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.