Magento 2 Auto added product's image missing in the checkout pageMagento 2: Checkout button missingcheckout page refresh issueOn checkout page CVV field is missingMagento 2 checkout Shipping Prices missingMissing styles on Magento 2 checkout pagemagento2 - one page checkout missing back buttonMagento2 - why header& footer is missing from checkout page?Magento2 one checkout page button missingMagento 2.2.4 - Checkout summary in custom phtmlMagento2 : How to show the product's attribute value at product details page on PORTO theme?

Unorthodox way of solving Einstein field equations

Beginner's snake game using PyGame

Chopin: marche funèbre bar 15 impossible place

Opposite of "Squeaky wheel gets the grease"

Concise way to draw this pyramid

Is having a hidden directory under /etc safe?

What is a simple, physical situation where complex numbers emerge naturally?

You've spoiled/damaged the card

Do adult Russians normally hand-write Cyrillic as cursive or as block letters?

Will dual-learning in a glider make my airplane learning safer?

What's the most polite way to tell a manager "shut up and let me work"?

Do I add my ability modifier to the damage of the bonus-action attack granted by the Crossbow Expert feat?

Anyone teach web development? How do you assess it?

Can an old DSLR be upgraded to match modern smartphone image quality

How to apply the "glow" effect to a rectangle with tcolorbox?

Humans meet a distant alien species. How do they standardize? - Units of Measure

Is there any Biblical Basis for 400 years of silence between Old and New Testament?

How can Iron Man's suit withstand this?

Can you please explain this joke: "I'm going bananas is what I tell my bananas before I leave the house"?

Hygienic footwear for prehensile feet?

Will TSA allow me to carry a Continuous Positive Airway Pressure (CPAP) device?

How can I grammatically understand "Wir über uns"?

How can I determine the spell save DC of a monster/NPC?

Responsibility for visa checking



Magento 2 Auto added product's image missing in the checkout page


Magento 2: Checkout button missingcheckout page refresh issueOn checkout page CVV field is missingMagento 2 checkout Shipping Prices missingMissing styles on Magento 2 checkout pagemagento2 - one page checkout missing back buttonMagento2 - why header& footer is missing from checkout page?Magento2 one checkout page button missingMagento 2.2.4 - Checkout summary in custom phtmlMagento2 : How to show the product's attribute value at product details page on PORTO theme?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have created a small module to add a product automatically at cart when a specific coupon code is applied. All is working fine except the product image is missing for the first time, but it shows the image after a refreshing full page.



product image missing in the checkout page



In my findings, KnockoutJS is working on this section to generate image/dom related stuff. Dom is not being ready properly as the product is added automatically.



I am not really sure what to do. Any help would be appreciated. Thank you.



Update: I added a new repo on GitHub for code review as it contains more codes. Please follow the link.










share|improve this question
























  • add your script that you tried, it will easy to help.

    – Sohel Rana
    Dec 16 '18 at 15:43











  • @SohelRana updated code link in the above. thank you.

    – Milan Chandro
    Dec 27 '18 at 16:47











  • I am having this problem as well. Does anyone know the answer?

    – Jeremy
    May 25 at 11:25











  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

    – HelgeB
    May 25 at 14:00

















0















I have created a small module to add a product automatically at cart when a specific coupon code is applied. All is working fine except the product image is missing for the first time, but it shows the image after a refreshing full page.



product image missing in the checkout page



In my findings, KnockoutJS is working on this section to generate image/dom related stuff. Dom is not being ready properly as the product is added automatically.



I am not really sure what to do. Any help would be appreciated. Thank you.



Update: I added a new repo on GitHub for code review as it contains more codes. Please follow the link.










share|improve this question
























  • add your script that you tried, it will easy to help.

    – Sohel Rana
    Dec 16 '18 at 15:43











  • @SohelRana updated code link in the above. thank you.

    – Milan Chandro
    Dec 27 '18 at 16:47











  • I am having this problem as well. Does anyone know the answer?

    – Jeremy
    May 25 at 11:25











  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

    – HelgeB
    May 25 at 14:00













0












0








0








I have created a small module to add a product automatically at cart when a specific coupon code is applied. All is working fine except the product image is missing for the first time, but it shows the image after a refreshing full page.



product image missing in the checkout page



In my findings, KnockoutJS is working on this section to generate image/dom related stuff. Dom is not being ready properly as the product is added automatically.



I am not really sure what to do. Any help would be appreciated. Thank you.



Update: I added a new repo on GitHub for code review as it contains more codes. Please follow the link.










