Jump to content

roboman

Retired Forum Member
  • Posts

    8
  • Joined

  • Last visited

About roboman

roboman's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Also make changes for productconfiguredomain.tpl as well... <p align="center"> {if $result.status eq $searchvar} <input type="submit" value="{$LANG.ordercontinuebutton}" /> {else} <input type="submit" value="{$LANG.ordercontinuebutton}" disabled="disabled" /> {/if} </p>
  2. Hi, Thanks Matt and all discussing for this issue. I still find the "Add to Cart" button even there are no domain is available. However, with this new fixed, I found that once I click the "Add to Cart" button when no domain is available, page is refresh and come back to search the domain name again. Why not we just disable the "Add to Cart" for situation of no domain available? If so, will it be correct to use this: {if $result.status eq $searchvar} <p align="center"><input type="submit" value="{$LANG.addtocart}" /></p> {else} <p align="center"><input type="submit" value="{$LANG.addtocart}" disabled="disabled" /></p> {/if}
  3. Yes you are right. What I did is I just removed {if $result.domain|in_array:$domains} checked{/if} Original was: {foreach key=num item=result from=$availabilityresults} <tr class="clientareatableactive"><td>{$result.domain}</td><td class="{if $result.status eq $searchvar}domaincheckeravailable{else}domaincheckerunavailable{/if}">{if $result.status eq $searchvar}<input type="checkbox" name="domains[]" value="{$result.domain}"{if $result.domain|in_array:$domains} checked{/if} /> {$LANG.domainavailable}{else}{$LANG.domainunavailable}{/if}</td><td>{if $result.regoptions}<select name="domainsregperiod[{$result.domain}]">{foreach key=num item=regoption from=$result.regoptions}<option value="{$regoption.period}">{$regoption.period} {$LANG.orderyears} @ {$currencysymbol}{$regoption.price} {$currency}</option>{/foreach}</select>{/if}</td></tr> {/foreach} After removed: {foreach key=num item=result from=$availabilityresults} <tr class="clientareatableactive"><td>{$result.domain}</td><td class="{if $result.status eq $searchvar}domaincheckeravailable{else}domaincheckerunavailable{/if}">{if $result.status eq $searchvar}<input type="checkbox" name="domains[]" value="{$result.domain}" /> {$LANG.domainavailable}{else}{$LANG.domainunavailable}{/if}</td><td>{if $result.regoptions}<select name="domainsregperiod[{$result.domain}]">{foreach key=num item=regoption from=$result.regoptions}<option value="{$regoption.period}">{$regoption.period} {$LANG.orderyears} @ {$currencysymbol}{$regoption.price} {$currency}</option>{/foreach}</select>{/if}</td></tr> {/foreach} Is it the soultion? Please advise.
  4. This is exactly what I was looking for and paid for it. Why I have never seen this before?
  5. When you register a domain name - you have a box to enter the domain you wish to register then you have click to continue button below. So, I just enter andy.com since I thought andy is my name and nobody has been taken yet Unfortunately "Unavailable" - Well, I need to enter another name to register, but click to continue button has disappeared! So, I do like this in adddomain.tpl <div class="cartbox" align="center">www. <input type="text" name="sld" size="40" value="{$sld}" /> <select name="tld"> {foreach key=num item=listtld from=$tlds} <option value="{$listtld}"{if $listtld eq $tld} selected="selected"{/if}>{$listtld}</option> {/foreach} </select> <input type="submit" value="Go"> </div> So, I can enter another name to register than I need to go around. Then, I enter another domain name again, and there also unavailable for all TLDs. But Add to Cart button on the bottom is showing. I confused! I am not sure I can still add to cart. So I don't want to show this button if there nothing is availabe. In the adddomain.tpl, I do edit as below: {if $result.status eq $searchvar} <p align="right"><input type="submit" value="{$LANG.addtocart}" /> <input type="button" value="{$LANG.viewcart}" onclick="window.location='cart.php?a=view'" /></p> {/if} So there no way to add to cart since nothing is available. If I am wrong, please correct me.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated