thadson Posted December 28, 2008 Share Posted December 28, 2008 Hi, I'm using the "in stock" feature for most of my shopping cart items. However some items are never out of stock. (for example membership) Is there a a simple way to set "unlimited stock" for some items while letting the other items still use the stock system (ie subtracting when ordered, and show "out of stock" "***" when they are out.) I was searching through the forums but I could not find anything on this subject. Thanks Thadson Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 28, 2008 Share Posted December 28, 2008 Interestingly I managed to set stock on a part to 2147483647, even though I entered 99999999. Field is actually int(4) Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
germ Posted December 28, 2008 Share Posted December 28, 2008 Interestingly I managed to set stock on a part to 2147483647, even though I entered 99999999. Field is actually int(4) Maximum value for a 4 byte signed integer is (2^31)-1 (which equals 2147483647 - Imagine that... ;) ) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted December 28, 2008 Share Posted December 28, 2008 I never got passed my 2 x table. Anything beyond 2 x 12 is just a big number. Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
thadson Posted December 28, 2008 Author Share Posted December 28, 2008 In other databases setting "-1" usually does the trick, but here it does not seem to work... entering 99999999 just seemed too much work Link to comment Share on other sites More sharing options...
furiousweebee Posted January 24, 2009 Share Posted January 24, 2009 I'd like to know the answer to this one as well, as I have a digital-only store, so there's no need to mention stock levels at all. Link to comment Share on other sites More sharing options...
germ Posted January 24, 2009 Share Posted January 24, 2009 In your admin set: Check stock level false Subtract stock false Allow Checkout true If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
furiousweebee Posted January 24, 2009 Share Posted January 24, 2009 Cheers germ/Jim :) Your prompt and concise response is greatly appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.