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;
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.
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
add a comment |
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.
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
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 a comment |
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.
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
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.
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
magento2 checkout knockoutjs magento2.2.4 ajaxaddtocart
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 a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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%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
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 14 '18 at 15:26
Robert BiernatRobert Biernat
1
1
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%2f253656%2fmagento-2-auto-added-products-image-missing-in-the-checkout-page%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
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