hannhimhe Posted November 16, 2011 Share Posted November 16, 2011 The "not in stock" text is displayed in product view. Shop is set to allow orders when products are out of stock. Stock is -2. Cart shows available.gif. I'm running 1.4.5.1. Thoughts? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 16, 2011 Share Posted November 16, 2011 Hi hannhimhe, Can you please post a link where I can check this out for you? -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 17, 2011 Author Share Posted November 17, 2011 I sent you a pm with the url as it is not ready to be released yet. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 17, 2011 Share Posted November 17, 2011 Hi hannhimhe, The link you sent me does not work. Can you please PM me with your Back Office login credentials (username, password and admin URL) so that I can look into this for you further? -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 17, 2011 Author Share Posted November 17, 2011 I'm on the phone with the hosting company. Will send you all the needed information as soon as I get this sorted. Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 Any ideas? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 Hi hannhimhe, I'm looking at it now. Can you give me a link to specific product to look at where you are encountering this issue? -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 As far as I know it affects all products (single products, packs, products with attributes). I just confirmed it with the product named "Alex2". A link will arrive in pm asap. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 Hi hannhimhe, Just to confirm, you're trying to change the text here, correct? -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 No. This text is the only thing that is correct about what's in stock. Stock salary for this product is -2. The text says "Not in stock" which is correct. If you go back to the category which this product is in it says Tillgänglig - Available which is wrong. If you add it to your cart and go look in your cart you will see a green icon next to this, indicating available which is wrong. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 OK I see, thank you. I was a bit confused but I will look into this for you now. -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 Hi hannimhe, Can you please try to replace your theme's product-list.tpl file with the SVN version and let me know if that resolves your issue? -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 Do I have to do anything more than replace the file? Rebuild the theme or anything like that? If not, no it did not solve the problem. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 Hi hannhimhe, In that case, you'll want to either call our support team at 888 947 6543 or create a report on our Bug Tracker. -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 Ok, will do that first thing monday. I did some more testing. Maybe any of this will help. I changed "when out of stock" from allow to deny. Category shows "Out of stock" If I set "when out of stock" to allow, add the product to my cart, set "when out of stock" to deny and then look in my cart the product is shown as unavailable. EDIT: Exactly the same error occurs on a fresh installation of prestashop on my laptop. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 Once you post your report, please let me know and post the link here, and I will be sure to monitor our development team's progress for you! -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 I'm too tired to phrase a proper bug report at the moment. I went ahead and located the error in the code instead. product-list.tpl {if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'} shopping-cart-product-line.tpl {if $product.active AND ($product.allow_oosp OR ($product.quantity <= $product.stock_quantity)) AND $product.available_for_order AND !$PS_CATALOG_MODE} What does $product.allow_oosp have to do with what's in stock and not? I removed $product.allow_oosp from both files and the shop now behaves the way I expect it to. The whole idea with stock indication and allow order when out of stock is to give my customers the option to order something that they know is out of stock. That's my view as a merchant. Do you still want me to file that bug report or can your development team take it from here? Thanks alot for your time! 1 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 18, 2011 Share Posted November 18, 2011 It's still best if you create the bug report so that we have a place to record all work on this issue, and therefore have information on it (including the solution) for anyone who may struggle with this in the future. If you aren't up for it right now, take your time and do it on your own time, but just let me know once you've posted it so that I can keep an eye on our progress! -Mike Link to comment Share on other sites More sharing options...
hannhimhe Posted November 18, 2011 Author Share Posted November 18, 2011 http://forge.prestashop.com/browse/PSCFI-4157 There you go. Good nite! Link to comment Share on other sites More sharing options...
PatriceJV Posted September 20, 2012 Share Posted September 20, 2012 It worked for me on 1.4.8.2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now