Jump to content

how do I change the "Comparison" layout


amartin99

Recommended Posts

it's not something i'm going to attempt, but I think it should just be tweaking the two foreach loops in products.tpl (lines 45-74), with perhaps some css changes too.

 

remember that if you want to seriously modify an orderform, it's better to copy it, rename and upload - that way, when you do an whmcs update, you don't overwrite your changes... and would also allow other products to use the normal comparison form if you wish to.

 

if money is a bit tight at the moment, it might be easier to use the existing comparison form for now and come back to it at a later date.

Link to comment
Share on other sites

not what im looking for but you clearly have the right file in mind

it isn't - products.tpl is the only file that determines the order in which the table is created... no amount of fiddling with css will change that...

 

from a practical point of view, i'm not sure this would work in your case - if you take your screenshot as an example, you'd end up with 10 columns (product name, your 8 infos and order button)... that's going to be a tight squeeze to fit everything in.

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