Martino00 Posted July 7, 2015 Share Posted July 7, 2015 I'm using PrestaShop 1.6.0.14. I have a product with customization text field. When i fill in the customization field and when i choose more then one piece of the product. The cart overview has one line with the name of the product. Below that the text of the customization And below that there is another line with the product name but this one has one item less then i ordered. I think it has something to do with the ajax-cart.js but i'm not sure. In attachement you can see an example of the cart overview. in the right corner you can see that there are only 3 products in the cart and also the total price is correct. Why is it displaying that last line in my cart overview. It only happens when i add more then one piece of the product and when i add customized text Link to comment Share on other sites More sharing options...
Martino00 Posted July 8, 2015 Author Share Posted July 8, 2015 In the shopping-cart.tpl there is (arround 381) {* If it exists also some uncustomized products *} {if $product.quantity-$quantityDisplayed > 0}{include file="$tpl_dir./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}{/if} And when i don't use this one, my problem seems to be solved. I'm not completely sure and i don't know exactly what this is doing but i think i don't need this. I think if you order 3 pieces of one product and if you add custom text in the textfield , PrestaShop makes a difference between the pieces with a custom text and without. But i don't think it's possible to order 3 pieces at once and add 3 different customization texts at once within 1 customization field. So i don't know exactly the reason of this code line. Could a PrestaShop expert check this? I'm i the only one with this problem? I'm using PrestaShop 1.6.0.14 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