Jump to content

Links in Products/Services and Product Addons


dbltoe

Recommended Posts

No matter how good you are, you can't get to microsoft.com from your site's Products/Services descriptions with a relative link. Some times you've got to send folks "offsite." Here's the answer for WHMCS versions 6 and 7.

 

Just change a standard call of <a href="http://www.somesite.com" target="_blank">some link</a> to <a href="http://www.somesite.com" target="_blank">some link</a> in the description of the Products/Services item. This replaces the colon (:) with its ascii equivalent and fools the system into showing a link without reacting to a real colon (:)

 

Unfortunately, this method does not quite work the same when used in a Product Addon description. Seems to be a bug (reported by me) that causes WHMCS to add the Product Addons to the cart when the link is clicked and NOT show or go to the link itself.

 

example can be seen here. Link in Magic Thumb Addon is the culprit.

 

Hopefully, a cure for the Product Addons will be found soon.

Link to comment
Share on other sites

No matter how good you are, you can't get to microsoft.com from your site's Products/Services descriptions with a relative link. Some times you've got to send folks "offsite." Here's the answer for WHMCS versions 6 and 7.

Just change a standard call of <a href="http://www.somesite.com" target="_blank">some link</a> to <a href="http://www.somesite.com" target="_blank">some link</a> in the description of the Products/Services item. This replaces the colon (:) with its ascii equivalent and fools the system into showing a link without reacting to a real colon (:)

another way is to remove the http: from the link...

 

<a href="//www.somesite.com" target="_blank">some link</a>

 

Unfortunately, this method does not quite work the same when used in a Product Addon description. Seems to be a bug (reported by me) that causes WHMCS to add the Product Addons to the cart when the link is clicked and NOT show or go to the link itself.

example can be seen here. Link in Magic Thumb Addon is the culprit.

Hopefully, a cure for the Product Addons will be found soon.

it's not really a bug (as WHMCS might define it) - just badly designed.

 

I can see the problem - the .js is making the whole div behave as one toggle... so it wouldn't matter if your description has a link or not, clicking anywhere on the addon box enables/disables the addon..

 

the simplest way around it would require a redesign of that div - but WHMCS will first a) have to decide if it's a serious issue and b) whether they want to fix it or not.

 

even if the answer to yes is both, don't be expecting a speedy update! I don't know when you reported it, but it's not unheard of for WHMCS to take months (possibly years) to update non-urgent issues. :roll:

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