Jump to content

Customize cart.php page (reorder items)


Recommended Posts

I am trying to modify the cart.php page. This page displays the Web Hosting plan comparisons in my WHMCS website. At the bottom of this page it says "Included With Every Plan" and then lists features. I want to show this section more prominantly, so I want to move the "Included With Every Plan" heading more towards the top of the page. I looked up about the .php file, and then the .tpl file that is associated with it. I downloaded some files to look at them, but couldn't find where to move this heading as I'm not versed in php or html at all.

Would there be a place I could access (probably .tpl file written in html) where I could simply rearrange the location of the "Included With Every Plan" heading?

The page in question is: https://mywebhostingaccount.com/cart.php

Link to comment
Share on other sites

On 31/05/2020 at 06:47, mywebhostingaccount said:

Would there be a place I could access (probably .tpl file written in html) where I could simply rearrange the location of the "Included With Every Plan" heading?

if you're using the premium comparison template, then it would be in /templates/orderforms/premium_comparison/products.tpl and specifically moving the block of code that starts...

{if count($productGroup.features) > 0}

18GDHAq.png

if you're going to do this, then you may be better off duplicating the premium folder, renaming it and then associating that with your product groups - otherwise, any changes you make to this template will be overwritten after the next WHMCS update.

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.

×
×
  • 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