Jump to content

whatuwant

Retired Forum Member
  • Posts

    8
  • Joined

  • Last visited

Everything posted by whatuwant

  1. I'm only using for a small system, (not hosting or anything) so it's not justified to pay for it although I do contribute where I can.
  2. This is the thing - I can't understand the problem as products.tpl hasn't been touched: <link rel="stylesheet" type="text/css" href="templates/orderforms/cart/style.css" /> <p align="center" class="cartheading">{$LANG.cartbrowse}</p> <div class="cartbox" align="center"><strong> {foreach key=num item=productgroup from=$productgroups} {if $gid eq $productgroup.gid} {$productgroup.name} | {else} <a href="{$smarty.server.PHP_SELF}?gid={$productgroup.gid}">{$productgroup.name}</a> | {/if} {/foreach} {if $loggedin}<a href="{$smarty.server.PHP_SELF}?gid=addons">{$LANG.cartproductaddons}</a> | {/if} {if $registerdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=register">{$LANG.registerdomain}</a> |{/if} {if $transferdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=transfer">{$LANG.transferdomain}</a> |{/if} <a href="{$smarty.server.PHP_SELF}?a=view">{$LANG.viewcart}</a> </strong></div> <br /> {foreach key=num item=product from=$products} <div class="cartbox" align="center"> <strong>{$product.name}</strong> {if $product.qty!=""}<em>({$product.qty} {$LANG.orderavailable})</em>{/if}<br /> {if $product.description}{$product.description}<br />{/if} <div style="margin:5px;padding:2px;color:#cc0000;"> {if $product.paytype eq "free"} {$LANG.orderfree} {elseif $product.paytype eq "onetime"} {$product.pricing.onetime} {$LANG.orderpaymenttermonetime} {elseif $product.paytype eq "recurring"} {if $product.pricing.monthly}{$product.pricing.monthly}<br />{/if} {if $product.pricing.quarterly}{$product.pricing.quarterly}<br />{/if} {if $product.pricing.semiannually}{$product.pricing.semiannually}<br />{/if} {if $product.pricing.annually}{$product.pricing.annually}<br />{/if} {if $product.pricing.biennially}{$product.pricing.biennially}<br />{/if} {/if} </div> <div align="center"><input type="button" value="{$LANG.ordernowbutton}"{if $product.qty eq "0"} disabled{/if} onclick="window.location='{$smarty.server.PHP_SELF}?a=add&pid={$product.pid}'" /></div> </div> <br /> {/foreach} <p align="right"><input type="button" value="{$LANG.viewcart}" onclick="window.location='cart.php?a=view'" /></p>
  3. Hi jack. Thanks for the reply. I tried this, please see my other thread! http://forum.whmcs.com/showthread.php?t=17769
  4. Here's an annoying one that I can't sort. I have copied the default template and have been making changes to create a custom template. Everything was going fine. I wanted to remove the line <div class="seperatorbar">{$LANG.orderproduct}</div> in products.tpl so I simply deleted it. Then accessing cart.php I got this error: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/PATHTO/public_html/FOLDER/templates_c/%%42^422^422A4B4A%%products.tpl.php on line 13 I then undeleted the line, still the same error. I checked the template_c folder and found a ton of temp files and then deleted %%42^422^422A4B4A%%products.tpl.php Still the error persists. I have tried to empty cache, remove cookies, quit browser but still the same error exists even though the temp file doesn't. Any ideas? TIA.
  5. Totally. I don't want to remove it, just add a few links to the same line - home | about us | copyright date etc ... and at the same time add a class to style it better.
  6. I, obviously, have no problem including 'Powered by' info in the footer but I would like to: 1, add other info within the same area 2, add a new CSS class (to be able to style it differently) Is this possible? TIA
  7. I'm just using an adapted default template. (copied default folder and then changed css etc so no structural changes)
  8. hey all. I'm only selling 1 product and therefore what to remove the 'category' selection on cart.php. is this possible? TIA
×
×
  • 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