Results 1 to 5 of 5
  1. #1

    Idea or Suggestion Change shopping cart layout

    Hi Everyone,

    I have always searched the forums for any problems but on this occasion i am unable to find the answer.

    I want to change the layout of my shopping cart to display

    Items: 0
    Value: 0
    > Go To Checkout

    The Value will be updated each time an item is added etc.
    I currently have a MOD installed which displays a picture of the item in the cart within the shopping cart layout box. I would like to reverse the process of this and have simple information like above.

    If anyone remembers the name of the above mod or any instructions how to remove it that would be great also.

    Thanks again for the help

  2. #2
    Join Date
    Feb 2005
    Location
    Belle Vernon, Pa
    Posts
    29
    Plugin Contributions
    0

    Default Re: Change shopping cart layout

    Quote Originally Posted by TrickyIreland View Post
    Hi Everyone,

    I have always searched the forums for any problems but on this occasion i am unable to find the answer.

    I want to change the layout of my shopping cart to display

    Items: 0
    Value: 0
    > Go To Checkout

    The Value will be updated each time an item is added etc.
    I currently have a MOD installed which displays a picture of the item in the cart within the shopping cart layout box. I would like to reverse the process of this and have simple information like above.

    If anyone remembers the name of the above mod or any instructions how to remove it that would be great also.

    Thanks again for the help

    Which version of the cart are you running?

  3. #3

    Default Re: Change shopping cart layout

    Hi Mike thanks for the reply,

    I am using 1.3.6

    Since posting my question i have downloaded and installed Shopping cart summary mod from the downloads section.

    I now have

    Items: 0
    Value: 0

    But unable to workout where to put the html code for the link to the checkout page.
    Any help appreciated

  4. #4
    Join Date
    Sep 2006
    Location
    Madison, WI
    Posts
    64
    Plugin Contributions
    0

    Idea or Suggestion Re: Change shopping cart layout

    Find tpl_shopping_cart.php in includes/templates/YOUR_TEMPLATE/sideboxes/

    Look for line 46 where this code appears:
    Code:
    if ($_SESSION['cart']->count_contents() > 0) {
        $content .= '<hr />';
        $content .= '<div class="cartBoxTotal">....
    In that block you can input anything else you like. In my site I put some little icons for viewing the cart and going to checkout. The code for the checkout page is:

    Code:
    <a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="Checkout" title="Checkout">Checkout</a>
    You could also just hard code it too by copying and pasting the URL that displays when you go to checkout...

    Here's a great tip for the future... Use the Developers Tool Kit in the ZC admin. It's works wonders for this kind fo stuff. That combined with viewing the source to find what your looking for (classes or id's that you can search for using the Dev Tool Kit).

    Good luck!

  5. #5

    Default Re: Change shopping cart layout

    thanks bomb, sorry for the late reply, i have not been on the site in a few days.

    I tried to use your suggestion however unfortunatly because i am using the shopping cart summary mod from downloads the code is different.

    As soon as i try to add a href the cart falls apart and spits out errors causing me to revert back to standard code.

    I really like the look of your site, you have done alot of good work there, are you still using 1.3.6 or have you upgraded? i noticed the log in page is split.

    Thanks again

 

 

Similar Threads

  1. can i change the contast in my shopping cart
    By delightz in forum Basic Configuration
    Replies: 1
    Last Post: 5 Nov 2006, 08:48 AM
  2. Product disappear in shopping cart under this situation
    By icemanchai in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 9 Aug 2006, 06:45 PM
  3. Shopping Cart Buy Now prob after 1.3 upgrd
    By misterbliss in forum Upgrading from 1.2 to 1.3.x
    Replies: 3
    Last Post: 10 Jun 2006, 07:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •