WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » [Plugin: WP e-Commerce] Customer File Upload

[Plugin: WP e-Commerce] Customer File Upload

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yes

    How do I go about doing it??

    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?

    Roy Ho

    @splashingpixelscom

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP e-Commerce] Customer File Upload’ is closed to new replies.
Skip to toolbar