How do I go about doing it??
Anonymous User 10445795
(@anonymized-10445795)
Hello, I have same tonytga’s request.
I’ll hope you can help me (us).
Best regards,
Alessio
how to input “file” upload in checkout form?
Yes you can do this on a product level, but not on the checkout as far as I know.
do you can generate this code to file type:
wp-e-commerce/wpsc-includes/checkout.class.php
case “textarea”:
$output .= “<textarea title='” . $this->checkout_item->unique_name . “‘ class=’text’ id='” . $this->form_element_id() . “‘ name=’collected_data[{$this->checkout_item->id}]” . $an_array . “‘ rows=’3′ cols=’40’ >” . esc_html( (string) $saved_form_data ) . “</textarea>”;
break;
————
case “file”:
$output .= “<input type=’file’ title='” . $this->checkout_item->unique_name . “‘ class=’file’ id='” . $this->form_element_id() . “‘ name=’collected_data[{$this->checkout_item->id}]” . $an_array . “‘ >” . esc_html( (string) $saved_form_data ) . “/>”;
break;
I added this code checkout.class.php, but I can not see the top of your page that generated the
Where else should I write