Skip to content

Instantly share code, notes, and snippets.

Anna Völkl avoelkl

Block or report user

Report or block avoelkl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
avoelkl / de_DE.csv
Last active Feb 22, 2018 — forked from peterjaap/de_DE.csv
View de_DE.csv
label Bezeichnung
Base Image Basisbild
Small Image Kleines Bild
Thumbnail Miniaturansicht
None Keine
AllOptional Alle optional
LastWords letztes Wort
FirstWords erstes Wort
Search for products, categories Suche nach Produkten, Kategorien
Search Suche
avoelkl / gist:0cacdb354c7c45c6157be44676e825aa
Last active Sep 7, 2016
addGroupPriceData() is missing in Mage_Catalog_Model_Resource_Product_Collection
View gist:0cacdb354c7c45c6157be44676e825aa
* Created by PhpStorm.
* User: Anna Völkl <>
* Date: 07.09.2016
* Time: 16:01
add this to config.xml
avoelkl / loadcustomer.php
Last active Aug 17, 2016
Testing efficient way of loading customer data
View loadcustomer.php
require_once '../app/Mage.php';
$customerId = 575420;
$start = microtime();
$memory1 = memory_get_usage();
$customer = Mage::getModel('customer/customer')->load($customerId);
$firstname = $customer->getFirstname();
avoelkl / composer.json
Created Aug 12, 2016
Sample composer.json file
View composer.json
"name": "vendor/modulename",
"type": "magento-module",
"description":"Helps you doing cool stuff",
"name":"Firstname Lastname",
View Sample modman file
src/app/code/community/Vendor/* app/code/community/Vendor/
src/app/etc/modules/* app/etc/modules/
avoelkl /
Last active Jun 16, 2016
PayPal Security Update on June 17th 2016

So, here's the thing: PayPal is rolling out a security update on June 17th 2016. A friday, for the joy of all developers and agencies I think. Those who are not prepared and did not check the requirements first will have websites/shops with a non-working PayPal integration after June 17th.

The main 2 points are:

Support SHA-256

PayPal is upgrading SSL certificates on all Live and Sandbox endpoints from SHA-1 to the stronger and more robust SHA-256 algorithm. You will need to update your integration to support certificates using SHA-256.

Discontinue use of the VeriSign G2 Root Certificate

avoelkl / create_website_scope.php
Last active Dec 14, 2015 — forked from yireo/create_website_scope.php
Magento script to create a new Website, new Store Group, new Store View and new Root Catalog - all linked together.
View create_website_scope.php
$name = 'Shop:Name';
$code = 'shop';
// Create the root catalog
$category = Mage::getModel('catalog/category');
$category->setData('name', $name);
$category->setData('url_key', $code);
$category->setData('display_mode', 'PRODUCTS');
avoelkl / upgrade-0.1.67-0.1.68.php
Last active Dec 2, 2015
SUPEE-6788 variable + block setup script. 1.) Create a new module or extend a current one. 2.) Create a new install or setup script with the variables and blocks which are not whitelisted yet.
View upgrade-0.1.67-0.1.68.php
* Created by PhpStorm.
* User: a.voelkl
* Date: 30.10.2015
* Time: 13:21
/** @var $installer Mage_Core_Model_Resource_Setup */
$installer = $this;
avoelkl / OpenSTV
Created Sep 1, 2015
MagentoSE Election 2015
View OpenSTV
Created with the ballots file from:
OpenSTV version 1.7 (
Suggested donation for using OpenSTV for an election is $50. Please go to to donate via PayPal, Google Checkout, or
Amazon Payments.
avoelkl / gist:3ed0fdc5d7fd171ea591
Last active Aug 29, 2015
All the times & dates & places for #mhlej15 & #mm15de
View gist:3ed0fdc5d7fd171ea591
You can’t perform that action at this time.