The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 7 of 7

Thread: How do I expand the shopping cart field?

  1. #1

    Afrostyle How do I expand the shopping cart field?

    Hi all I am not sure if anyone here can help as this is to do with OS Commerce, but no one hasn't got the answer on there web page/forum so Iv come here see if anyone can help me.

    I am having problems expanding the shopping cart field. As the customer adds items to the cart and if the customer wanted to browse around the shop then the items are still there. Now if the customer adds items into the cart and then goes onto other pages like for example "Home Page, Retail Concept, etc." and then goes back to the shopping cart the items have vanished from the cart.
    Also how would I change the shopping cart page from being "Index.php" to another name without messing up the other pages within the shopping cart page? As I tried that as well it didn't seem to work.

    I thought I had a solution by adding the following lines within the other pages to try to expand the shopping cart field but that didn't work.

    require(DIR_WS_INCLUDES . 'application_bottom.php');
    So can someone help me please on a solution to this.

    Thanks in advance for any help.

  2. #2
    Can we view this somewhere online ?

    You can never underestimate the stupidity of the general public.

  3. #3
    sorry its still running on my machine as local host.

  4. #4
    But I have found something that is part of what I need doing, I've search everywhere on the web and tryed to understand it but I still can't so I would ask any of you to help me how would I convert My code with OSsid number at the end of the link.

    <ul id="menu">
    <li><a href="http://localhost/catalog/indexM.php?page=Home" >Home Page</a></li>
    <li><a href="http://localhost/catalog/indexM.php?page=The%20Retail%20Concept" >The Retail Concept</a></li>
    <li><a href="http://localhost/catalog/indexM.php?page=Contact" >Contact</a></li> 
    <li><a href="http://localhost/catalog/index.php" >Product Range</a></li>
    <li><a href="http://localhost/catalog/indexM.php?page=Terms%20and%20Conditions" >Terms &amp; Conditions</a></li>
    <li><a href="http://localhost/catalog/indexM.php?page=News%20and%20Events" >News &amp; Events</a></li> 
    So on the address bar would have a OS Session ID come up example;

    The information was on here so I didn't understand it

  5. #5
    HTML Code:
    <a href="http://localhost/catalog/indexM.php?page=Home" >Home Page</a>
    would become:
    PHP Code:
    <a href="<?php echo tep_href_link('indexM.php?page=Home''''SSL'); ?>">Home Page</a>
    or something like that....

    You can never underestimate the stupidity of the general public.

  6. #6
    Thanks for the help, but its all sorted now, it was to do with my xammp I think it need some modes so that it can run, cos as I uploaded it on to a live host and it works fine, but thanks for your help RvGaTe

  7. #7
    Time to develop an Ajax version of a shopping basket.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012