Jump to content

Custimize cart.php?a=checkout&e=false


Recommended Posts

I have a custom template, that has fontawesome icons in the form fields on the registration but if a customer goes to buy a hosting package without registered first the icons are just text on this view. I cant seem to be able to figure out the file that does this to tweak it. 

Thanks for help in advance!

Link to comment
Share on other sites

10 hours ago, cmshosting said:

I have a custom template, that has fontawesome icons in the form fields on the registration but if a customer goes to buy a hosting package without registered first the icons are just text on this view.

you mean that you're seeing this....

WbW4CtE.png

10 hours ago, cmshosting said:

I cant seem to be able to figure out the file that does this to tweak it. 

you can't natively add FA icons to client custom fields output - are you trying to add them to the description fields ??

the template would be standard_cart/checkout.tpl, but the customfields input fields HTML is an array generated internally by WHMCS - so you'd really need to use an action hook to loop though the customfields and add an appropriate FA5 icon to each text input field... and if you used descriptions for those values, you'd likely then need to have the descriptions in the output (by editing the template or maybe using CSS).

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