Magento 2.1 : Add to cart adds 2 products from PDPHow to make magento/checkout/cart/ input readonly and...

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Why was Lupin comfortable with saying Voldemort's name?

Why don't hotels mount air conditioning units outside the rooms?

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

Can we harness gravitational potential energy?

Why did Luke use his left hand to shoot?

Is using an 'empty' metaphor considered bad style?

Do theoretical physics suggest that gravity is the exchange of gravitons or deformation/bending of spacetime?

Nested word series [humans only]

Salesforce package error error “You can't specify version for namespace sf_com_apps because this namespace is not installed to your organization.”

Play Zip, Zap, Zop

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

Early credit roll before the end of the film

Flipping axis on a LogPlot

What is the purpose of easy combat scenarios that don't need resource expenditure?

What are "industrial chops"?

Consequences of lack of rigour

Is it possible to grant users sftp access without shell access? If yes, how is it implemented?

How does Leonard in "Memento" remember reading and writing?

use of 4/2 chord more compelling than root position?

Dilemma of explaining to interviewer that he is the reason for declining second interview

Using only 1s, make 29 with the minimum number of digits

Odd 74HCT1G125 behaviour

Why are the books in the Game of Thrones citadel library shelved spine inwards?



Magento 2.1 : Add to cart adds 2 products from PDP


How to make magento/checkout/cart/ input readonly and disable UPDATE buttonadd only specific product to cartMagento 1.9.x - How to speed up adding to cartAdd item(s) to cart programmatically with different lineMagento 2 add to cart with ajax is not working for infinite scrollhide the message “We don't have as many ”ProductName“ as you requested” when Product is already Present in cartMagento 2 : Prevent product add to cart on ENTER key pressadding and removing product from the cart at the same timeHow to create custom ajax add to cart functionality with send my parameters in magento2Able to add multiple items via Add to cart[Based on Options]













0















In magento2.1 add to cart button adds two quantity in cart when you press it for second time.
I mean, on product page when add a product to cart it's ok and adds 1 qty. But on second time when I press ADD TO CART, it adds 2 qty and cart qty goes to 3 instead of 2.
Also I didn't use amazon payment.
what should I do?










share|improve this question

























  • Is this fresh magento 2 setup?

    – G Prathap
    22 mins ago











  • if you add it a third time what's the qty in cart? 4,5 or 6?

    – Marius
    18 mins ago
















0















In magento2.1 add to cart button adds two quantity in cart when you press it for second time.
I mean, on product page when add a product to cart it's ok and adds 1 qty. But on second time when I press ADD TO CART, it adds 2 qty and cart qty goes to 3 instead of 2.
Also I didn't use amazon payment.
what should I do?










share|improve this question

























  • Is this fresh magento 2 setup?

    – G Prathap
    22 mins ago











  • if you add it a third time what's the qty in cart? 4,5 or 6?

    – Marius
    18 mins ago














0












0








0








In magento2.1 add to cart button adds two quantity in cart when you press it for second time.
I mean, on product page when add a product to cart it's ok and adds 1 qty. But on second time when I press ADD TO CART, it adds 2 qty and cart qty goes to 3 instead of 2.
Also I didn't use amazon payment.
what should I do?










share|improve this question
















In magento2.1 add to cart button adds two quantity in cart when you press it for second time.
I mean, on product page when add a product to cart it's ok and adds 1 qty. But on second time when I press ADD TO CART, it adds 2 qty and cart qty goes to 3 instead of 2.
Also I didn't use amazon payment.
what should I do?







magento-2.1 addtocart products ajaxaddtocart






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 23 mins ago









G Prathap

616213




616213










asked 37 mins ago









MGPMMGPM

7015




7015













  • Is this fresh magento 2 setup?

    – G Prathap
    22 mins ago











  • if you add it a third time what's the qty in cart? 4,5 or 6?

    – Marius
    18 mins ago



















  • Is this fresh magento 2 setup?

    – G Prathap
    22 mins ago











  • if you add it a third time what's the qty in cart? 4,5 or 6?

    – Marius
    18 mins ago

















Is this fresh magento 2 setup?

– G Prathap
22 mins ago





Is this fresh magento 2 setup?

– G Prathap
22 mins ago













if you add it a third time what's the qty in cart? 4,5 or 6?

– Marius
18 mins ago





if you add it a third time what's the qty in cart? 4,5 or 6?

– Marius
18 mins ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263786%2fmagento-2-1-add-to-cart-adds-2-products-from-pdp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263786%2fmagento-2-1-add-to-cart-adds-2-products-from-pdp%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

“%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...