This file contains 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 = $this->getProduct(); | |
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes()); | |
?> | |
<?php if ($_product->isSaleable() && count($_attributes)):?> | |
<?php //Irá exibir o valor do atributo no label como: Cor, Tamanho, Dimensões e etc... ?> | |
<div class="options"> | |
<label for="super_attribute[<?php echo $_attribute->getAttributeId() ?>]"><?php echo $_attribute->getProductAttribute()->getAttributeCode(); ?></label> | |
<div class="dropdown-select"> | |
<select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select"> |
This file contains 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 // Check to see if the item is in stock | |
if($_product->stock_item->is_in_stock == 1): | |
echo $this->__('Availability') ?>: <strong><?php echo $this->__('In stock') ?></strong> ?> | |
<?php else: ?> | |
<strong><a href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) ?>contacts/" title="<?php echo $this->__('Email') ?>"><?php echo $this->__('Email') ?></a></strong> <?php echo $this->__('or Call for Availability') ?> 1-222-333-444 | |
<?php endif; ?> |
This file contains 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
chown -R _www:_www * # Let apache be owner | |
sudo find . -type d -exec chmod 755 {} \; # rwxr-xr-x | |
sudo find . -type f -exec chmod 644 {} \; # rw-r--r-- |
This file contains 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 | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/afl-3.0.php |
This file contains 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
{ | |
"always_prompt_for_file_reload": false, | |
"always_show_minimap_viewport": false, | |
"animation_enabled": true, | |
"atomic_save": true, | |
"auto_close_tags": true, | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": false, | |
"auto_complete_delay": 50, | |
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin", |
This file contains 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"?> | |
<layout version="0.1.0"> | |
<default> | |
<!-- Top links (user menu) ====================================================================== --> | |
<reference name="top.links"> | |
<!-- Remove cart, checkout and wishlist top links --> | |
<remove name="checkout_cart_link" /> |
This file contains 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 (c) 2013 Studio Boz | |
* | |
* @project_name Studio Boz | |
* @copyright Copyright (c) 2013 Studio Boz (http://studioboz.com.br) | |
* @author Rick Benetti <[email protected]> | |
* | |
**/ |
This file contains 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
Is there a way to stop a magento indexer process? | |
php -f indexer.php reindex all | |
Stock Status Index process is working now. Please try run this process later. | |
Product Prices Index process is working now. Please try run this process later. | |
Catalog URL Rewrites Index process is working now. Please try run this process later. | |
Product Flat Data Index process is working now. Please try run this process later. | |
Category Flat Data Index process is working now. Please try run this process later. | |
Category Products Index process is working now. Please try run this process later. | |
Catalog Search Index Index process is working now. Please try run this process later. | |
Stock Status index was rebuilt successfully |