Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid

Magento customized "Shop by" Navigation

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/local.xml";

echo "$URL";
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/layer_view.css";

echo "$URL";
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/my.view.phtml";

echo "$URL";
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/filter.phtml";

echo "$URL";
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/filter.select.phtml";

Magento product back button

<?php
$URL="http://www.panticz.de/sites/default/files/magento/back-button/styles.css";

echo $URL;
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

$URL="http://www.panticz.de/sites/default/files/magento/back-button/back-button.view.phtml";

echo $URL;
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

mkdir -p ./app/design/frontend/default/default/template/catalogsearch/
cp ./app/design/frontend/base/default/template/catalogsearch/result.phtml ./app/design/frontend/default/default/template/catalogsearch/result.phtml
<?php
$URL="http://www.panticz.de/sites/default/files/magento/back-button/result.phtml.diff";
echo $URL;
echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Increase session timeout to one day (API and SESSION)

Session SQL
INSERT INTO core_config_data(path, value)
VALUES ('web/cookie/cookie_lifetime', 86400)
ON DUPLICATE KEY UPDATE value = 86400;

or manual:
System -> Configuration
General > Web
Session Cookie management
Cookie Lifetime: 86400

API SQL
INSERT INTO core_config_data(path, value)
VALUES ('api/config/session_timeout', 86400)
ON DUPLICATE KEY UPDATE value = 86400;

or manual:
System -> Configuration
General > Services
Magento Core Api
General Settings
Client Session timeout (sec.): 86400

Install and configure Market Ready Germany

/var/www/pear install magento-community/market_ready_germany

# LINKS

http://www.symmetrics.de/mrg/
http://www.magentocommerce.com/extension/1764/market-ready-germany
http://twitter.com/marketreadyger

NoRegion

http://www.magentocommerce.com/extension/1826/mxperts--noregion
/var/www/pear install magento-community/Mxperts_NoRegion

Disable telephone as required in customer/address
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customer_address/edit.phtml.diff";

echo "<div><pre>";
</pre></div>
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

Links
http://www.magentocommerce.com/boards/viewthread/9081/P45/

Change Magento Default Theme

# Modern
cd /var/www
/var/www/pear mage-setup /var/www
/var/www/pear install magento-core/Interface_Frontend_Default_Modern

System > Configuration > Design > Themes
Default: modern

# Blank
cd /var/www
/var/www/pear mage-setup /var/www
/var/www/pear install magento-core/Interface_Frontend_Default_Modern

System > Configuration
General > Design > Themes
Default: blank

# Links

http://www.magentocommerce.com/design_guide/articles/working-with-magento-themes#head-say-hello-to-multiple

Magento configuration

Error loging
set_core_config_data "dev/log/active" "0"
/var/www/var/log/exception.log
/var/www/var/log/system.log

Disable review
System > Configuration > Advanced
Mage_Review: Disabled

Disable wishlist
vi /var/www/magento/app/design/frontend/default/modern/template/catalog/product/list.phtml
helper('wishlist')->isAllow()) : ?>

Disable compare
vi /var/www/magento/app/design/frontend/default/modern/template/catalog/product/list.phtml
getAddToCompareUrl($_product)): ?>

Disable wishlist and compare
uncomment ul class="add-to"

Enable Exception printing

cp ./errors/local.xml.sample ./errors/local.xml

Enhanced Admin Products Grid
http://www.magentocommerce.com/magento-connect/WDCA/extension/748/enhan…
/var/www/pear install magento-community/TBT_Enhancedgrid

Mass Product Relater
http://www.magentocommerce.com/magento-connect/WDCA/extension/549/mass-…
/var/www/pear install magento-community/Mass_Product_Relater

Change min. password length
edit /var/www/app/code/core/Mage/Customer/Model/Customer/Attribute/Backend/Password.php

# change default catalog list mode to list

set_core_config_data "catalog/frontend/list_mode" "list-grid"

Payment

# bankpayment

set_core_config_data "payment/bankpayment/sort_order" "-10"
set_core_config_data "payment/bankpayment/bank_accounts" 'a:6:{s:14:"account_holder";a:2:{i:0;s:0:"";i:1;s:25:"YOUR_COMPANY_INC";}s:14:"account_number";a:2:{i:0;s:0:"";i:1;s:10:"123 123 12";}s:9:"sort_code";a:2:{i:0;s:0:"";i:1;s:10:"444 555 60";}s:9:"bank_name";a:2:{i:0;s:0:"";i:1;s:17:"DKB";}s:4:"iban";a:2:{i:0;s:0:"";i:1;s:27:"DE 1111 2222 3333 4444 5555";}s:3:"bic";a:2:{i:0;s:0:"";i:1;s:8:"PBXKAAFF";}}'

