View Single Post
(#17)
juven14's Avatar
juven14 juven14 is offline
Moderator
juven14 is on a distinguished road
 
Posts: 1,253
Join Date: Mar 2006
Location: NJ/NYC Area
Default 04-17-2006, 04:28 PM

Your file is a little modified, would it just be easier to add this in on your own?

Open usercheckout.php(mod version):

find:
PHP Code:
//Mod
if($numrows < 1 && $couponcode<>"")
{

and add this just inside that brace:

PHP Code:
$opt1 = $_POST['opt1'];
$class_tpl->assign('opt1',$opt1);
$class_tpl->assign('returnExtra', true);

Then open step3.tpl.php
and find:

HTML Code:
{$extra_listing_fields}

replace that line with this one:

HTML Code:
{if $returnExtra} <tr> <td align='left' class="formleft"> Shipping Availability:</td> <td align='left' class="formright"><select name="opt1"> <option value="Pickup Only" {if $opt1=="Pickup Only"} SELECTED{/if}>Pickup Only</option> <option value="Shipping is Available" {if $opt1=="Shipping is Available"} SELECTED{/if}>Shipping is Available</option> </select></td> </tr> {else} {$extra_listing_fields} {/if}

Let me know if this works out. I can include it in a zip if you'd like.


Regards,

John
mods.auscity.com
v3.1.4 Developer

�By perseverance, study, and eternal desire, any man can become great.� George S. Patton