invpts3 Posted June 26, 2015 Share Posted June 26, 2015 (edited) Hi there, having prestashop 1.4.6.2 I'm having a problem with the "var quantityavailable" that seems to give incorrect information in the source code. There's a feedrobot crawling our pages, but every product with "var quantityavailable = 0" is not added to the feed. By some reason we have products with a stock, but in the sourcecode it says "var quantityavailable = 0" Looks like it has to do with sizes and attributes. Attached is a screenshot that shows a product with a quantityavailable = 0, while in fact there are 10 products in stock. What could this possibly be? Edited July 1, 2015 by invpts3 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted July 3, 2015 Share Posted July 3, 2015 ok, you must try with default theme if works to dischard a theme problem Link to comment Share on other sites More sharing options...
invpts3 Posted September 2, 2015 Author Share Posted September 2, 2015 We are working on a workaround by placing the stock information on another part of the productpage. See if that works. Link to comment Share on other sites More sharing options...
invpts3 Posted September 11, 2015 Author Share Posted September 11, 2015 It's not a theme-thing. This is in the product.tpl {if $display_qties == 1 && $product->quantity}{$product->quantity}{else}0{/if}; In the presta-backend the display quantity was turned off. When turned off in the backend, the quantity also becomes invisible in the sourcecode. Link to comment Share on other sites More sharing options...
shacker Posted September 14, 2015 Share Posted September 14, 2015 check in the tables if the quantity are correct 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