# install
./pear install magento-community/CashOnDelivery
# configure

set_core_config_data "payment/cashondelivery/active" "1"
set_core_config_data "payment/cashondelivery/shippingallowspecific" "1"
set_core_config_data "payment/cashondelivery/shippingspecificcountry" "DE"
set_core_config_data "payment/cashondelivery/inlandcosts" "3.5"
set_core_config_data "payment/cashondelivery/customtext" "zusätzlich € 2,- Zustellgebühr bei Übergabe"
set_core_config_data "payment/cashondelivery/title" "Nachnahme"

Links
http://www.mxperts.de/magento-14x-was-erwartet-uns/
http://www.magentocommerce.com/wiki/modules_reference/english/mage_admi… - Email Variables

Create Magento SOAP account

command line

wget http://www.panticz.de/sites/default/files/soap.txt -O /tmp/soap.sql
mysql -u magento -pmagento magento < /tmp/soap.sql

Create soap role
System > Web Services > Roles
[Add New Role]
Role name: API Full Access

Roles Resources
Resource Access: All

[Save Role]

Create soap user
System > Web Services > Users
[Add New User]
User Name: soap
First Name: soap
Last Name: soap
Email: soap@soap.com
Api Key: test123
Api Key Confirmation: test123
This account is: Active

User Role
select: API Full Access

[Save User]

SOAP login test with PHP
// Magento login information
$mage_url = 'http://YOUR_MAGENTO_IP/magento/index.php/api/?wsdl';
$mage_user = 'soap';
$mage_api_key = 'test123';
// Initialize the SOAP client
$soap = new SoapClient( $mage_url );
// Login to Magento
echo $soap->login( $mage_user, $mage_api_key );
?>

$URL="http://dl.dropbox.com/u/4170695/magento/magento-product-info.php";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Install Magento

Installation
<?php
$URL="https://raw.githubusercontent.com/panticz/magento/master/scripts/install_magento.sh";

echo "wget $URL -O - | bash -";
echo "<div><pre>";
</pre></div>

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

echo htmlspecialchars(curl_exec($c));

curl_close($c);

echo "";

?>

LINKS
https://linoxide.com/tools/install-magento-ubuntu/
http://YOUR_SERVER_IP/magento/index.php/ - store frontend
http://YOUR_SERVER_IP/magento/index.php/admin/dashboard/ - admin menu
http://YOUR_SERVER_IP/magento/downloader/index.php - connect manager
http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh
http://www.magentocommerce.com/wiki/general/installing-magento-on-slicehost-with-ubuntu
http://www.magentocommerce.com/wiki/groups/227/command_line_installation_wizard
http://svn.magentocommerce.com/source/branches/1.1-trunk/install.php
http://blog.magentomagik.com/how-to-install-magento-extensions-magento-extension-installation-guide/ - How to install magento extensions

Language

Install languages
cd /var/www

# German: http://www.magentocommerce.com/extension/413/
./pear install magento-community/Locale_Mage_community_de_DE
# French: http://www.magentocommerce.com/extension/414/
./pear install magento-community/Locale_Mage_community_fr_FR
# Russian: http://www.magentocommerce.com/extension/391/
./pear install magento-community/Locale_Mage_community_ru_RU

Configure language (Store View)
Admin Panel > System > Manage Stores

[ Create Store view ]
Store: Main Website Store
Name: German
Code: de
[ Save Store view ]

# english

Store: Main Website Store
Name: English
Code: gb

# French

Store: Main Website Store
Name: French
Code: fr

# Russia

Store: Main Website Store
Name: Russian
Code: ru

Configure language (Locale)
Admin Panel > System > Configuration
Current Configuration Scope: German

General > General
Locale options:
Use website: check out
Locale: German (Germany)

do the same steps for all another langages

# sql (broken???)

< INSERT INTO `core_store` VALUES (0,'admin',0,0,'Admin',0,1),(1,'default',1,1,'Default Store View',0,1);
---
> INSERT INTO `core_store` VALUES (0,'admin',0,0,'Admin',0,1),(1,'de',1,1,'German',0,1);

DELETE from core_store WHERE website_id = 1;
INSERT INTO core_store(store_id, code, website_id, group_id, name, sort_order, is_active) VALUES
(1, 'de', 1, 1, 'German', 1, 1),
(2, 'gb', 1, 1, 'English', 2, 1),
(3, 'fr', 1, 1, 'French', 3, 1),
(4, 'ru', 1, 1, 'Russian', 4, 1);

Pagination

  • Previous page
  • 4
  • Next page
magento
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung