View Single Post
  #6  
Old 10-22-2008, 03:11 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Hiding/showing Username & Password area

Well, since one page is cart.php?mode=checkout and the other is register.php, maybe you can use an "if" statement like

{if mode ne "checkout"}
<input type="checkbox" name="subscription[{$listid}]" {if $subscription[$listid] ne ""}{/if}checked />
{/if}

I'm not sure of the syntax (mode might be $mode, or something else), and again used the newsletter subscription, but that might work. The problem is, it looks like you are using a 3rd party mod, an I don't have the template to look at.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote