Community Forums 

Main Content

Adding SKU to Shopping Cart

    Feb 27 2015 20:59:52

    #1

    Einsam

    Join date : 2015-01-09      Posts : 18

    I am using NetObjects Fusion, which has Mals set up by default, but when an order is placed, the SKU (P/N) is not included.

    What code do I need to add to get the SKU included, as I have several items with similar descriptions and the same price and need to ensure I send the correct item.

    Thanks in advance.



    Feb 27 2015 21:30:50

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    scode

    or you can put it in the descriptions of your product.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Feb 27 2015 23:22:17

    #3

    Einsam

    Join date : 2015-01-09      Posts : 18

    What would be the format of the scode? Unfortunately, I am not a programmer, so I need a little extra help.

    Thanks



    Feb 27 2015 23:37:30

    #4

    Einsam

    Join date : 2015-01-09      Posts : 18

    Here is the code currently in the cart:

    action.value=http://ww8.aitsafe.com/cf/add.cfm
    action.method=get
    action.target=malse
    parameter.input.hidden.userid=<%store.userName%>
    parameter.input.hidden.product[]=<%product.name%>
    parameter.input.hidden.price=<%product.price%>
    parameter.input.hidden.currency=<%store.currencyCode%>
    parameter.input.hidden.tax=<%product.salesTax%>
    parameter.input.hidden.shipping=<%product.shippingCost%>
    parameter.input.text.qty=1
    includes.js.file1=formHandler.js
    label.qty=Quantity


    What do I need to add to include the Part Number (SKU)?



    Feb 28 2015 08:34:12

    #5

    Alan

    Join date : 2008-09-18      Posts : 2951

    You may find https://www.mals-e.com/tpv.php?tp=30 of use. It shows how to include your SKU value in the product name so that it is visible in the cart.

    If you only wish to see the SKU in admin, or you wish to use it in conjunction with discount tables, for example, then you would have to check with NetObjects support. You might need something like

    parameter.input.hidden.scode=<%product.sku%>

    Finally, I'd guess you should change

    parameter.input.hidden.shipping=<%product.shippingCost%>
    to
    parameter.input.hidden.units=<%product.shippingCost%>

    P.S. I have not used NetObjects.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Feb 28 2015 18:35:08

    #6

    Einsam

    Join date : 2015-01-09      Posts : 18

    Thank you, Alan - That was a great help.