Skip to content

Instantly share code, notes, and snippets.

<?php
ini_set('display_errors', true);
$magento = fopen("magento.csv", "r");
$akeneo = fopen("akeneo.csv", "r");
$presents_in_akeneo = fopen("present_akeneo.csv", "a+");
$presents_in_magento = fopen("present_magento.csv", "a+");
$presents_on_both = fopen("present_both.csv", "a+");
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="../../config.xsd">
<steps mode="settings">
<step title="Settings Step">
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<map xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="../../map.xsd">
<source>
<document_rules>
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="../../config.xsd">
<steps mode="settings">
<step title="Settings Step">
@andre-redstage
andre-redstage / import-categories-M1toM2
Last active January 24, 2018 17:29
Get Magento categories from a M1 store and save to a M2 store using Magento webservices on M1 and M2.
<?php
class ImportCategories {
private $m1Client = null;
private $m1data = null;
private $m2data = null;
private $m1Session = null;
private $m2Categories = null;
<h2>Panini Pricing Information</h2>
<table border="0">
<tbody>
<tr><th colspan="2">Kobe Bryant</th></tr>
<tr>
<td class="col1">Small (Photo, Shoes)</td>
<td>$550</td>
</tr>
<tr>
<td>Medium (Basketballs)</td>
#!/bin/sh
BASE_DIR="/www/sites/m2.travisplatform.com/files/"
HTML='html'
v1='v1'
v2='v2'
GIT='git/'
STATIC_FOLDER='static'
#!/bin/sh
BASE_DIR="/www/sites/uat.travisplatform/files/"
HTML='html'
v1='v1'
v2='v2'
GIT='git/'
STATIC_VAR='static/var'
STATIC_MEDIA='static/media'
STATIC_LOCALXML='static/app/etc/local.xml'