Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removal of check out and prices


PJ2006

Recommended Posts

Posted

I want to remove prices and checkout as I am writing a sight which will display pictures - the cannot be purchased. I've down loaded two hide price contributions but can't get either to work.

 

Any suggestions?

 

Thanks

Posted
I want to remove prices and checkout as I am writing a sight which will display pictures - the cannot be purchased. I've down loaded two hide price contributions but can't get either to work.

 

Any suggestions?

 

Thanks

 

Hi, here is the link to a contribution to disable the checkout. I used it for my husband's used car dealer website as he did not want people thinking they could buy cars online:

 

http://addons.oscommerce.com/info/3109

 

As far as getting rid of the price, delete the following from your product_info.php file:

 

if ($new_price = tep_get_products_special_price($product_info['products_id'])) {

$products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';

} else {

$products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));

}

 

Hope this helps! Post back with any questions.

 

Best Regards,

Leslie

Posted
Hi, here is the link to a contribution to disable the checkout. I used it for my husband's used car dealer website as he did not want people thinking they could buy cars online:

 

http://addons.oscommerce.com/info/3109

 

As far as getting rid of the price, delete the following from your product_info.php file:

 

if ($new_price = tep_get_products_special_price($product_info['products_id'])) {

$products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';

} else {

$products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));

}

 

Hope this helps! Post back with any questions.

 

Best Regards,

Leslie

Hi Leslie,

 

Thank you so much for this information!

 

I did all this but prices and buy now are still showing. If I click on buy now nothiing happens so I guess I have managed to disable that bit OK following your instructions. How do I get rid of the buy now column and price column, and prices on New Products.

 

Thanks

Posted
Hi Leslie,

 

Thank you so much for this information!

 

I did all this but prices and buy now are still showing. If I click on buy now nothiing happens so I guess I have managed to disable that bit OK following your instructions. How do I get rid of the buy now column and price column, and prices on New Products.

 

Thanks

Doh! Just realised I had to make changes in the configuration section., My only remaing problem now is how to get rid of prices in the New Products window, any ideas?

 

Thanks

Posted

Sorry, I could not figure out how to make the prices go away without causing code errors. I messed with the new_products.php file under includes/modules which controls this box on the main page, but since I am not that great at this php code thing I couldn't get it to do what you want.

 

The only thing I do know how to do for you would be to not have this box come up at all which is fairly simple. Just delete the following code the second time this shows in your index.php file near the bottom and that's it:

 

<tr><td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td></tr>

 

*** Remember always Back up your files before messing with them***

 

Hope this helps!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...