Jump to content

Adding Virtual Products via Webservice


a1000car

Recommended Posts

Hello!

 

I'm in need of assistance regarding creating products via webservice.

I'm using the PSWebServiceLibrary.php to connect to my shop and create / update products.

 

So far i'm able to use the API to handle normal products, but now i need to create virtual products.

The goal is to be able to create virtual products with an associated file via webservice.

 

One of my client requirements is to have a simple interface to upload images that will be converted to virtual products, using the same image as the associated file of the virtual product and as the product image.

I've already checked all fields available in the API and cannot find anywhere where to edit / add the associated file!

 

Can someone please give me a help? This is crucial for my client's shop.

If not possible, is there any modules for mass upload of images and turn them into virtual products with associated files?

 

I'm desperate... your help is very important to me!

 

post-597319-0-85188100-1403202921_thumb.jpg

 

post-597319-0-42279800-1403203083_thumb.jpg

Edited by a1000car (see edit history)
Link to comment
Share on other sites

  • 7 months later...
  • 1 year later...

Thanks!

Seems like that's a way of adding regular products. I was referring to adding virtual products.

The difference is that I need to know what to do with the file (full resolution image, pdf, music file, etc) that's attached to the product and sent to the buyer upon purchase.

Link to comment
Share on other sites

Thanks! I noticed they set virtual to true, but what I fail to understand is where the link to the product is defined.

After a bit of reading, do I understand correctly that as far as the product properties one only has to define 'virtual = true' and then place the actual virtual product in the /download directory and give it some convention MD5 name?

 

Thanks again!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...