Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

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.

    Code:
    require('includes/application_top.php');
    
    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.

    Code:
    <div>
    <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> 
    </ul></div>
    So on the address bar would have a OS Session ID come up example;

    Code:
    http://localhost/catalog/indexM.php?page=Contact?OCsid34343243243242394
    The information was on here so I didn't understand it

    http://forums.oscommerce.com/index.php?showtopic=330479

  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 kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012