Magento Asked on December 7, 2021
final_price.js to may be not loading this template how to solve it?
anyne help me to find this solution
<if args="isSalable($row())">
<if args="getRegularPrice($row())">
<span css="'old-price': hasSpecialPrice($row()), 'regular-price': !hasSpecialPrice($row())">
<span class="price-container"
css="getAdjustmentCssClasses($row())">
<span if="label && hasSpecialPrice($row())"
class="price-label"
text="label"/>
<span class="price-wrapper"
css="priceWrapperCssClasses"
attr="priceWrapperAttr"
data-price-amount=""
data-price-type=""
html="getRegularPrice($row())"/>
<if args="!hasSpecialPrice($row())">
<each args="data: getAdjustments(), as: '$adj'">
<render args="$adj.getBody()"/>
</each>
</if>
</span>
<span class="percent-discount" html="getPercentDiscount($row())"/>
</span>
</if>
</if>
this template not loaded for configurable porduct
I noticed this type of situation could happen if configurable product's simple product qty = 0 or not correctly added scenario. Because I assume isSalable($row())
will check its simple product's stock qty. Otherwise, it will not show the template content.
Answered by Dasitha Abeysinghe on December 7, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP