Jump to content


Level 2 Member
  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About cluster

  • Rank
    Level 2 Member
  1. {$domain.renewprice|replace:{$currency.suffix}:''} it seems to work ;-) thank you very much, you saved my day!!!
  2. yep ... it seems that solved the problem ;-) which function has -> to prefixed() and is it OK if it is gone?
  3. there are two parts: <div class="col-sm-4 item-price"> {if count($domain.pricing) == 1 || $domain.type == 'transfer'} <span name="{$domain.domain}Price">{$domain.price}</span> <span class="cycle">{$domain.regperiod} {$domain.yearsLanguage}</span> <span class="renewal cycle"> {lang key='domainrenewalprice'} <span class="renewal-price cycle">{$domain.renewprice->toPrefixed()}{$domain.shortYearsLanguage}</span> </span> {else} ... </div> <span class="renewal cycle"> {lang key='domainrenewalprice'} <span class="renewal-price cycle">{$domain.renewprice->toPrefixed()}{$domain.shortYearsLanguage}</span> </span> {/if} </div>
  4. hmm, there is no: <?php } else { ?> in my viewcart.tpl or in which other file could this be found?
  5. Thank you guys, WHMCS 7.4.2 (modern theme) PHP 7.0 FCGI line 449 <span class="renewal-price cycle"><?php echo $_smarty_tpl->tpl_vars['domain']->value['renewprice']->toPrefixed(); echo $_smarty_tpl->tpl_vars['domain']->value['shortYearsLanguage'];?> </span> </span> <?php } else { ?> <span name="<?php echo $_smarty_tpl->tpl_vars['domain']->value['domain'];?> Price"><?php echo $_smarty_tpl->tpl_vars['domain']->value['price'];?> </span> it happens only with a included (free) domain name, seems to be saved in a browser cookie and the browser can not reach the cart view without ckearing the browser cache after that.
  6. I get an error message when a coupon are entered with an order (including domain name) Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. Error: Call to a member function toPrefixed() on null in /var/www/virtual/ḿydomain.tld/templates_c/c3a7fb9557e2a85390cfdc63c5fedfb1ffadea6f_0.file.viewcart.tpl.php:449 Stack trace: #0 /var/www/virtual/ḿydomain.tld/htdocs/clients/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(122): content_5aa7e278b8a6e4_44465011(Object(Smarty_Internal_Template)) #1 /var/www/virtual/ḿydomain.tld/htdocs/clients/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(199): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #2 /var/www/virtual/ḿydomain.tld/htdocs/clients/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #3 /var/www/virtual/ḿydomain.tld/htdocs/clients/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render(false, 0) #4 /var/www/virtual/ḿydomain.tld/htdocs/clients/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #5 /var/www/virtual/ḿydomain.tld/htdocs/clients/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch('/var/www/virtua...', NULL, NULL, NULL, false, true, false) #6 /var/www/virtual/ḿydomain.tld/htdocs/clients/includes/clientareafunctions.php(0): WHMCS\Smarty->fetch('/var/www/virtua...') #7 /var/www/virtual/ḿydomain.tld/htdocs/clients/cart.php(0): outputClientArea('viewcart', false, Array) #8 {main}012t6ßü
  7. that's great! respect ... thank you for your help
  8. modern theme > configureproductdomain.tpl > $freedomaintlds would it be it possible to put a href link on the individual domain endings, disassemble the string ... divide ?? f.ex. <a href="{$freedomaintlds}">{strtoupper($freedomaintlds)}</a> all endings have the same link then ... maybe split that somehow ... ?
  9. sort domain endings in modern theme

    thank you Brian ... it works it seems I'm a little confused
  10. sort domain endings in modern theme

    thanks Brian, I've already tried that, but the arrow icons do not work ... or a problem in chrome browser maybe?
  11. I use the modern order theme ... how can I sort the domain endings in the dropdowns in alphabetic order?
  12. that works very well, great work!
  13. haha, yes you are probably right ;-) thanks a lot for your help and the hook, that's great!
  14. yeah. I guess that would be the best solution would it be possible to keep it only for the frontend by editing the checkout.tpl?
  15. if I turn it off (Phone Number formatting) are the country codes removed from the database user phone numbers right after?

Important Information

By using this site, you agree to our Terms of Use & Guidelines