osCmax v2.5 User Manual
Results 1 to 3 of 3

info_shopping_cart.php ?? Where is this called from?

This is a discussion on info_shopping_cart.php ?? Where is this called from? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I didn't even know this file existed! Where is this called from? I'd like to add a link to this ...

      
  1. #1
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default info_shopping_cart.php ?? Where is this called from?

    I didn't even know this file existed! Where is this called from? I'd like to add a link to this pop-up window in my login box is that possible?

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    This files is called as FILENAME_INFO_SHOPPING_CART and is called/loaded from LOGIN.PHP in MS2...(aprox line 84)

    In MS2-MAX or if your using BTS this was moved to /includes/javascript/login.js
    Code:
    <script language="javascript"><!--
    function session_win() {
      window.open("<?php echo tep_href_link(FILENAME_INFO_SHOPPING_CART); ?>","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();
    }
    //--></script>
    Which defines a java script called "session_win" is called from - /language/english/login.php (at the bottom):
    Code:
    define('TEXT_VISITORS_CART', '<font color="#ff0000"><b>Note:</b></font> Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. <a href="javascript:session_win();">[More Info]</a>');
    Other than that - you may call this just like anything else you want in OSC.

    Good Luck!

  3. #3
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default

    um..ya...I found it (dumb blonde moment) I *thought* this text/link was supposed to be on the login page, but it
    only shows when you try to checkout before logging in...doh! LOL

    Thanks for the reply though! I always appreciate people taking the time to answer my question!

Similar Threads

  1. Where is the 'add to cart' called from?
    By groggory in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 02-07-2006, 12:49 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
  •