Vilius PromoApranga Posted January 11, 2017 Share Posted January 11, 2017 (edited) in 1.7.0.4 you cant add product to cart.. themes/classic/templates/catalog/_partials/product-add-to-cart.tpl <button class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit" {if !$product.add_to_cart_url || $product.quantity_wanted>$product.quantity}disabled{/if}> update.... <button class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit" {if !$product.add_to_cart_url || $product.quantity_wanted<=$product.quantity}disabled{/if}> Edited January 11, 2017 by Vilius PromoApranga (see edit history) 4 Link to comment Share on other sites More sharing options...
Traumflug Posted January 13, 2017 Share Posted January 13, 2017 Looking at the commits coming with this pull request: https://github.com/PrestaShop/PrestaShop/pull/7162 , the test after the || should go away entirely. This pull request was merged between 1.7.0.3 and 1.7.0.4. Sometimes I get the impression that releases aren't packaged directly from the Git repository ... 1 Link to comment Share on other sites More sharing options...
Walrus Posted February 1, 2017 Share Posted February 1, 2017 Oh, my...Spent hours going through options! Link to comment Share on other sites More sharing options...
SDeAstis Posted February 3, 2017 Share Posted February 3, 2017 Guys, can you please have also a look at this post and share your knowledge to solve some further problems? https://www.prestashop.com/forums/topic/591975-ps1704-allow-ordering-of-out-of-stock-products-not-working/?p=2500301 Thanks!! Link to comment Share on other sites More sharing options...
Jinimaru Posted February 16, 2017 Share Posted February 16, 2017 A lot of thanks! My head was going to explode trying to find the solution 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