Giter Site home page Giter Site logo

reyadrahman / magento-ecommerce-shell-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbashyal/magento-ecommerce-shell-scripts

0.0 1.0 0.0 73 KB

Repo for various Magento ecommerce Shell Scripts

Home Page: http://dltr.org/blog/c/magento

PHP 97.84% Shell 2.16%

magento-ecommerce-shell-scripts's Introduction

Magento Ecommerce Shell Scripts

[Flattr this git repo](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>

Magento custom shell scripts:

  1. Unable to delete Magento products? (solution)
  2. How to delete old magento log table entries? (solution)
  3. How to change magento order status programmatically? (solution)
  4. Add all products to new and existing websites. (view script)

attributegroup.php

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.

changestatus.php

fixSpecialDate.php

this script finds special dates with default 1970 and unsets dates, so special date is valid forever. You can modify for your requirement.

inventory.php

magento_cleanup.sh

product.php

showlayer.php

suspendCustomers.php

Move user to suspended customer group (moves customers to suspended customer group if not logged-in for more than 10 months).

quote-to-order.php

Requires attached model to run properly.

php quote-to-order.php --ids 21433666 --delete-existing 1

update_attributes.php

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 ,,

visit: http://dltr.org/ for more magento tips, tricks and codes.

magento-ecommerce-shell-scripts's People

Contributors

dbashyal avatar

Watchers

Mostafa Mohammad Reyad Rahman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.