bruno Posted June 11, 2018 Share Posted June 11, 2018 On /cart.php?a=confdomains even if hosting has been added, [No Hosting! Click to Add] shows up when redirected back to /cart.php?a=view Does anybody know how to resolve this? Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 12, 2018 Share Posted June 12, 2018 is this using v7.5, "Six" and "Standard_cart" - because I don't think i'm seeing this occurring locally - what are the steps to follow? 0 Quote Link to comment Share on other sites More sharing options...
bruno Posted June 12, 2018 Author Share Posted June 12, 2018 Hi Brian I'm currently using a different theme, but using the standard_cart (I replicated the issue when testing with the Six theme also) To see the issue please 1) visit emojicatch.com 2) run a search, add a domain to cart, click continue 3) visit /cart.php?a=confdomains (or click Cart in the top-right) 4) click on [No Hosting! Click to Add] and add some hosting 5) continue You should see that even after adding the hosting, it shows [No Hosting! Click to Add] It's not theme-specific, as I've tried changing to Six. Happy to hire someone to fix it if is difficult to resolve. Thank you! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 14, 2018 Share Posted June 14, 2018 Hi, On 6/12/2018 at 13:27, bruno said: To see the issue please visit emojicatch.com run a search, add a domain to cart, click continue visit /cart.php?a=confdomains (or click Cart in the top-right) click on [No Hosting! Click to Add] and add some hosting continue You should see that even after adding the hosting, it shows [No Hosting! Click to Add] I see it on your site... but it wouldn't occur using "normal" domains. On 6/12/2018 at 13:27, bruno said: It's not theme-specific, as I've tried changing to Six. I don't think think that it's a theme issue exactly, I believe that it's a limitation of how WHMCS handles IDN/punycode domains (which is effectively what these emoji domains are)... you could argue it's a bug, but more likely a design flaw... I assume it's seeing those two domains as different and not associating the domain reg with the hosting... there's a conditional if statement in the template that shows the No Hosting text... {if $domain.hosting}<span style="color:#009900;">[{$LANG.cartdomainshashosting}]</span>{else}<a href="cart.php" style="color:#cc0000;">[{$LANG.cartdomainsnohosting}]</a>{/if} the quick fix might be to remove that line, and add a "Add Hosting" link (to cart.php) at viewcart.tpl... but this could be really tricky to fix properly. also, it looks like you can order multiple quantities of the hosting... but you can only host a domain once, so it makes no sense to offer quantities with this hosting product. 0 Quote Link to comment Share on other sites More sharing options...
bruno Posted June 15, 2018 Author Share Posted June 15, 2018 Ahh.. Thanks, that's a big help! Cheers Brian! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 17, 2018 Share Posted June 17, 2018 it might be worth opening a ticket with support about this, because what you're attempting to do is slightly unusual (nothing wrong with that though!), and it highlights a potential bug they may be unaware of (e.g how the cart interprets hosting domains that are IDN, compared to how it treats them as domains etc). as I said previously, for "normal" domains, this process works fine... but it's (highly) possible they didn't test how it works with IDN domains... I wouldn't expect any immediate solution from them, but possibly if the error gets pushed up the support food chain, then a fix may appear in a future version. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.