Jump to content

[No Hosting! Click to Add] even after hosting has been added


Recommended Posts

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!

Link to comment
Share on other sites

Hi,

On 6/12/2018 at 13:27, bruno said:

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]

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...

CTIcIxZ.png

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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