share|improve this question
















I have created a small module to add a product automatically at cart when a specific coupon code is applied. All is working fine except the product image is missing for the first time, but it shows the image after a refreshing full page.



product image missing in the checkout page



In my findings, KnockoutJS is working on this section to generate image/dom related stuff. Dom is not being ready properly as the product is added automatically.



I am not really sure what to do. Any help would be appreciated. Thank you.



Update: I added a new repo on GitHub for code review as it contains more codes. Please follow the link.







magento2 checkout knockoutjs magento2.2.4 ajaxaddtocart






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 27 '18 at 16:44







Milan Chandro

















asked Dec 14 '18 at 11:17









Milan ChandroMilan Chandro

1706




1706












  • add your script that you tried, it will easy to help.

    – Sohel Rana
    Dec 16 '18 at 15:43











  • @SohelRana updated code link in the above. thank you.

    – Milan Chandro
    Dec 27 '18 at 16:47











  • I am having this problem as well. Does anyone know the answer?

    – Jeremy
    May 25 at 11:25











  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

    – HelgeB
    May 25 at 14:00

















  • add your script that you tried, it will easy to help.

    – Sohel Rana
    Dec 16 '18 at 15:43











  • @SohelRana updated code link in the above. thank you.

    – Milan Chandro
    Dec 27 '18 at 16:47











  • I am having this problem as well. Does anyone know the answer?

    – Jeremy
    May 25 at 11:25











  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

    – HelgeB
    May 25 at 14:00
















add your script that you tried, it will easy to help.

– Sohel Rana
Dec 16 '18 at 15:43





add your script that you tried, it will easy to help.

– Sohel Rana
Dec 16 '18 at 15:43













@SohelRana updated code link in the above. thank you.

– Milan Chandro
Dec 27 '18 at 16:47





@SohelRana updated code link in the above. thank you.

– Milan Chandro
Dec 27 '18 at 16:47













I am having this problem as well. Does anyone know the answer?

– Jeremy
May 25 at 11:25





I am having this problem as well. Does anyone know the answer?

– Jeremy
May 25 at 11:25













This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

– HelgeB
May 25 at 14:00





This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review

– HelgeB
May 25 at 14:00










1 Answer
1






active

oldest

votes


















0














Just a loose thought : could it be a cache related problem ?



As i can see on default luma theme the url of the image looks like :



(.../pub/media/catalog/product/cache/1/thumbnail/75x75/beff4985b56e3afdbeabfc89641a4582/m/s/msh03-blue_main.jpg)



so could it be that this image is not cached yet ?



At the other hand you can always refresh the block by ajax.






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%2f253656%2fmagento-2-auto-added-products-image-missing-in-the-checkout-page%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














    Just a loose thought : could it be a cache related problem ?



    As i can see on default luma theme the url of the image looks like :



    (.../pub/media/catalog/product/cache/1/thumbnail/75x75/beff4985b56e3afdbeabfc89641a4582/m/s/msh03-blue_main.jpg)



    so could it be that this image is not cached yet ?



    At the other hand you can always refresh the block by ajax.






    share|improve this answer



























      0














      Just a loose thought : could it be a cache related problem ?



      As i can see on default luma theme the url of the image looks like :



      (.../pub/media/catalog/product/cache/1/thumbnail/75x75/beff4985b56e3afdbeabfc89641a4582/m/s/msh03-blue_main.jpg)



      so could it be that this image is not cached yet ?



      At the other hand you can always refresh the block by ajax.






      share|improve this answer

























        0












        0








        0







        Just a loose thought : could it be a cache related problem ?



        As i can see on default luma theme the url of the image looks like :



        (.../pub/media/catalog/product/cache/1/thumbnail/75x75/beff4985b56e3afdbeabfc89641a4582/m/s/msh03-blue_main.jpg)



        so could it be that this image is not cached yet ?



        At the other hand you can always refresh the block by ajax.






        share|improve this answer













        Just a loose thought : could it be a cache related problem ?



        As i can see on default luma theme the url of the image looks like :



        (.../pub/media/catalog/product/cache/1/thumbnail/75x75/beff4985b56e3afdbeabfc89641a4582/m/s/msh03-blue_main.jpg)



        so could it be that this image is not cached yet ?



        At the other hand you can always refresh the block by ajax.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 14 '18 at 15:26









        Robert BiernatRobert Biernat

        1




        1



























            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%2f253656%2fmagento-2-auto-added-products-image-missing-in-the-checkout-page%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

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

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?