Skip to content

Instantly share code, notes, and snippets.

@davidalves1
Last active May 16, 2017 13:56
Show Gist options
  • Save davidalves1/285d675f8e3fe10068ea45f1210a1540 to your computer and use it in GitHub Desktop.
Save davidalves1/285d675f8e3fe10068ea45f1210a1540 to your computer and use it in GitHub Desktop.
Não exibir preço no checkout da loja Magento quando for frete grátis

Para não exibir o valor do frete no checkout quando for frete grátis:

  • Checkout: Ir até o arquivo app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml substituir o código /*Line 61*/ <?php echo $_excl; ?> pelo código abaixo:
<?php if ($_rate->getPrice() > 0): ?>
  <?php echo $_excl; ?>
<?php endif; ?>
  • Checkou side-bar Ir até o arquivo app/design/frontend/base/default/template/checkout/onepage/progress/shipping_method.phtml e substituir o código /*Line 42*/ <?php echo $_excl; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment