Results 1 to 13 of 13

Thread: Modify Cart Display

  1. #1
    Join Date
    Jan 2012
    Location
    USA
    Posts
    360

    Default Modify Cart Display

    Hi i am using a copy of the portal template and im trying to mod the look of the initial product cart display but i cannot find which template file is for the cart.

    One of the things i want to do is this.

    on the shopping cart page it shows Shared Hosting as the title.
    Then under that it has a link that says (Choose another category) when you click on that link it opens a small frame box and inside that box it says
    Register Domain Transfer Domain View Cart

    What i want to do is show that frame all the time without having to click on the (choose another category)

    so i want

    Register Domain Transfer Domain View Cart

    to show up all the time at the top of the page rather than have to click on a link first.

    Anyone know what tpl file handles the shopping cart initial view with available products all listed for selection?

  2. #2
    Join Date
    Jan 2012
    Location
    USA
    Posts
    360

    Default

    looked thru most of the templates, have not found it yet, any ideas please?

  3. #3
    Join Date
    Jan 2011
    Posts
    298

    Default

    The .tpl files you want are in templates/orderforms/.

    In the folder of the cart you are using.
    Sitepearl Networks
    WHMCS Script Installer - WHMCS KB Articles
    Reliable Website Hosting Solutions

  4. #4
    Join Date
    Jan 2012
    Location
    USA
    Posts
    360

    Default

    oh ok thanks so much for that

  5. #5
    Join Date
    Jul 2012
    Posts
    6

    Default

    I'm looking to do exactly the same thing but cannot work out what to do to the HTML to make it so the box is always there and you don't need to click on "(Choose another category)" to display it..

    Any ideas?

  6. #6

    Default

    Bump this thread as I am looking to accomplish this as well.

  7. #7
    Join Date
    Jul 2012
    Posts
    6

    Default

    I still cannot work this out..

    Anyone at all ?

  8. #8

    Default

    So I am also still in need of help, but I think I have it narrowed down. This is the command that allows you to click on the link and open the categories:

    <div align="center"><a href="#" onclick="showcats();return false;">({$LANG.cartchooseanothercategory})</a></div>

    However, I have tried many different choices to make it be open all the time, I have removed it, no good. I tried onmousemove which made it appear and disappear continuously, any help would be greatly appreciated.

    I also tried onload to no avail.

    Thanks
    Last edited by richardr35; 07-27-12 at 07:09 PM.

  9. #9

    Default

    tumbleweeds...

  10. #10
    Join Date
    May 2011
    Posts
    6

    Default

    Quote Originally Posted by richardr35 View Post
    tumbleweeds...
    I am looking for the same thing? Bump .. anybody ..

  11. #11
    Join Date
    May 2011
    Posts
    6

    Default

    Anybody , I could use some help too ..

  12. #12
    Join Date
    Dec 2008
    Location
    Myrtle Beach, SC
    Posts
    386

    Default

    What you need to do is edit the stylesheet for the cart template you are using and remove the display: none line for the categories div.

    e.g. if you were wanting to do this for the modern template, in the modern template folder edit the style.css file.

    And change the following
    Code:
    #order-modern #categories {
        display: none;
        width: 75%;
        margin: 10px auto 0 auto;
        padding: 10px 0 10px 15px;
        background-color: #666;
        text-align: center;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 5px;
    }
    to this:

    Code:
    #order-modern #categories {
        width: 75%;
        margin: 10px auto 0 auto;
        padding: 10px 0 10px 15px;
        background-color: #666;
        text-align: center;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 5px;
    }
    After making this change, be sure and shift reload the page in order for the new style sheet to load and the categories will show by default now on every page that uses them.

  13. #13

    Default

    You Mr. Clarke are my HERO. That worked perfectly, thank you for taking time to post this. I looked at that 100 times and decided that "none" was equal to null and had no bearing on the display at all. You are truly a lifesaver, have a great day!

Similar Threads

  1. How to modify cart.php ?
    By [email protected] in forum Customisation & Integration Questions
    Replies: 4
    Last Post: 07-16-10, 08:29 AM
  2. Display tax in cart
    By hostforce in forum Feature Requests
    Replies: 1
    Last Post: 10-16-08, 08:37 PM
  3. custom cart display
    By webcasting in forum Customisation & Integration Questions
    Replies: 0
    Last Post: 02-07-08, 02:58 PM