Created
December 22, 2020 16:32
-
-
Save wesleyalmd/f4e607f4d6d95d9f623ba92f207aa8e9 to your computer and use it in GitHub Desktop.
hiraoka-info-shipping.phtml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$_product = $block->getProduct(); | |
$_home_delivery = $_product->getData('home_delivery'); | |
$_store_pickup = $_product->getData('store_pickup'); | |
// $_xpress = ($_product->getAttributeText('size') == "XS") ? true : false; | |
?> | |
<?php if( $_home_delivery || $_store_pickup): ?> | |
<div class="hiraoka-info-shipping"> | |
<h5>Disponibilidad y tiempos de entrega</h5> | |
<?php if($_home_delivery): ?> | |
<p>Disponible para despacho a domicilio</p> | |
<?php endif; ?> | |
<?php if($_store_pickup): ?> | |
<p class="store_pickup">Disponible para retiro en tu tienda seleccionada</p> | |
<?php endif; ?> | |
<?php //if($_xpress): ?> | |
<!-- <p class="hiraoka-info-shipping ctm_ctl">Disponible para despacho express</p> --> | |
<?php // endif; ?> | |
</div> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment