{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/7371","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/7371/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/7371/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/7371/events","html_url":"https://github.com/magento/magento2/issues/7371","id":188157667,"number":7371,"title":"Wrong price upon selecting product options after switching currency","user":{"login":"eldonbite","id":3441674,"avatar_url":"https://avatars3.githubusercontent.com/u/3441674?v=3","gravatar_id":"","url":"https://api.github.com/users/eldonbite","html_url":"https://github.com/eldonbite","followers_url":"https://api.github.com/users/eldonbite/followers","following_url":"https://api.github.com/users/eldonbite/following{/other_user}","gists_url":"https://api.github.com/users/eldonbite/gists{/gist_id}","starred_url":"https://api.github.com/users/eldonbite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldonbite/subscriptions","organizations_url":"https://api.github.com/users/eldonbite/orgs","repos_url":"https://api.github.com/users/eldonbite/repos","events_url":"https://api.github.com/users/eldonbite/events{/privacy}","received_events_url":"https://api.github.com/users/eldonbite/received_events","type":"User","site_admin":false},"labels":[{"id":429635502,"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04","default":false},{"id":21716835,"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1","default":false},{"id":147131376,"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b","default":false},{"id":374038437,"url":"https://api.github.com/repos/magento/magento2/labels/Catalog","name":"Catalog","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-11-09T02:59:54Z","updated_at":"2017-03-10T02:28:48Z","closed_at":"2017-02-25T01:15:58Z","body":"Encountered an issue when selecting product options using the swatches in product details page wherein the price of the item in a previously selected currency gets displayed instead of the corresponding price in the currently selected currency. Disabling Block HTML cache type seems to prevent this issue from happening.\r\n\r\n### Preconditions\r\n1. Magento 2.1.x\r\n2. Store supports multiple currencies\r\n3. All cache types are enabled\r\n\r\n### Steps to reproduce\r\n1. Select a currency (e.g., GBP) then view a product's details:\r\n![image](https://cloud.githubusercontent.com/assets/3441674/19993278/53c6b85a-a27f-11e6-867b-902e3df6d2ca.png)\r\n2. Select product options in the current product details page :\r\n![image](https://cloud.githubusercontent.com/assets/3441674/19993300/761e35e0-a27f-11e6-8c50-2c7b1766129c.png)\r\n3. Switch to a different currency (e.g., JPY):\r\n![image](https://cloud.githubusercontent.com/assets/3441674/19993217/f36f9ee0-a27e-11e6-80fe-fb6c1e3abfec.png)\r\n4. Select a product variant; the price reverts back to the previous currency's value but with the current currency's symbol:\r\n![image](https://cloud.githubusercontent.com/assets/3441674/19993264/38cdbe5e-a27f-11e6-874b-7de9493c42b0.png)\r\n\r\n### Expected result\r\nCorrect equivalent price in the current currency should be displayed\r\n\r\n### Actual result\r\nThe price in the previously selected currency gets displayed\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/285555163","html_url":"https://github.com/magento/magento2/issues/7371#issuecomment-285555163","issue_url":"https://api.github.com/repos/magento/magento2/issues/7371","id":285555163,"user":{"login":"nntoan","id":3891429,"avatar_url":"https://avatars1.githubusercontent.com/u/3891429?v=3","gravatar_id":"","url":"https://api.github.com/users/nntoan","html_url":"https://github.com/nntoan","followers_url":"https://api.github.com/users/nntoan/followers","following_url":"https://api.github.com/users/nntoan/following{/other_user}","gists_url":"https://api.github.com/users/nntoan/gists{/gist_id}","starred_url":"https://api.github.com/users/nntoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nntoan/subscriptions","organizations_url":"https://api.github.com/users/nntoan/orgs","repos_url":"https://api.github.com/users/nntoan/repos","events_url":"https://api.github.com/users/nntoan/events{/privacy}","received_events_url":"https://api.github.com/users/nntoan/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T02:28:48Z","updated_at":"2017-03-10T02:28:48Z","body":"@erfanimani I don't know how could you solve this problem, but seem this [pull request](https://github.com/magento/magento2/pull/8593/files/92a6e89f97e68222565539d87c1006f93d155513) can't work for me.\r\n\r\nEven I also added `getCacheKeyInfo` to `Magento\\Swatches\\Block\\Product\\Renderer\\Configurable`.\r\nThe price is already not correct after you choose a new currency, for e.g 32AUD -> 10.37GBP (must be 18.36GBP). This price only correct if I choose a swatch, the first load to configurable product not display to correct price....\r\n\r\nDo you have any idea about this?"}}
{"actor":{"display_login":"nntoan"}}