SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1 , 2
Topic Limited Quantities and SoldOut 6684 Views

Limited Quantities and SoldOut

3 June 2011 at 6:25pm

Hi,
I like what I see so far, I just went through your videos and read up on the functionality.
You have done a great job.

One question though: Let's say I am selling a limited quantity of an item - maybe 1 camera, or 10 concert tickets,
is there a way in silvercart to set total quantity and deduct from this quantity when someone buys? (i.e. not adds to cart but actually pays for it)
thanks,

Re: Limited Quantities and SoldOut

3 June 2011 at 8:21pm

Hi bit99,

thanks for your interest in SilverStripe and your kind feedback.

We do need this feature for a project we are working on right now. I think it is safe to say that it will be available by the end of this month.

It is not very difficult to implement and thinking about it, it might be a good example for a hands-on tutorial on how to extend SilverCart ;-)

Cheers
Ramon

Re: Limited Quantities and SoldOut

3 June 2011 at 8:35pm

That sounds great ,

I have done a bit of silverstripe hacking in the past and its great if you can do it. I am thinking (with my more limited programming skills compared to yours) that the problem would be that once you checkout the cart, (enter the the payment gateway) silvercart would not know if the order was cancelled last second or the visa payment went through? or am I thinking wrong?

thanks,

Re: Limited Quantities and SoldOut

3 June 2011 at 9:00pm Last edited: 3 June 2011 9:01pm

Hi bit99,

with common payment methods it is possible to transmit the status of the transaction, either by directing the customer back to SilverCart or by sending information the the SilverCart online store with the current status.

But depending on your country and legal system, this might not be important for the stock keeping issue. Even without positive payment notification the customer _might_ still have a valid purchase contract.

In this case (thinking tickets and other time sensitive items) you may want to check with someone who is familiar with sales contracts in your country and can adapt your TOS properly.

Cheers
Ramon

Re: Limited Quantities and SoldOut

16 July 2011 at 1:28am

Hi,
I know you guys are busy and everything, and I am using your silvercart for free.
But I was just gonna see about this old post, if there is an update available with implementing quantities/inventory/out-of-stock that sort of thing. so that if you have 20 and you buy one, there are 19 left.

Or, if not, maybe if you have some pointers on how I could do some programming to get this working with paypal. I am not great at silverstripe programming, but not absolutely terrible either.

thanks.

Re: Limited Quantities and SoldOut

17 July 2011 at 10:17am

Hello bit99,
by the end of next week this feature will be implemented. This will be my job for the next days.
Thanks to our OOP abstraction there is a good possibility to decrement the stock amount: When an order position is instantiated. This would be independent from any payment module. It could happen in the onAfterWrite() hook.
Before I start I will discuss this with Sebastian and Ramon on monday in the office.

Have a nice Sunday,

Roland

Re: Limited Quantities and SoldOut

18 July 2011 at 2:31pm

Hi guys, thanks for the great work you're doing. I am in with bit99, I also want this feature too. looking forward to the update and release.

Re: Limited Quantities and SoldOut

18 July 2011 at 5:33pm

Thanks for your feedback.

Our heads are smoking after we had to sort out some details... but I am confident that the feature will find it's way to SilverCart.

Cheers
Ramon