File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
ConfigurableProduct/Model/Product/Type
Swatches/view/frontend/web/js Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 24
24
* @SuppressWarnings(PHPMD.TooManyFields)
25
25
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
26
26
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
27
+ * @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
27
28
* @api
28
29
* @since 100.0.2
29
30
*/
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ define([
317
317
msrpPrice = prices [ priceIndex ] . msrpPrice . amount ;
318
318
finalPrice = prices [ priceIndex ] . finalPrice . amount ;
319
319
320
- if ( msrpPrice === null || msrpPrice <= finalPrice ) {
320
+ if ( msrpPrice === null || msrpPrice <= finalPrice ) {
321
321
this . updateNonMsrpPrice ( priceUtils . formatPrice ( finalPrice ) ) ;
322
322
} else {
323
323
this . updateMsrpPrice (
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ define([
523
523
label = this . label ? this . label : '' ;
524
524
attr =
525
525
' id="' + controlId + '-item-' + id + '"' +
526
- ' index="' + index + '"' +
526
+ ' index="' + index + '"' +
527
527
' aria-checked="false"' +
528
528
' aria-describedby="' + controlId + '"' +
529
529
' tabindex="0"' +
@@ -748,7 +748,7 @@ define([
748
748
749
749
$ ( document ) . trigger ( 'updateMsrpPriceBlock' ,
750
750
[
751
- parseInt ( $this . attr ( 'index' ) ) + 1 ,
751
+ parseInt ( $this . attr ( 'index' ) , 10 ) + 1 ,
752
752
$widget . options . jsonConfig . optionPrices
753
753
] ) ;
754
754
You can’t perform that action at this time.
0 commit comments