Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
This script lists all configurable products, which are "Out of Stock" and where at least one associated simple product is in stock. Additionally it lists configurable products, where the configurable product is set to "in stock" but none of the associated simple products are "in stock". When catalog is setup correctly, this script should return nothing.
<?php
require_once('app/Mage.php'); //Path to Magento| #!/bin/bash | |
| # | |
| # Found on StackOverflow: | |
| # http://stackoverflow.com/a/9304264/3765 | |
| # | |
| if [ ! -f ./app/etc/local.xml.template ]; then | |
| echo "-- ERROR" | |
| echo "-- This doesn't look like a Magento install. Please make sure" | |
| echo "-- that you are running this from the Magento main doc root dir" |
| <?php | |
| ini_set('display_errors', 1); | |
| set_time_limit(0); | |
| require('app/Mage.php'); | |
| umask(0); | |
| Mage::app('admin'); | |
| Mage::register('isSecureArea', 1); | |
| Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); | |
| $collection = Mage::getModel('catalog/product')->getCollection(); |
| import java.util.Scanner; | |
| public class Principal { | |
| Scanner valorInput = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| //Lista I | |
| CalcArea(); |
| <?php | |
| require_once 'abstract.php'; | |
| /** | |
| * Magento Dataflow Shell Script | |
| * | |
| * This file should be save in the shell directory of Magento | |
| * Basic usage samples: | |
| * php dataflow.php | |
| * php dataflow.php list |
| /** | |
| * Add XHR compatibility to Magento action buttoms | |
| * | |
| * Author: | |
| * Rafael Patro <rafaelpatro@gmail.com> | |
| * | |
| * Requirements: | |
| * DOMParser HTML fixes | |
| * jQuery Growl library | |
| * |
| <?php | |
| /** | |
| * Magento | |
| * | |
| * JONATHAN M. COSTA | |
| * https://github.com/JonathanCosta | |
| * | |
| * | |
| * Importação de clientes | |
| * |
| <html> | |
| <head> | |
| <style> | |
| .item {width:300px; display: inline-block; } | |
| .item .itemtitle {font-weight:bold; font-size:2em;} | |
| .hidden {display:none;} | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Amalgam Comics Characters</h1> |