Jump to content
websourc

Buy now button

Recommended Posts

It doesn't look like there's a good way to do it short of going to includes/modules/product_listing.php and removing it. 

          if ($has_attributes == 0) $prod_list_contents .= tep_draw_button(IS_PRODUCT_BUTTON_BUY, '', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . (int)$listing['products_id']), NULL, array('params' => 'data-has-attributes="' . $has_attributes . '" data-in-stock="' . (int)$listing['in_stock'] . '" data-product-id="' . (int)$listing['products_id'] . '"'), 'btn-light btn-product-listing btn-buy') . PHP_EOL;

I suppose that you could add product attributes to every product. 


Always back up before making changes.

Share this post


Link to post
Share on other sites

Thanks for the reply I dont see that line in product listing php I am using Installed Version: osCommerce Online Merchant v2.3.4.1

Share this post


Link to post
Share on other sites

I figured it out it was in admin configuration product listing display buy now column I edited and put 0.

thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×