Jump to content

links in cart lead to blank pages


AndreaB

Recommended Posts

Hi there, hope you are all well.

I have looked at the documentation and searched the forums but can't figure out how to remove the [edit configuration] links from the cart when there are no configurable options to the prodcuts. It is a usability issue as when you click on it - it leads to an empty page.

 

I do have hosting account products with configurable options in the mix though. But the ones in my 'other product/service' category don't. Links show for all.

 

Any help appreciated.

Cheers.

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

That's the /templates/orderforms/*your active template*/viewcart.tpl template you'd need to edit, eg:

 

<a href="{$smarty.server.PHP_SELF}?a=confproduct&i={$num}" class="textgreen">[{$LANG.carteditproductconfig}]</a> <a href="#" onclick="removeItem('p','{$num}');return false" class="textred">[{$LANG.cartremove}]</a><

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