magesuite / theme-creativeshop

Open Software License 3.0
38 stars 24 forks source link

fix(swatch-renderer-ext): Make prices be updated also in list mode view #55

Open ptylek opened 3 years ago

ptylek commented 3 years ago

Currently there are two .price-box divs per each .cs-product-tile (1 for grid view, 1 for list view), and only one of them (the grid view one) is contained in the default this.options.selectorProduct which is .product-info-main.

Because of that, currently if user selects a swatch in the product listing in list view mode, the price is not updated. (It is updated only in grid view mode).