Problem with File Upload Product Option

Hi,

With this template, when I add a file upload option to a product, there is a problem. When the customer clicks add to cart and is redirected to the cart page, the uploaded file does not show up. This works fine when I switch back to the default template or another template.

-Garth

3 answers

Profile photo of JA Developer 0.00 $tone September 29, 2009
Public

Hi fluidnotion

We fixed this issue and update the latest version.

To fix it, please open app\design\frontend\default\jm_sulfurtemplate\cat alog\product\view.phtml file, at about line 44, find following code:

Code:

<form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form">

and change to:

Code:

form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form" <?php if($_product->getOptions()): ?> enctype="multipart/form-data" <?php endif; ?>>
#2

This question is now closed

Written By

Comments