Jump to content

quantity wanted is not adding to Basket


manc00

Recommended Posts

Hello

 

Prestashop 1.5.6.1

 

when i enter in quantity wanted in Front office  a number greated than 1   it does not send to basket   but instead it just send one item  so you have to press on  ADD to CART   twice

 

Thank you

post-472851-0-50505100-1459521664_thumb.jpg

Link to comment
Share on other sites

Hi,

 

Actually issue in your theme product.tpl file. You can comment this code from your tpl.

 

<div class="row_1 ">
                <p class="our_price_display">
                                    <span id="our_price_display">£ 39.00</span>
                    <!---->
                                </p>
                    
                                            <p class="buttons_bottom_block" id="add_to_cart" style="">
                         
                            <a href="javascript:document.getElementById('add2cartbtn').click();" class="exclusive"> <span>Add to cart  </span></a>
                            <input type="submit" value="Add to cart" name="Submit" id="add2cartbtn">
                        </p>
                                        <!-- quantity wanted -->
                    <p id="quantity_wanted_p" style="">
                        
                        <input type="text" maxlength="3" size="2" value="1" class="text" id="quantity_wanted" name="qty">
                        <label>Quantity:</label>
                    </p>
                    </div>

or remove with take a backup of file. Then it will be work fine. In your product.tpl file, there are two quantity_wanted boxes. One is hide by css and another one is showing on proper position. So please remove my quoted code.

You can check this screenshot https://s3.amazonaws.com/diigo/9027923_309703947_22549225?AWSAccessKeyId=0R7FMW7AXRVCYMAPTPR2&Expires=1459693039&Signature=BVbY25CmDklfrxbrWudn%2FvI5tPw%3D

Edited by Ittu (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...