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;








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/checkout/cart/










share|improve this question
























  • 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

















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/checkout/cart/










share|improve this question
























  • 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













0












0








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/checkout/cart/










share|improve this question
















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/checkout/cart/







magento-1.9 addtocart






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer

























    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%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









    0














    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.






    share|improve this answer





























      0














      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.






      share|improve this answer



























        0












        0








        0







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 13 '17 at 12:54









        Community

        1




        1










        answered Nov 7 '15 at 9:13









        JosJos

        313




        313



























            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%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





















































            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

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form