Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Weird Inventory Problem


js28784

Recommended Posts

Having a very odd inventory problem here.

 

All of the products on my site are downloads (which I downloaded & use the download contrib).

 

But, I only want to resell each download 6 times, which I have set the inventory level to on the product page.

 

HOWEVER, OSc is not subtracting from the inventory levels when the product is downloaded and purchased.

 

This is whats weird, I created one product that did not have a download associated with it--- and subtracted from the Inventory level as it should. So, I know this function works... just not when dealing with downloads.

 

For what it's worth here are my settings:

(Inventory level for each product is set to 6)

 

STOCK CONFIG:

Check Stock Level= True

Subtract Stock= True

Allow Checkout= True

Mark Product Out Of Stock= ***

Stock Re-Order Level= 0 (I have set this to so many different numbers)

 

Download Config

Enable Download= True

Download By Redirect= True

Expiry Days= 7

Max # Of Downloads= 5

Downloads Controller Update Status Value= 4

Downloads Controller Download on hold message= DEFAULT MSG

Downloads Controller Order Status Value= 0

 

Thanks for any help that someone could provide!

Link to comment
Share on other sites

downloads are not decremented from stock as it is assumed there are an infinate number - you will need to edit checkout_process.php to change this.

Your online success is Paramount.

Link to comment
Share on other sites

Thanks for the reply.

 

Not to sound naive (but I am when it comes to PHP), do you have a thought as to I could accomplish this--- as in, what do I need to do in checkout_process.php

 

Thanks so much!!!

 

downloads are not decremented from stock as it is assumed there are an infinate number - you will need to edit checkout_process.php to change this.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...