Pages

Wednesday, June 11, 2008

How to remove price and Add to cart button from Oscommerce

What is necesary to do, to remove price and Add to cart button from Oscommerce is:


First step: Get the stylesheet.css, it is on the root of catalog, in this file add at its end a class with any name and with the property display:none;


Like this:


.hideFeatures{display:none;}


Second step: Get new_products.php from catalog/includes/modules and find the variable p_price, find where is shown this variable in the html code and wrap this variable with span class="hideFeatures";


Also add the same span class to button_add_to_cart2.gifthe number can change according the language or any other thing.


Third step: From catalog/includes/modules also get the product_listing.php file and do the same than in the second step.


Fourth step: From catalog get products_new.php and specials.php and do the same.