Author
|
Message
|
Stuart Fenton
|
Thursday 08 December 2005 9:55:00 am
I've added a new contribution to the community. The extension enable simple stock control of items to be sold. When creating an item for sale simply enter an attribute with an identifier called "quantity". Then when it is purchased it decrements the quantity field by the quantity ordered. It's not very elegant but is perfect from small solutions. Were using it for a training company that sells a specific number of places on the course. This decreases the available slots as they are filled.
Regards Fats
Contibution is here: http://ez.no/community/contribs/workflow/ezsimplestockcheck
-- Stuart
[email protected]
http://www.grandmore.com
|
Lukasz Piech
|
Thursday 05 July 2007 7:18:37 am
Hi, When I activate this extension it disables other workflow events, ie shopsender and others How to prevent it? Lukasz
|
Stuart Fenton
|
Thursday 05 July 2007 1:55:34 pm
Hi there. The extension modifies the objects added to the basket one after the other but this should not interfere with other workflows. Have you tried using it at the end of your workflows or using it inside a multiplexer?
Regards Stuart
-- Stuart
[email protected]
http://www.grandmore.com
|
Lukasz Piech
|
Sunday 08 July 2007 1:53:37 am
Hi This is not the problem here. The problem is that whenever i activate the simple stock check in Extensions in Admin interface it disables another extension - shopsender in a sense that the weokflow event for shopsender dissapears. Lukasz
|
Lukasz Piech
|
Sunday 08 July 2007 2:01:04 am
OK. SOLVED.
Apparently it indeed interferes with shopsender but there is a solution for this: Instead of activating it in admin interface you need to add it to /settings/override/site.ini.append.php ActiveExtensions[]=ezsimplestockcheck then it works OK Lukasz
|
Lukasz Piech
|
Sunday 08 July 2007 2:23:35 am
Another thing though Is it possible to create a custom view that lists all products and the quantities? Has anyone done this already? Lukasz
|
Eivind Marienborg
|
Monday 19 November 2007 12:27:53 am
In my webshop I have different sizes of the same product, using the option data type, for example tshirts in small, medium and large sizes. The relevant would then be to know the remaining quantity of each size. Is there any plans on extending this contribution to handle this type of scenario, or is there anonther contributuin enabling this?
|
Stuart Fenton
|
Wednesday 21 November 2007 2:57:54 am
You could create three separate Quantity attributes, one for each size, then check which one was selected during checkout and reduce the quantity of that attribute. This would do what you need.
-- Stuart
[email protected]
http://www.grandmore.com
|
Joe Lancros
|
Wednesday 07 April 2010 3:35:35 am
Hey, Did you ever get ant further with this contribution. I am developing a site that sells products in 'bundles' (the products are made up of different items) thus I need to check the options before reducing the quantity of that attribute, as pointed out by Stuart but I have no idea how to call the product options up in the stock-check workflow php. The task gets more complex as some products use the same items, thus the quantities must take into account all the products that have been sold. Any ideas or example code would be much appreciated Joseph
|