View Single Post
(#9)
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 03-30-2006, 12:44 PM

it is an obscure change, can you be sure that in usercheckout.php

Step 3 you have:

PHP Code:
//Mod
//original line: $class_tpl->assign('featured', $rs['featured']);
$class_tpl->assign('cfeatured', $rs['featured']);
//End Mod

Step 4 you have:

PHP Code:
$class_tpl->assign('cfeatured', $rs['featured']);

and:
PHP Code:
$class_tpl->assign('featured', @$_POST['featured']);

Then in checkout/step3.tpl.php

HTML Code:
{if $cfeatured=="Y"} <tr> <td class="formleft">{$smarty.const.LANG_ADD_FEATURED}{$smarty.const.LANG_COLON}</td> <td class="formright"> <select name="featured"> <option value="N" {if $featured == "N"} selected{/if}>{$smarty.const.LANG_NO_THANKS}</option> <option value="Y" {if $featured == "Y"} selected{/if}>{$smarty.const.LANG_YES} (+{$cFeaturedPrice})</option> </select> </td> </tr> {/if}


Regards,

John
mods.auscity.com
v3.1.4 Developer

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

Last edited by juven14 : 03-30-2006 at 12:46 PM.