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> |
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
.input-addon { | |
background-color: #eee; | |
height: 30px; | |
padding: 0px 10px; | |
display: inline-flex; | |
position: relative; | |
top: -1px; | |
align-items: center; | |
justify-content: center; | |
border: 1px solid #cacaca; |
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 | |
/** | |
* Copyright © Magento, Inc. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
// @codingStandardsIgnoreFile | |
?> | |
<?php |
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
query getProductsByCategoryId( | |
$currentPage: Int = 1 | |
$pageSize: Int = 12 | |
$categoryId: String! | |
) { | |
products( | |
currentPage: $currentPage | |
pageSize: $pageSize | |
search: "" | |
filter: { |
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
class { | |
} |
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
<?xml version="1.0"?> | |
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> | |
<body> | |
<referenceContainer name="product.info.stock.sku" remove="true" /> | |
<referenceContainer name="product.info.social" remove="true" /> | |
<referenceContainer name="product.info.media" remove="true" /> | |
<referenceBlock name="product.info.overview" remove="true" /> | |
<referenceBlock name="product.info.review" remove="true" /> | |
<referenceBlock name="reviews.tab" remove="true" /> | |
<referenceBlock name="giftregistry.product.view.customize.button" remove="true" /> |
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 | |
echo "<pre>"; | |
var_dump($_item->debug()); | |
echo "</pre>"; | |
?> |
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 | |
if(!Mage::getSingleton('customer/session')->isLoggedIn()){ | |
//not logged in | |
}else{ | |
// logged in | |
} | |
?> |
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
login url | |
<?php echo Mage::getUrl('customer/account/login'); ?> | |
logout url | |
<?php echo Mage::getUrl('customer/account/logout'); ?> | |
My Account url | |
<?php echo Mage::getUrl('customer/account'); ?> | |
Register url |
NewerOlder