views:

43

answers:

0

Cheers, I created my own shipping module for magento 1.4.1.1. , which so far does not work. After really getting frustrated with this, I exactly copied everything from http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/create-shipping-method-module .

As with my own module, it does not work. In the onepage checkout, I cannot go further when entering the shipping adress, and firebug indicates, that my shipping method does not appear in the list of available shipping options.

My model class indeed is loaded, I solved this problem earlier. But for some strange reason it will not appear in the frontend and again, I am currently using the exact files from the wiki.

Please, does anybody have any ideas what could be going wrong here?

Thanks in advance!

Edit: this is my config xml:

      <config>
    <modules>
  <!-- declare module's version information -->
      <YourCompany_NewModule>
  <!-- this version number will be used for database upgrades -->
        <version>0.1.0</version>
      </YourCompany_NewModule>
    </modules>
    <global>
  <!-- declare model group for new module -->
      <models>
  <!-- model group alias to be used in Mage::getModel() -->
        <newmodule>
  <!-- base class name for the model group -->
          <class>YourCompany_NewModule_Model</class>
        </newmodule>
      </models>
  <!-- declare resource setup for new module -->
      <resources>
  <!-- resource identifier -->
        <newmodule_setup>
  <!-- specify that this resource is a setup resource and used for upgrades -->
          <setup>
  <!-- which module to look for install/upgrade files in -->
            <module>YourCompany_NewModule</module>
          </setup>
  <!-- specify database connection for this resource -->
          <connection>
  <!-- do not create new connection, use predefined core setup connection -->
            <use>core_setup</use>
          </connection>
        </newmodule_setup>
      </resources>
    </global>
    <default>
            <carriers>
                <mage_newmodule>
                        <active>1</active>
                        <sallowspecific>0</sallowspecific>
    <model>newmodule/carrier_newmodule</model>
                        <name>New Module</name>
                        <title>New Module</title>
                        <specificerrmsg>
                            This shipping method is currently unavailable.
                            If you would like to ship using this shipping
                            method, please contact us.
                        </specificerrmsg>
                        <handling_type>F</handling_type>
                </mage_newmodule>
            </carriers>
    </default>