Benjamin Cookson
02/27/2023, 4:34 PMwismadel
02/27/2023, 5:04 PMBenjamin Cookson
02/27/2023, 5:13 PMSteve Goldberg
02/27/2023, 5:44 PMSteve Goldberg
02/27/2023, 5:44 PMI have been told that we need to set up an online base price in addition to our base price but I have not had time to look at that yet and still not clear why we would have to do that.That seems odd to me too
wismadel
02/27/2023, 5:45 PMBenjamin Cookson
02/27/2023, 5:46 PMSteve Goldberg
02/27/2023, 5:48 PMBenjamin Cookson
02/27/2023, 5:48 PMSteve Goldberg
02/27/2023, 5:48 PMSteve Goldberg
02/27/2023, 5:49 PMSC.CONFIGURATION.priceLevel
return the values you expect?Benjamin Cookson
02/27/2023, 5:50 PMSteve Goldberg
02/27/2023, 5:58 PMSC.Application.getLayout().getCurrentView().model.getItem().get(SC.CONFIGURATION.priceLevel.default)
return the correct value or undefined
?Benjamin Cookson
02/27/2023, 6:01 PMSC.Application.getLayout().getCurrentView().model.getItem().get(SC.CONFIGURATION.priceLevel.default)
225
Benjamin Cookson
02/27/2023, 6:01 PMSteve Goldberg
02/27/2023, 6:01 PMBenjamin Cookson
02/27/2023, 6:03 PMSteve Goldberg
02/27/2023, 6:07 PMSC.Application.getLayout().getCurrentView().childViewInstances['Product.Price']['Product.Price'].childViewInstance.getContext()
Steve Goldberg
02/27/2023, 6:07 PMcomparePriceFormatted
correct?Benjamin Cookson
02/27/2023, 6:08 PMSteve Goldberg
02/27/2023, 6:08 PMBenjamin Cookson
02/27/2023, 6:09 PMSteve Goldberg
02/27/2023, 6:09 PMBenjamin Cookson
02/27/2023, 6:09 PMBenjamin Cookson
02/27/2023, 6:09 PMSteve Goldberg
02/27/2023, 6:10 PMshowComparePrice
is trueSteve Goldberg
02/27/2023, 6:10 PMSteve Goldberg
02/27/2023, 6:10 PMSteve Goldberg
02/27/2023, 6:10 PMBenjamin Cookson
02/27/2023, 6:10 PMSteve Goldberg
02/27/2023, 6:10 PMSteve Goldberg
02/27/2023, 6:11 PMSteve Goldberg
02/27/2023, 6:11 PMBenjamin Cookson
02/27/2023, 6:13 PM<span class="product-views-price-range" itemprop="offers" itemscope itemtype="<https://schema.org/AggregateOffer>">
<meta itemprop="priceCurrency" content="{{currencyCode}}"/>
<meta itemprop="highPrice" data-rate="{{maxPrice}}" content="{{maxPrice}}"/>
<meta itemprop="lowPrice" data-rate="{{minPrice}}" content="{{minPrice}}"/>
<!-- Price Range -->
<span class="product-views-price-lead">
{{translate '<span data-rate="$(0)" >$(1)</span> to <span data-rate="$(2)">$(3)</span>' minPrice minPriceFormatted maxPrice maxPriceFormatted}}
</span>
{{#if showComparePrice}}
<small class="product-views-price-old">
{{comparePriceFormatted}}
</small>
{{/if}}
<link itemprop="availability" href="{{#if isInStock}}<https://schema.org/InStock{{else}}https://schema.org/OutOfStock{{/if}}>"/>
</span>
Steve Goldberg
02/27/2023, 6:15 PMshowComparePrice
- one for price ranges and one for non-rangesBenjamin Cookson
02/27/2023, 6:16 PMBenjamin Cookson
02/27/2023, 6:17 PMBenjamin Cookson
02/27/2023, 6:17 PMBenjamin Cookson
02/27/2023, 6:18 PMSteve Goldberg
02/27/2023, 6:18 PMSteve Goldberg
02/27/2023, 6:18 PMSteve Goldberg
02/27/2023, 6:18 PMBenjamin Cookson
02/27/2023, 6:19 PMSteve Goldberg
02/27/2023, 6:19 PMBenjamin Cookson
02/27/2023, 6:19 PMSteve Goldberg
02/27/2023, 6:19 PMBenjamin Cookson
02/27/2023, 6:52 PMSteve Goldberg
02/28/2023, 9:57 AM