help with PHP. need to display product user has chosen

Discussion in 'Customization & add-ons' started by heckubiss, Jul 16, 2004.

  1. heckubiss

    heckubiss New Member

    Joined:
    Jun 6, 2004
    Messages:
    21
    I am using the aMember Beta shopping cart
    On my main page I have created 'add to cart' buttons under all my products
    and the 'add to cart' button has the following code:

    <p style="margin-top: 0; margin-bottom: 0"><a href="#" onClick="MM_openBrWindow('blank.php?id=5','LIMEI','width=500,height=550')"><img border="0" src="images/add2cart.gif" width="78" height="18"></a>

    and the 'blank.php' has the following hidden image

    <th valign="top"><img src="http://mysite.com/amember/shop/index.php?add_to_cart[<?php print $_GET['id']; ?>]=1" WIDTH=1 HEIGHT=1></th>



    right now my blank.php just says 'thanks you for purchasing product' and a close button

    I would like it to say thank you for purchasing XXXX product where XXXX is the name of the product

    does anyone know what code I have to include in blank.php to acomplish this??


    thanks!!
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    please ask support about, it will not be discussed in the forum.
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Just spotted this thread from 2004 (wow)

    Seriously needing "Add to Cart" style functionality.. sounds like it existed at one time?

    Has anyone been able to hack a way to make this work?

Share This Page