Skip to content

Commit

Permalink
Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
klg committed Mar 6, 2019
1 parent 1797c65 commit 3453c49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions view/frontend/templates/afterprice.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
<div class="baseprice">
<?php echo $block->getBasePrice() ?>
</div>

<?php endif; ?>
<?php if ($block->isConfigurable()): ?>
<script type="text/javascript">
require(['jquery', 'jquery/ui', 'domReady!'], function($) {
Expand Down Expand Up @@ -56,11 +54,11 @@
}

var basePriceField = $('.product-info-price .baseprice');
console.log(result);
if (typeof result != 'undefined' && result.magenerds_baseprice_text.length && basePriceField.length) {
basePriceField.html(result.magenerds_baseprice_text);
}
});
});
</script>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>

0 comments on commit 3453c49

Please sign in to comment.