Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare Products not working in v2.0.5 #4509

Closed
jason-vivid opened this issue May 15, 2016 · 11 comments
Closed

Compare Products not working in v2.0.5 #4509

jason-vivid opened this issue May 15, 2016 · 11 comments
Labels
bug report Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release

Comments

@jason-vivid
Copy link

jason-vivid commented May 15, 2016

When we go to a product page or category view and click on bar graph icon (hovering over the link shows the URL equal to the page with a # at the end. IE example.com/t-shirt.html#

Console Shows this for jquery.js:
mixed Content: The page at 'https://example.com/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://example.com/catalog/product_compare/add/'. This endpoint should be made available over a secure connection.

To clarify all http requests are Redirected to https server side.

@jamespauljacob3
Copy link

jamespauljacob3 commented May 20, 2016

same issue with price alert. using v2.0.6

@pboisvert
Copy link

@tkacheva please have the team check into this

@nadshez
Copy link

nadshez commented May 23, 2016

The issue of compare link not working was also in v2.0.4 and not working in v2.0.6 either. It is strange that such major functionality is impaired and not fixed in upcoming versions. If anyone has a manual fix, please do share here. Thanks.

@tkacheva
Copy link

Internal ticket MAGETWO-53313

@tkacheva tkacheva assigned antboiko and unassigned tkacheva May 23, 2016
@vkorotun vkorotun removed the MX label Aug 4, 2016
@veloraven veloraven added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report labels Aug 19, 2016
@JDavidVR
Copy link
Contributor

JDavidVR commented Sep 8, 2016

@tkacheva cool! I'm facing same problem in develop branch.

Hope It is fixed soon :)

@MirkoHuf
Copy link

Hello,
any news about this? I have the same problem in 2.1.2
Compare functionality is not working.

The products are in the table catalog_compare_item after pressing the "add to the compare list" button in the shop.
I get the message "You added product xyz to the comparison list.".
But the frontend told me "You have no items to compare."

How can I fix this?

@nadshez
Copy link

nadshez commented Nov 21, 2016

Re[2]: [magento/magento2] Compare Products not working in v2.0.5 (#4509)

Hi,

The solution that I found was unbelievable. 

Enable your cache to make it work. If the cache is disabled (as it is in dev mode) the link may not work.

Hope this helps. Thank you.

-- 
Best regards,
Nadeem

Friday, November 18, 2016, 2:43:07 AM, you wrote:

Hello,
any news about this? I have the same problem in 2.1.2
Compare functionality is not working. 
The products are in the table catalog_compare_item after pressing the "add to the compare list" button in the shop.
I get the message "You added product xyz to the comparison list.".
But the frontend told me "You have no items to compare."
How can I fix this?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 11, 2017
@magento-engcom-team magento-engcom-team added 2.1.x Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release labels Oct 13, 2017
@magento-engcom-team
Copy link
Contributor

@jason-vivid, thank you for your report.
The issue is already fixed in develop branch, 2.2.0

@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Oct 13, 2017
@shaikhmasud147
Copy link

shaikhmasud147 commented Jun 13, 2018

Compare Add Product Issue

Console Shows this for jquery.js:
mixed Content: The page at 'https://example.com/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://example.com/catalog/product_compare/add/'. This endpoint should be made available over a secure connection.

To clarify all HTTP requests are Redirected to HTTPS server side.

The same issue facing in Magento 2.0.17.

How is it solve?

@bhargav-rupapara
Copy link

Hello,

I'm also facing this same error, once I click on add to compare link, I can see product is added in report_compared_product_index and catalog_compare_item tables.

I checked in getItems function of \Magento\Catalog\Block\Product\Compare\ListCompare class, it's showing item count there but, item count in Magento_Catalog/templates/product/compare/list.phtml is showing zero.

I tried with basic solutions like enable / disable cache, reindex, still on the page http://abc.com/catalog/product_compare/index keep showing this message : "You have no items to compare."

How can I resolve this issue ??

Thanks,
Bhargav

@bhargav-rupapara
Copy link

Hello,

I'm also facing this same error, once I click on add to compare link, I can see product is added in report_compared_product_index and catalog_compare_item tables.

I checked in getItems function of \Magento\Catalog\Block\Product\Compare\ListCompare class, it's showing item count there but, item count in Magento_Catalog/templates/product/compare/list.phtml is showing zero.

I tried with basic solutions like enable / disable cache, reindex, still on the page http://abc.com/catalog/product_compare/index keep showing this message : "You have no items to compare."

How can I resolve this issue ??

Thanks,
Bhargav

I'm using magento version 2.1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release
Projects
None yet
Development

No branches or pull requests