Pass parameter with product to shopping cart

I am creating a checkout for an after school program.  I have a page where parents see the list of classes that their children (could be more than one)
are signed up for... I have a button by each class to add it to the shopping cart, and jquery to add a notice next to the button that the class was added to the cart after the button is pressed.
But if a parent has multiple students, I would like to have the shopping cart reflect which student the class is purchased for.
Is there any way to pass this information to the cart and order?

There is no field in the order PER item (where the childs name would go I assume)... there is for the order itself, the only idea I could think of would be a summary of the items in the order and which child ordered what class.
Hope that helps.

Similar Messages

  • Add Unique Product in Shopping Cart

    Hi,
    I want to add a product only one time in shopping cart. I can add multiple product but want to have validation if buyer is going to add same product again. I have tried to resolve this problem with the help of custom JS but I am unable to find out product code at the time of "Add Sopping Cart" whether it is added or not. Please provide me fruitful solution.
    e.g.
    Go to :
    1- http://www.cybre-t2v.com/voices-and-languages
    2- Select Product
    3-Add to Shopping Cart
    4- Again go to Product list page  http://www.cybre-t2v.com/voices-and-languages
    5- Now again select same product
    6- Again "Add to Shopping Cart" : Here should be message "You cannot add same product in shopping cart"
    Thanks
    Raghu

    Wait, actually even easier would be to set the maximum qty for the product to 1 in the product details.

  • How to get Products from Shopping Cart(Basket) in ATG

    I want get all products from shopping cart
    can any one help on this requirement?
    Thanks in Advance.

    Hi ,
    If you want directly JSP , use the droplet as suggested correctly by shaik,
    If you want it in java code,
    A good way is to make a Droplet ( global scoped ) and pass the current shopping cart to the droplet.
    eg :
    <dsp:droplet name="MyDroplet">
    <dsp:param name="inOrder" bean="/atg/commerce/ShoppingCart.current"/>
    OR
    <dsp:param name="inOrder" bean="/atg/commerce/order/purchase/CartModifierFormHandler.order" />
    <dsp:oparam name="output">
    </dsp:oparam>
    </dsp:droplet>
    and in the droplet java file you can use it as :
    CommerceItemContainer inOrder = (CommerceItemContainer) request.getObjectParameter("inOrder");
    and you can use inOrder.getCommerceItems(); to get a list of commerce items from order.
    You can directly get the order in your droplet ,but then you will have to make it request scoped , making global scoped droplets is good practice.
    ~Praveer

  • Pass parameter with apostrophe

    Hi,
    How I can pass parameter with apostrophe to a store procedure.Whats the change i need to make to ' when i am passing.
    Thanks in advance.
    Pramod

    If you are using bind variables, the string should be escaped automatically. If you are not using bind variables, you should be using bind variables.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Passing parameter with apostrophe to sp

    Hi,
    How I can pass parameter with apostrophe to a store procedure.Whats the change i need to make to ' when i am passing.
    Thanks in advance.
    Pramod

    just use double apostrophe
    SQL> var x char
    SQL> exec :x := '''';
    PL/SQL-Prozedur wurde erfolgreich abgeschlossen.
    SQL> print x
    X
    '

  • Help with Individual Product - Large/Shopping Cart layout

    Okay we have an online store layout that we kind of configured around our product image, which can be seen here: http://www.divineunity1.com/womens/dresses/blackstrapless We are happy with the way that it looks however we would like to reconfigure our shopping cart to match the style of this product page. How do we change the width of the shopping cart?

    It is not just CSS.
    CSS is only the style and presentation of it, you have HTML as well and layout of the product and store and the overall templates that wrap them. I can not see any changes to a pre-existing BC template, unfortunatly just replace with static images..
    There are guides on the guide section
    http://forums.adobe.com/community/business_catalyst/documents
    You got links to 3rd parties on the right there.
    You got your main help - http://helpx.adobe.com/business-catalyst.html
    If you are really struggling you can contact us at prettypollution.com.au or others if they are in your country. But you may need to pay someone to get things done.

  • Looking for script that will connect product and shopping cart

    I'm looking where I can find the script to make the product price or any other specifacations work with the shopping cart. Does anybody know where I can find this script at online?
    Thanks
    Bobby

    I'm looking where I can find the script to make the product price or any other specifacations work with the shopping cart. Does anybody know where I can find this script at online?
    Thanks
    Bobby

  • Trace Users with attachments in  shopping carts

    Hi experts,
    I want to pick up all  the users who have cretaed shopping carts with attachments. How will i do this?
    Kindly help asap..

    Hi,
    Please check the table : BBP_PDATT
    in that the last selection. File name.if it exists then attachment is there
    G.Ganesh Kumar

  • Pass parameter with blank space for report ver 6

    Hi,
    I face a problem that i willing to pass the acno where it's value with blank space, for example ' 9' as parameter into my report, and assign it as v_acno. Inside the report query i add a where condition, acno >= :v_acno. When i run the report and pass acno without ' , it do not show any record. But when i run the report and pass acno with ' then able to show the records.
    for example the value i key in
    with ' = ' 9'
    without ' = 9
    So how i can solve it by pass the acno without ' but the record still able to show?
    thks
    Message was edited by:
    user569740
    Message was edited by:
    user569740

    Hi Nick,
    It occurs because an argument of the DTExec commands must be enclosed in quotation marks if it contains a space. From the dtexe (SSIS Tool): Syntax Rules section of the
    dtexec Utility (SSIS Tool) document, we can see:
    All options must start with a slash (/) or a minus sign (-). The options that are shown here start with a slash (/), but the minus sign (-) can be substituted.
    An argument must be enclosed in quotation marks if it contains a space. If the argument is not enclosed in quotation marks, the argument cannot contain white space.
    Doubled quotation marks within quoted strings represent escaped single quotation marks.
    Options and arguments are not case-sensitive, except for passwords.
    So, you need to make the value of the variable @QUERY_STRING within double quotes in the value of the variable @Cmd or remove the space within the @QUERY_STRING value.
    Regards,
    Mike Yin
    TechNet Community Support

  • Passing parameter with space?

    How does java pass parameter value with spaces? e.g. url?param1=value with space .
    Is there any built in method like PHP's addslashes?
    Thanks.

    URLEncoder.encode("value with
    space","UTF-8")Also the core JSTL tag c:url will encode parameters with spaces, and of course there's the crude way of just using the + sign.

  • E-Product and Shipping Product in shopping cart not displaying shipping options. What is the fix?

    Found this work around from www.bcgurus.com. Thanks guys!
    "You can give your downloads a weight of 0.01 and the shipped items at 1, then on your shipping options give a weight limitation of 1 to 800. Then as long as the items in the shopping cart are above one pound, but under 800 pounds you have shipping. If it is just the media downloads there will be no shipping." - Chad Smith
    BC is working on fixing this bug I think!

    This doesn't seem to address the fact that downloadable items should have no shipping cost. If you use total shopping cart value to determine shipping cost, this is what happens:
    * You have a shipping fee of $5 for all orders between $0-50 and a shipping fee of $10 for all orders between $50.01-100
    * You add $45 worth of socks and a $10 ePaper download to your cart
    * BC charges you $10 for shipping, even though you're not shipping the ePaper
    This is a very common scenario for our clients. We really need a "Shipping Never Applies" setting for products, just like we have a "Tax Never Applies" setting.

  • Problem with buttons in shopping cart layout

    hello,
    can anyone explain what i'm doing wrong here...
    i'm simply trying to use my own buttons in the shopping cart layout but the tag descripton is appearing alongside the buttons (and the buttons don't work) after i've changed the code.
    Old code:
    {tag_clearcartbutton,<img src="/CatalystImages/shop_clearcart.png" />} {tag_buybutton,<img src="/CatalystImages/shop_checkout.png" />}
    Result:
    New code:
    {tag_clearcartbutton,<img src="/img/btn_clearcart.fw.png" />} {tag_buybutton,<img src="/img/btn_checkout.fw.png" />}
    Result:
    regards and thanks,
    Frank.

    i got this reply from Sidney (Bc) and it worked - reset the page to the default and rebuild...
    Humm strange...
    When I restore the checkout layout back to original and apply the {tag_clearcartbutton,<img alt="" src="/img/btn_clearcart.fw.png" />}  + {tag_buybutton,<img alt="" src="/img/btn_checkout.fw.png" />} reference it works fine which leads me to believe something in your current code might be conflicting. 
    I would look into this or perhaps look to restore the layout back and go from there.
    -Sidney

  • Help with purchasing from shopping cart

    When I try to purchase my shopping cart, I receive a message that my "session has timed out. Please start this operation from the beginning." I have purchased and downloaded songs on this computer before (my macbook), but not for a few months (I don't buy songs very often). I tried updating to the latest version of itunes and restarting my computer but it is still giving me the same error message. Any suggestions? I have quite a few songs in the shopping cart that I want to buy

    This is a bit of a long shot, but it worked for another user, so it's worth a try. Create a normal playlist and title it anything you like ("Buylist", for example), and drag the items from the Cart to that list so you have them for reference. Then go to the iTunes Store preferences, select "Buy and Download Using 1-Click", close the preferences window, reopen the preferences window and reselect "Buy and Download Using Shopping Cart". Then see if your Shopping Cart will work; you can click the "buy" button for each track in your "buy" playlist.
    If not, another user reported that the problem occurred when his credit card expiration date needed updating. Log into your iTunes Store account and check your credit card information.
    If neither of those suggestions helps, you may need to contact the iTunes Store customer support department through the form linked from the bottom of their web page and explain the problem to them.
    Hope this helps.
    Message was edited by: Dave Sawyer

  • How to write c# to pass parameter with craxddrt.dll?

    any example provided to open crystal report by passing parameter
    after add reference craxddrt.dll etc.
    for 8.5 report

    [Samples|https://wiki.sdn.sap.com/wiki/display/BOBJ/ReportDesignerComponentSDKCOM+Samples].
    Also check your Developer Help file...
    Adn as Don said, unless you have obtained license for craxDDrt.dll, you are breaking your agreement. Use craxDrt.dll...
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Pass parameter with fscommand exec

    Hi,
    I am writing a text file with batch file and this batch file which is called from fscommand.
    I need to pass a parameter from fscommand. Is is possible ?
    Following is flash and batch file code.
    Flash Source
    import flash.events.Event;
    bt.addEventListener(MouseEvent.CLICK,save);
    function save(e:Event){
        fscommand("EXEC","write.bat");
    Batch file
    ECHO This is my new text1 %1 > "temp.txt"
    Thanks ------------------- Amit

    As mentioned in one of your other posts you could use FileReference.save(...) this does require user interactive however and Flash Player 10.
    Alternatively you could create a userId and save the data in an online database (but obviously this isn't local)
    If you are using AIR you could create a local database
    Otherwise I don't do not know of a way to achieve what you are after

Maybe you are looking for

  • IPod nano is not recognized by laptop

    Hi I just bought a new iPod nano. iTunes doesn't recognize it. It says that the harware driver is not installed. The iPod works normally on my mac but not on the acer laptop which is running Windows Vista. My previous iPod nano worked normally on the

  • Foreign Trade Data

    We would like to generate export documents (FUCI, FUSD, FUCO) for orders that have a domestic ship to address.  The process works fine for export shipments, however there is no foreign trade data copied into the delivery or billing documents if the s

  • Macbook pro 13" no sound..

    Hey all, I have some strange issues with my macbook pro. Sometimes, it just stops sound output. I have to restart the whole thing to get sound back again. But this is quite annoying and it happens occasionally. Does anyone has a solution to this prob

  • Problems with the dock

    Hi i have just upgraded to mountain lion and my dock is not working properly at all, its like it freezes when i hover it with the cursor. Normally the icons will expand a bit when i do it now just the first icon does it (sometimes and sometimes not)

  • Having a bug only with Internet Explorer 7

    I am trying to create a special datagrid to store new member of a project (the interface is to create new project). I am able to open a cfwindow if the user want to add a new member into the datagrid. The cfwindow will consist of a form of 3 cfselect