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') |
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 |
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}' | |
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> |
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
<config> | |
<global> | |
<sales> | |
<order> | |
<states> | |
<pending_payment translate="label"> | |
<visible_on_front>1</visible_on_front> | |
</pending_payment> | |
</states> | |
</order> |
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
<?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: |
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 | |
// Transaction Data | |
$orderID = $this->getOrderId(); | |
$order = Mage::getModel('sales/order')->loadByIncrementId($orderID); | |
$orderTotal = $order->getGrandTotal(); | |
$orderDetails = $order->getData(); | |
$couponCode = $orderDetails['coupon_code']; | |
?> |
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
Creare la cartella | |
app/code/local/Mage/Reports/Model/Resource/Quote/ | |
Copiare il file | |
app/code/core/Mage/Reports/Model/Resource/Quote/Collection.php | |
incollare in |
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
UPDATE | |
s1du4_mymaplocations_location, s1du4_k2_items | |
SET | |
s1du4_mymaplocations_location.extra_id = s1du4_k2_items.id | |
WHERE ( | |
s1du4_mymaplocations_location.catid = 8 | |
AND | |
s1du4_k2_items.catid = 154 | |
AND | |
s1du4_mymaplocations_location.name LIKE CONCAT('%', s1du4_k2_items.title ,'%') |