Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Only one product, Please Help! with button code


Guest

Recommended Posts

Posted

i've been experimenting like mad, and asked about this several times :cry:

if I have to dangle $ to get a bite, fine! :roll:

Can someone please help for a reasonable fee? :idea:

 

Here's what I need:

only have one product, don't want customers to have to go through several pages to make order

 

want basic info that shows up on product_info.php to be the default page

 

I have tried cutting and pasting, and although the button shows up on the default page, it doesn't actually work

 

need code for buy now button to go directly to making purchase

 

Wanna peek: http://ezhandsfree.com

includes/languages/english/default.php currently reads:

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"><a href="shopping_cart.php"><input type="hidden" name="products_id" value="28"><input type="image" src="includes/languages/english/images/buttons/button_buy_now.gif" border="0" alt="In Cart" title="Buy Now!"></a></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>');

 

and then the other definitions

Any help MUCH APPRECIATED!

Jenn

Posted

you need the <form> tags.

<form name="cart_quantity" action="http://ezhandsfree.com/ecommerce/catalog/product_info.php?products_id=28&action=add_product" method="post">



<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><a href="shopping_cart.php"><input type="hidden" name="products_id" value="28"><input type="image" src="includes/languages/english/images/buttons/button_buy_now.gif" border="0" alt="In Cart" title="Buy Now!"></a>



</form>

 
Posted

Conquered!

I can't tell you how delighted I am!

Can I send you a donation?

:D

Archived

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

×
×
  • Create New...