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

Prices of related products on PDP changes according to product custom options. #4588

Closed
ant-workaholic opened this issue May 19, 2016 · 17 comments
Labels
bug report Component: Catalog 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

Comments

@ant-workaholic
Copy link

ant-workaholic commented May 19, 2016

Steps to reproduce

  1. Install Magento from develop branch.
  2. Need add custom options (with some extra prices) to some product, also add some related products to the product.
  3. Visit the product page.
  4. Specify some custom option.
  5. Refresh page.
  6. Specify some option again and look to prices of related products.
    For me this reproduces after flushing cache in my browser (in Chrome after Shift+F5)

Expected result

  1. When customer specify custom option, only the product price should change.

Actual result

  1. Now, changes all prices for related products too.
@pboisvert
Copy link

Anton--please have the team check this issue?

@katmoon
Copy link
Contributor

katmoon commented May 20, 2016

Hi @ant-workaholic

Thank you for the comprehensive description of the issue. This is a very good find!
I've created internal ticket MAGETWO-53135 to fix the issue.

Thanks,
Kateryna.

@katmoon katmoon added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development MX bug report Component: Catalog labels May 20, 2016
@vkorotun vkorotun removed the MX label Aug 4, 2016
@chiragayartops
Copy link

It is solved?

@chiragayartops
Copy link

I use magento2
I have same issue please give me reply.

@katmoon
Copy link
Contributor

katmoon commented Aug 15, 2016

Hi,

The issue is in progress now.

Thanks,
Kateryna.

mmansoor-magento pushed a commit that referenced this issue Sep 1, 2016
mmansoor-magento pushed a commit that referenced this issue Sep 1, 2016
mmansoor-magento pushed a commit that referenced this issue Sep 1, 2016
mmansoor-magento pushed a commit that referenced this issue Sep 1, 2016
…ording to product custom options. #4588

- Merge commit
@xmav
Copy link
Contributor

xmav commented Sep 2, 2016

Issue has been fixed

@xmav xmav closed this as completed Sep 2, 2016
@slavvka
Copy link
Member

slavvka commented Sep 13, 2016

The issue has been also ported for 2.0 and 2.1 and will be delivered as a part of nearest patch releases.

@janeblonde
Copy link

janeblonde commented Oct 28, 2016

The solution above works but the files are located:
/vendor/magento/module-catalog/view/frontend/templates/product/view/form.phtml
/vendor/magento/module-catalog/view/frontend/templates/product/view/options.phtml

okorshenko pushed a commit that referenced this issue Dec 14, 2016
…P changes according to product custom options. #4588 - for 2.0
okorshenko pushed a commit that referenced this issue Dec 14, 2016
[South] Bugfixes backports to 2.0.11

- MAGETWO-57000 [Backport] Simple child product without a special price still shown as "was (original price)" #4442 #5097 - for 2.0
- MAGETWO-58058 [Backport] - [GitHub] Unable to add more than 1 product to a cart from Wishlist #5282 - for 2.0
- MAGETWO-57491 [Backport] - Maximum error count when importing because issue URL key for specified store already exists - for 2.0
- MAGETWO-57004 [Backport] - Scope selector on product page does not display all related websites for restricted user - for 2.0
- MAGETWO-58192 [Backport] - [GITHUB] Prices of related products on PDP changes according to product custom options. #4588 - for 2.0
- MAGETWO-57331 [Backport] - Changing Swatch attribute's property doesn't affect storefront - for 2.0
- MAGETWO-56859 [Backport] Attribute for Send Welcome Email From shows wrong store ID - for 2.0
okorshenko pushed a commit that referenced this issue Dec 14, 2016
…P changes according to product custom options. #4588 - for 2.1
okorshenko pushed a commit that referenced this issue Dec 14, 2016
[South] Bugfixes backports to 2.1.3
- MAGETWO-56998 [Backport] Simple child product without a special price still shown as "was (original price)" #4442 #5097 - for 2.1
- MAGETWO-58057 [Backport] - [GitHub] Unable to add more than 1 product to a cart from Wishlist #5282 - for 2.1
- MAGETWO-57490 [Backport] - Maximum error count when importing because issue URL key for specified store already exists - for 2.1
- MAGETWO-57044 [Backport] - [GITHUB] Prices of related products on PDP changes according to product custom options. #4588 - for 2.1
- MAGETWO-57204 [Backport] - Attribute for Send Welcome Email From shows wrong store ID - for 2.1
@elenleonova
Copy link

The issue has been delivered to 2.1.3 and 2.0.11 today.

@SolRey
Copy link

SolRey commented Jan 20, 2017

/module-catalog/view/frontend/templates/product/view/form.phtml
Changed
var priceBoxes = $('[data-role=priceBox]');
To
var priceBoxes = $('.product-info-price [data-role=priceBox]');

This worked for me. It selects only product priceBox in priceBoxes rather than all priceBoxs on the page.

@Puru2016
Copy link

I am using Magento ver. 2.1.7, and I have followed above changes but still my issue is not fixed.
In my case related products price showing the main product price on product details page.

Please advice on this.

@magento-engcom-team magento-engcom-team added the Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed label Sep 12, 2017
@Puru2016
Copy link

@magento-engcom-team: I am not able to get you here. please explain more

@Puru2016
Copy link

Thanks to fix this issue, but what should I do to add these changes in my Magento ver. 2.1.7?

@Puru2016
Copy link

Awaiting your response on the above issue

@Puru2016
Copy link

Thanks magento team 👍

After update the below two files from magento 2.1.8 to 2.1.7, my problem is solved:-
/vendor/magento/module-catalog/view/frontend/templates/product/view/form.phtml
/vendor/magento/module-catalog/view/frontend/templates/product/view/options.phtml

thanks again

@BezV8
Copy link
Contributor

BezV8 commented Apr 9, 2018

I seem to be experiencing this issue on 2.2.2
The prices of all products listed on the page are the same as the main product, and changing the option selected updates the price of all products on the page.

This does not happen with Simple Products, only configurable.

I tried the fix suggested by SolRey, but while this fixed the price duplication it also prevented me from selecting any options for the product.

@haljeshi
Copy link

I have the same issue at 2.2.6

magento-cicd2 pushed a commit that referenced this issue Oct 8, 2019
Fixed Issues:
- MAGETWO-99413: Update symfony/console dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog 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
Projects
None yet
Development

No branches or pull requests