Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Only One Product/ want product_info to be default.php


Guest

Recommended Posts

Posted

I know I've asked a million questions, so I hope no one is over yet :roll:

I am getting close to launch though...

New question:

I only have one product, so I don't need the bestseller and multiple product listings, etc.

I tried to cut and paste the info I had listed on product_info.php to the default.php, but now the buttons for available options and add to cart aren't working.

 

Can anyone help? What if I just change the page name of product_info.php to default? Would that work?

Here is the code I have on default.php so far:

define('TEXT_MAIN', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, <b>any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.<br>

<p>NO MORE TANGLED WIRES!</p><p>EZ handsfree operation allows both hands to be used freely while driving or moving about. Spools out only the amount of wire needed and then retracts wire onto the spooler when not in use. Push to talk button located on integrated speaker/mic. Can be stored in pocket, purse, briefcase or backpack.</p>

<b>Available Options:</b><br>

<table border="0" cellpadding="0" cellspacing"0"><tr><td class="main">Color:</td>

<td><select name="id[1]"><option value="6">Black</option><option value="7">Silver</option></select></td>

<td align="right" class="main"><input type="hidden" name="products_id" value="28"><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="In Cart" title=" In Cart "></td>

</tr></table>

<br><center>

<table width="100%" align="center" style="align:center;"><tr><td> </td><td><img src="/ecommerce/catalog/images/sequenceMIX.jpg" border="1"></td><td> </td></tr></table></center>');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || ($HTTP_GET_VARS['manufacturers_id']) ) {

define('HEADING_TITLE', 'Let's See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

define('TEXT_ALL', 'All');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

and of course the link if you want to look at it:http://ezhandsfree.com

Archived

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

×
×
  • Create New...