If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

How to maintain product information page

This tutorial shows how to manage product info page content in osCommerce.

For example you want to hide price or remove add to cart button from the product details page. Let’s see how this could be done.

  1. Access your osCommerce installation directory
  2. Open product_info.php file with your editor

All changes should be performed in this file.

For example:

To remove price comment of delete:

<h2 class="price"><?php echo '<b>'.PRICE. '</b>'.$products_price; ?></h2>

To remove product description delete:

<div class="desc desc_padd"><?php echo stripslashes($product_info['products_description']); ?></div>

To locate necessary blocks you can use browser developer tools and then search for the block class in the php file.

For more details please check the detailed tutorial below: