Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function renderAmountMinimal()
- {
- $id = $this->getPriceId() ? $this->getPriceId() : 'product-minimal-price-' . $this->getSaleableItem()->getId();
- $amount = $this->minimalPriceCalculator->getAmount($this->getSaleableItem());
- if ($amount === null) {
- return '';
- }
- return $this->renderAmount(
- $amount,
- [
- 'display_label' => __('As low as'),
- 'price_id' => $id,
- 'include_container' => false,
- 'skip_adjustments' => true
- ]
- );
- }
Add Comment
Please, Sign In to add comment