Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upload doc file from customer


markgill

Recommended Posts

I think this is not what stores usually do so I'm not surprised that I've not found a topic or contribution on uploading Word doc files (although I may have missed one):o The idea is that the customer is ordering one or more copies of a book in which the content is created by the customer and uploaded as a doc file. The cart needs to process various options (number of pages, size of the book, binding, etc.), take payment, and then receive the doc file.

 

I think the customer should get a coupon that verifies a valid customer who has paid and then allow the customer to upload to a proteted area. In this way, it does not have to happen at the point of sale or even be a part of the cart system. Does that make sense or should this be done another way? If so in what way and how?

Mark Gillingham / [email protected]

Link to comment
Share on other sites

I am not sure if this is helpful to you, but there is a contribution I wrote to help manage when downloads are available based on payment type and offer a Free Shipping or Free Payment module as well based on cart $total and cart weight.

 

The Downloads Controller v5.3 is designed to handle many of these issues and is configurable from the Admin based on Payment modules orders_status settings.

Link to comment
Share on other sites

I've done *almost* the same thing. In my case, a client wanted his customers to upload "adverts". So I placed a product in the catalog which is a "buy advertising space" product.

 

The customer puts it in his cart and checks out, and fully completes the checkout. In checkout_success.php he is directed to a non-osc directory in which resides a product adding script.

 

This is htaccess/htpasswd protected. The username and password is sent to the customer on the "thank you for your order" email.

 

The adding script allows the customer to input his "advert" details and image etc, which then uploads into the images directory and writes the info to the relevant database tables: products, products_to_categories etc.

 

Once he hits submit, the product goes straight in as an "out of stock" product, and an email is sent to the site owner to let him know.

 

Once the site owner receives payment, he sets the product "in stock", and there we are...

 

Pretty easy, pretty straightforward.

 

hth

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...