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 | |
catalog_product_entity_int | |
SET | |
value = 1 -- new value | |
WHERE | |
attribute_id = 85 AND -- attribute_id you want to change | |
entity_id IN ( | |
SELECT DISTINCT product_id FROM catalog_product_super_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
From 9577ab235d9ad56b0020bc0a77ffb6b11cc28f3b Mon Sep 17 00:00:00 2001 | |
From: Fabian Blechschmidt <blechschmidt@fabian-blechschmidt.de> | |
Date: Mon, 15 Feb 2016 22:44:12 +0100 | |
Subject: [PATCH] fix broken methods and templates | |
--- | |
app/code/local/MST/Fancycheckout/controllers/LoadController.php | 6 ++++-- | |
app/code/local/MST/Fancycheckout/controllers/SaveController.php | 5 ++--- | |
.../fancycheckout/checkout/billing/billing_shipping_address.phtml | 5 +++-- | |
.../fancycheckout/checkout/review/review_info/product_info.phtml | 5 +++-- |
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 | |
// app/code/local/Ikonoshirt/Shared/Model/Adminhtml/ | |
class Ikonoshirt_Shared_Model_Adminhtml_ConfigAsXml | |
extends Mage_Core_Model_Config_Data | |
{ | |
protected function _afterLoad() | |
{ | |
/** @var $xml Mage_Core_Model_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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
require 'formula' | |
class Varnish3 <Formula | |
url 'http://repo.varnish-cache.org/source/varnish-3.0.2.tar.gz' | |
homepage 'http://www.varnish-cache.org/' | |
sha256 '973f60625e9690e0989e1bbc73c37ea53fc6291b8f7b03d617b76f8084a4a243' | |
depends_on 'pkg-config' => :build | |
depends_on 'pcre' => :build |
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
class PatchDownloader | |
{ | |
/** | |
* @var string | |
*/ | |
private $infoUrl = "https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/info/filter/version/"; | |
/** | |
* @var string | |
*/ | |
private $downloadUrl = "https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/file/"; |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCjwYMG6aXe6qSEZR+MAP/IxkhV0iFyZdtAMYbp23XsIbf/gatLnlafqmuORT0SxRVwAr1oI920n9F1iL06WTmEnVF3ncC8ISPEPrPzLzMjbRQhF6EjW9ypxNcjW/kEqzz6ci6fY6o0ds/+0i12IJfxFaWVgEGm5Osyd3u3810GW9coaWDoscDjEHhhVJDGbypXRyc7w7ZWPthFeRykUtSHG4WchQ6AwRZwo1ajfWPedkSQA4CcOEhqxiQN/Lv1aMvI14JH83HmkKv/lIM6KLbteJusywJSfX9H5Y5rkcbxbULgGH5hy0fiKeBojXJ0WPhp7AT6C23rEBI6deBEsBcMHZaw1pcTHrOgOkUrpNQwvMgZy6LmqgnsJsmm25TmvNMvkp8I4cN1n/bAwqTj7NNypic5Z9iqMGji2dE9cA90x/NZloLh7/N+LK6LrkO48jNmve/sV9qz+klv+qDQpCD7Uf3nWo0Qj+cACJ4xmpOb4f/7ctfO5oIe/y/dYevhV3c4ll6sraonX+LklV4Dol9/SpaEABAhybDvYTBbw7+MgD+eBT7bjzTKi16mWVh1T9JKUGnsLsVWmkwxIyjqt19XRHhbBLzArHgg/rvqP1g6cQIVSa7p26S5VipWdNg8NVOsPWOHlMRBxscOhCyBgws/flkkRmMOpoWsGBKVBRZJHQ== fabian@Chamomilla-6.local |
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
Index: www/vendor/webshopapps/productmatrix/app/code/community/Webshopapps/Productmatrix/Model/Mysql4/Carrier/Productmatrix.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- www/vendor/webshopapps/productmatrix/app/code/community/Webshopapps/Productmatrix/Model/Mysql4/Carrier/Productmatrix.php (date 1519796135000) | |
+++ www/vendor/webshopapps/productmatrix/app/code/community/Webshopapps/Productmatrix/Model/Mysql4/Carrier/Productmatrix.php (date 1519796135000) | |
@@ -1715,7 +1715,7 @@ | |
$weight = 0; | |
$qty = 0; |
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
# Put this file into puphpet/files/exec-once/install-ioncube so it only executed once | |
# it loads ioncube, unzips it, move and add it to php.ini | |
echo "Loading ioncube" | |
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz | |
echo "Unzipping ioncube" | |
tar xvfz ioncube_loaders_lin_x86-64.tar.gz | |
echo "Move ioncube to usr/local" | |
mv ioncube /usr/local | |
echo "Add ioncube to php.ini" |
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
/** | |
* Set prices and image configuration | |
* | |
* @param Varien_Event_Observer $observer | |
*/ | |
public function salesQuoteCollectTotalsBefore(Varien_Event_Observer $observer) | |
{ | |
/* @var $quote Mage_Sales_Model_Quote */ | |
$quote = $observer->getQuote(); | |
foreach ($quote->getAllItems() as $quoteItem) { |