Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check of null result value in swatch-renderer.js
There is an error when product has more than one kind of swatches: Uncaught TypeError: Cannot read property 'oldPrice' of undefined - swatch-renderer.js:843 Steps to reproduce: 1) Set Special Price for some Simple of the Configurable product which has more than one kind of swatches, for example SKU: WJ03 2) Go to PDP (../augusta-pullover-jacket.html) 3) Select some Color and look to the console - there You will be able to see the error. This is because 'result' is null before all of the swatches are selected.
- Loading branch information