How to make magento/checkout/cart/ input readonly and disable UPDATE buttonWhy isn't the order updating when something is added to the cart?Wishlist all to cart button -> don't add items to cart with 0 qtyAdding cart costs more than two minutes to respondEnable / Disable Add to Cart button programmaticallyiwd opc proceed to checkout missing on cart [Magento 1.9]Auto update quantity to a minimum value in cart on cart pageHow to replace browser back button on cart page?add only specific product to cartCheckout: shopping cart price rule is only applied after pressing the 'update cart' buttonHow to add multiple subproducts to the Magento 1.x cart at the same time?
Approximate solutions to non polynomial equations
Is the decompression of compressed and encrypted data without decryption also theoretically impossible?
Average spam confidence
Russian equivalents of "no love lost"
Last survivors from different time periods living together
Proof that shortest path with negative cycles is NP hard
About the expansion of seq_set_split
Do any instruments not produce overtones?
Where does this pattern of naming products come from?
Can an Eldritch Knight use Action Surge and thus Arcane Charge even when surprised?
Implement Homestuck's Catenative Doomsday Dice Cascader
How to generate random points without duplication?
How were concentration and extermination camp guards recruited?
Does an ice chest packed full of frozen food need ice?
How to skip replacing first occurrence of a character in each line?
Secure offsite backup, even in the case of hacker root access
What LISP compilers and interpreters were available for 8-bit machines?
Does the first version of Linux developed by Linus Torvalds have a GUI?
Notation of last measure of a song with a pickup measure
How do photons get into the eyes?
Do the English have an ancient (obsolete) verb for the action of the book opening?
Select items in a list that contain criteria
Did Darth Vader wear the same suit for 20+ years?
How hard would it be to convert a glider into an powered electric aircraft?
How to make magento/checkout/cart/ input readonly and disable UPDATE button
Why isn't the order updating when something is added to the cart?Wishlist all to cart button -> don't add items to cart with 0 qtyAdding cart costs more than two minutes to respondEnable / Disable Add to Cart button programmaticallyiwd opc proceed to checkout missing on cart [Magento 1.9]Auto update quantity to a minimum value in cart on cart pageHow to replace browser back button on cart page?add only specific product to cartCheckout: shopping cart price rule is only applied after pressing the 'update cart' buttonHow to add multiple subproducts to the Magento 1.x cart at the same time?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I update the QTY based on case_size
of a product. I've made an observer to do that. If the case_size
is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!
I want to remove the UPDATE button and make the QTY input readonly but until now no luck.
I've tried appdesignfrontendbasedefaulttemplatecheckoutcart.phtml
but it works on the magento/checkout/cart/configure
page not on magento/checkout/cart/
(see image)
Any tips would be highly appreciated.
Thank you all
magento-1.9 addtocart
|
show 1 more comment
I update the QTY based on case_size
of a product. I've made an observer to do that. If the case_size
is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!
I want to remove the UPDATE button and make the QTY input readonly but until now no luck.
I've tried appdesignfrontendbasedefaulttemplatecheckoutcart.phtml
but it works on the magento/checkout/cart/configure
page not on magento/checkout/cart/
(see image)
Any tips would be highly appreciated.
Thank you all
magento-1.9 addtocart
have you used any custom magento theme?
– Abdul
Nov 7 '15 at 7:05
Yes we have our own theme and I put these files in my theme's template folder. Of course no direct editing the CORE files.
– Jos
Nov 7 '15 at 7:13
pls update code in your theme's themplate file :: templatecheckoutcartitemdefault.phtml
– Abdul
Nov 7 '15 at 7:42
find <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
Replace : <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" disabled="disabled" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
|
show 1 more comment
I update the QTY based on case_size
of a product. I've made an observer to do that. If the case_size
is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!
I want to remove the UPDATE button and make the QTY input readonly but until now no luck.
I've tried appdesignfrontendbasedefaulttemplatecheckoutcart.phtml
but it works on the magento/checkout/cart/configure
page not on magento/checkout/cart/
(see image)
Any tips would be highly appreciated.
Thank you all
magento-1.9 addtocart
I update the QTY based on case_size
of a product. I've made an observer to do that. If the case_size
is 144 and a customer buys two cases then QTY will automatically become 288PCS. When the customer clicks the Edit button then the product QTY on the add to cart page goes back to 2 case. Everything is working good, but when a customer edits the QTY see (image) then everything goes wrong of course!!
I want to remove the UPDATE button and make the QTY input readonly but until now no luck.
I've tried appdesignfrontendbasedefaulttemplatecheckoutcart.phtml
but it works on the magento/checkout/cart/configure
page not on magento/checkout/cart/
(see image)
Any tips would be highly appreciated.
Thank you all
magento-1.9 addtocart
magento-1.9 addtocart
edited Nov 7 '15 at 7:00
Manashvi Birla
6,67761941
6,67761941
asked Nov 7 '15 at 6:49
JosJos
313
313
have you used any custom magento theme?
– Abdul
Nov 7 '15 at 7:05
Yes we have our own theme and I put these files in my theme's template folder. Of course no direct editing the CORE files.
– Jos
Nov 7 '15 at 7:13
pls update code in your theme's themplate file :: templatecheckoutcartitemdefault.phtml
– Abdul
Nov 7 '15 at 7:42
find <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
Replace : <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" disabled="disabled" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
|
show 1 more comment
have you used any custom magento theme?
– Abdul
Nov 7 '15 at 7:05
Yes we have our own theme and I put these files in my theme's template folder. Of course no direct editing the CORE files.
– Jos
Nov 7 '15 at 7:13
pls update code in your theme's themplate file :: templatecheckoutcartitemdefault.phtml
– Abdul
Nov 7 '15 at 7:42
find <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
Replace : <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" disabled="disabled" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
have you used any custom magento theme?
– Abdul
Nov 7 '15 at 7:05
have you used any custom magento theme?
– Abdul
Nov 7 '15 at 7:05
Yes we have our own theme and I put these files in my theme's template folder. Of course no direct editing the CORE files.
– Jos
Nov 7 '15 at 7:13
Yes we have our own theme and I put these files in my theme's template folder. Of course no direct editing the CORE files.
– Jos
Nov 7 '15 at 7:13
pls update code in your theme's themplate file :: templatecheckoutcartitemdefault.phtml
– Abdul
Nov 7 '15 at 7:42
pls update code in your theme's themplate file :: templatecheckoutcartitemdefault.phtml
– Abdul
Nov 7 '15 at 7:42
find <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
find <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
Replace : <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" disabled="disabled" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
Replace : <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" disabled="disabled" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
|
show 1 more comment
1 Answer
1
active
oldest
votes
To finalize the question Mr.Abdul has answered me and after change everything is working as expected.
So the problem is solved. Thank you Mr. Abdul and everyone else.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f89249%2fhow-to-make-magento-checkout-cart-input-readonly-and-disable-update-button%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To finalize the question Mr.Abdul has answered me and after change everything is working as expected.
So the problem is solved. Thank you Mr. Abdul and everyone else.
add a comment |
To finalize the question Mr.Abdul has answered me and after change everything is working as expected.
So the problem is solved. Thank you Mr. Abdul and everyone else.
add a comment |
To finalize the question Mr.Abdul has answered me and after change everything is working as expected.
So the problem is solved. Thank you Mr. Abdul and everyone else.
To finalize the question Mr.Abdul has answered me and after change everything is working as expected.
So the problem is solved. Thank you Mr. Abdul and everyone else.
edited Apr 13 '17 at 12:54
Community♦
1
1
answered Nov 7 '15 at 9:13
JosJos
313
313
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f89249%2fhow-to-make-magento-checkout-cart-input-readonly-and-disable-update-button%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
have you used any custom magento theme?
– Abdul
Nov 7 '15 at 7:05
Yes we have our own theme and I put these files in my theme's template folder. Of course no direct editing the CORE files.
– Jos
Nov 7 '15 at 7:13
pls update code in your theme's themplate file :: templatecheckoutcartitemdefault.phtml
– Abdul
Nov 7 '15 at 7:42
find <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43
Replace : <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" disabled="disabled" maxlength="12" />
– Abdul
Nov 7 '15 at 7:43