Skip to content

Instantly share code, notes, and snippets.

View thomas-harding's full-sized avatar

TM Harding thomas-harding

  • Fat Media
  • Lancaster UK
View GitHub Profile
@thomas-harding
thomas-harding / images_refactor.php
Created July 12, 2021 11:26
Refactor Magento 1 Additional Images Into Magento 2 Suitable Format
<?php
/*
* USING EXCEL
* 1) Grab the export from Magento
* 2) Filter the blanks out of "_media_image" column
* 3) Copy columns sku image, small_image, thumbnail, _media_image into new sheet
* 4) Save it in same directory as this script and run.
* 5) Refactored feed will be generated.
*/
?>
@thomas-harding
thomas-harding / refactor.php
Created July 12, 2021 10:59
Refactor Magento 1 Super Attributes Into Magento 2 Suitable Format
<?php
/*
* USING EXCEL
* 1) Grab the export from Magento
* 2) Filter the blanks out of "Super Attributes SKU" column
* 3) Copy columns sku _super_products_sku _super_attribute_code _super_attribute_option into new sheet
* 4) Save it in same directory as this script and run.
* 5) Refactored feed will be generated.
*/
?>