Announcement

Collapse
No announcement yet.

Image Upload Into Shopping Cart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Image Upload Into Shopping Cart

    I am using a PHP script that allows the user to upload a file to my server. How can I use the current users file and dislpay it in Act_ShoppingCartXML.html? I have modified Act_ShoppingCartXML.html as per the advanced guide to show thumbnails.

    I have tried to use a CUSTOMVAR:UPLOADIMAGE in Act_ShoppingCartXML.html but cannot link it to the relevant uploaded file.

    #2
    Just add something like

    <img src="uploadimage.php">

    to that template.

    Then write a PHP script that locates the image and outputs that image instead of HTML. If there's no image needed for that product the script returns a tiny invisible GIF.

    If you need to pass parameters to the script you can do

    <img src="uploadimage.php?cvar=CUSTOMVAR:UPLOADIMAGE">
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X