[](https://flattr.com/submit/auto?user_id=dbashyal&url=https://github.com/dbashyal&title=Github Repos&language=&tags=github&category=software)
Repo for various Magento ecommerce Shell Scripts
Where to upload?
- {magento-root}/app/shell/
How to run? Go to shell folder location and run:
$: php <filename>
- Unable to delete Magento products? (solution)
- How to delete old magento log table entries? (solution)
- How to change magento order status programmatically? (solution)
- Add all products to new and existing websites. (view script)
create product attributes, create attribute set group to all attribute sets and assign new attribute to this new group. it works for existing attributes too.
this script finds special dates with default 1970 and unsets dates, so special date is valid forever. You can modify for your requirement.
Move user to suspended customer group (moves customers to suspended customer group if not logged-in for more than 10 months).
Requires attached model to run properly.
php quote-to-order.php --ids 21433666 --delete-existing 1
Update mass attribute values. sample csv (/var/import/google_shopping.csv):
sku,rw_google_base_skip_submi,rw_google_base_product_type,rw_google_base_product_categ,rw_google_base_12_digit_sku,rw_google_base_adw_grouping,rw_google_base_adw_labels
back_freezedried_singleserve ,0,"Sporting Goods > Outdoor Recreation > Camping, Backpacking & Hiking > Freeze-Dried Food","Sporting Goods > Outdoor Recreation > Camping, Backpacking & Hiking > Freeze-Dried Food",back_freezedried_singleserve ,,