View local.xml
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"> | |
<checkout_cart_index> | |
<reference name="checkout.cart"> | |
<remove name="checkout.cart.shipping"/> | |
</reference> | |
</checkout_cart_index> | |
</layout> |
View gist:2f2d65cdbb6fd03ab6fd99446786fb28
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
find . -type f -exec chmod 644 {} \; | |
find . -type d -exec chmod 755 {} \; | |
sudo /etc/init.d/redis_6379 restart | |
find . -name "*.jpa" -type f -print0 | du -c --files0-from=- | awk 'END{print $1}' | |
View Magento passi per bug
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
Bug customer middle name che blocca carelli abbandonati | |
Bug memoria generazione immagini | |
Bug lingua italiana per tasto modifica ordini | |
https://magento.stackexchange.com/questions/82827/cannot-edit-order-or-send-the-email-from-sales-orders-inside-admin/83571#83571 |
View export-attributes.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
<?php | |
chdir(dirname(__FILE__)); | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
umask(0); | |
$productModel = Mage::getModel('Mage_Catalog_Model_Product'); | |
$categoryModel = Mage::getModel('Mage_Catalog_Model_Category'); | |
$resource = Mage::getModel('core/resource'); | |
$db = $resource->getConnection('core_write'); | |
$attributes = Mage::getSingleton('eav/config') |
View local.xml
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"> | |
<!-- add rel="prev" and rel="next" for Google SEO --> | |
<catalog_category_default> | |
<reference name="head"> | |
<block type="page/html_pager" name="relprev.next" as="rel_prev_next" template="page/html/rel_prev_next.phtml"/> | |
</reference> | |
</catalog_category_default> | |
View jimage_resize.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
<?php | |
if (!is_dir(JPATH_SITE .'/cache/Qcache/')) { | |
mkdir(JPATH_SITE .'/cache/Qcache/', 0755, true); | |
} | |
$imgPath = JPATH_SITE . '/cache/Qcache/' . basename($immagineURL); | |
$imgURL = '/cache/Qcache/' . basename($immagineURL); | |
if (!file_exists($imgPath)) { | |
// Create our image object |
View htaccess php max 5.6 magento 1.9.x
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
<IfModule mime_module> | |
AddType application/x-httpd-ea-php56 .php .php5 .phtml | |
</IfModule> |
View gist:a49ff537b1cda1fe9f87b0df17574c59
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"?> | |
<!-- | |
/** | |
* 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: |
View local.xml
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"?> | |
<!-- | |
/** | |
* 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: |
View Filter.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
If you look at line 29 in /components/com_roksprocket/lib/RokSprocket/Provider/K2/Filter.php you should see the following: | |
$this->query->select('CONCAT_WS(",", t.id) AS tag_ids, CONCAT_WS(",", t.name) AS tag_names'); | |
If you change this line to the following | |
$this->query->select('CONCAT_WS(",", t.id) AS tag_ids, CONCAT_WS(",", t.name) AS tags'); |