Problem with custom shipping moduleget config data from current store not from default config (from admin area)UPS Error: shipping method is currently unavailableShipping price in one page checkout - order review return zeroFree shipping price rule is not applying to Fedex rateHow to create custom shipping charge moduleCustom shipping Module with Multiple carriershow can i add shipping carrier column in admin pageMagento1: Hide zero shipping price in checkout shipping method stepMagento 2 : Custom online shipping method with shipping APIremove free shipping method from custom shipping module magento2

Will the Sticky MAC access policy prevent unauthorized hubs from connecting to a network?

In a multiple cat home, how many litter boxes should you have?

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?

Is this toilet slogan correct usage of the English language?

What (the heck) is a Super Worm Equinox Moon?

Which was the first story featuring espers?

What is Cash Advance APR?

Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?

Has any country ever had 2 former presidents in jail simultaneously?

PTIJ: Why is Haman obsessed with Bose?

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

Why does Carol not get rid of the Kree symbol on her suit when she changes its colours?

What kind of floor tile is this?

Multiplicative persistence

US tourist/student visa

Find the next value of this number series

Can you use Vicious Mockery to win an argument or gain favours?

Pre-mixing cryogenic fuels and using only one fuel tank

The Digit Triangles

Does the reader need to like the PoV character?

Is there any evidence that Cleopatra and Caesarion considered fleeing to India to escape the Romans?

Temporarily disable WLAN internet access for children, but allow it for adults

Is it ethical to recieve stipend after publishing enough papers?

When were female captains banned from Starfleet?



Problem with custom shipping module


get config data from current store not from default config (from admin area)UPS Error: shipping method is currently unavailableShipping price in one page checkout - order review return zeroFree shipping price rule is not applying to Fedex rateHow to create custom shipping charge moduleCustom shipping Module with Multiple carriershow can i add shipping carrier column in admin pageMagento1: Hide zero shipping price in checkout shipping method stepMagento 2 : Custom online shipping method with shipping APIremove free shipping method from custom shipping module magento2













1















When upgrading from 1.6-1.9 our shipping module just seems to come up with problem after problem, assuming its outdated XML, was just wondering if anyone can see any issues with the config xml we have as when playing about with everything to do with the shipping module this seems to be the only thing that changing doesn't affect anything.



Just to be clear the problem we are having it, the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix, anyway heres the config:



<?xml version="1.0"?>
<config>
<modules>
<Excellence_Ship>
<version>0.1.0</version>
</Excellence_Ship>
</modules>

<default>
<carriers>
<excellence>
<active>1</active>
<model>ship/carrier_excellence</model>
<title>Carrier Title</title>
<name>Method Name</name>
<price>5.00</price>
<dgn_fee>3.95</dgn_fee>
<sml_box_fee>5.50</sml_box_fee>
<med_box_fee>7.95</med_box_fee>
<lrg_box_fee>10.50</lrg_box_fee>
<nonhazone>TNT</nonhazone>
<nonhaztwo>Airsure</nonhaztwo>
<hazone>TNT</hazone>
<haztwo>Airsea Worldwide</haztwo>
<lastchoice>International Signed For</lastchoice>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
</excellence>
</carriers>
</default>

<global>
<blocks>
<ship>
<class>Excellence_Ship_Block</class>
</ship>
<checkout>
<rewrite>
<cart_shipping>Excellence_Ship_Block_Cart_Shipping</cart_shipping>
</rewrite>
</checkout>
</blocks>
<models>
<ship>
<class>Excellence_Ship_Model</class>
</ship>
</models>
<helpers>
<ship>
<class>Excellence_Ship_Helper</class>
</ship>
</helpers>
</global>

<adminhtml>
<acl>
<resources>
<admin>
<children>
<system>
<children>
<config>
<children>
<my_boxes>
<title>Configure Boxes</title>
</myboxes>
<dummy_products>
<title>Configure Dummy Products</title>
</dummy_products>
<tnt_stuff>
<title>Configure TNT Tables</title>
</tnt_stuff>
<airsure_stuff>
<title>Configure Airsure Tables</title>
</airsure_stuff>
<airsea_stuff>
<title>Configure AirSea Tables</title>
</airsea_stuff>
<isf_stuff>
<title>Configure ISF Tables</title>
</isf_stuff>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</adminhtml>

</config>


Carrier:



<?php
class Excellence_Ship_Model_Carrier_Excellence extends Mage_Shipping_Model_Carrier_Abstract
implements Mage_Shipping_Model_Carrier_Interface
protected $_code = 'excellence';

public function collectRates(Mage_Shipping_Model_Rate_Request $request)

if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active'))
return false;


$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
$result = Mage::getModel('shipping/rate_result');
$show = true;
if($show) // This if condition is just to demonstrate how to return success and error in shipping methods

$method = Mage::getModel('shipping/rate_result_method');
$method->setCarrier($this->_code);
$method->setMethod($this->_code);
$method->setCarrierTitle($this->getConfigData('title'));
$method->setMethodTitle($this->getConfigData('name'));
$method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));
$result->append($method);

else
$error = Mage::getModel('shipping/rate_result_error');
$error->setCarrier($this->_code);
$error->setCarrierTitle($this->getConfigData('name'));
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
$result->append($error);

return $result;

public function getAllowedMethods()

return array('excellence'=>$this->getConfigData('name'));




LAST THING



<?xml version="1.0" encoding="UTF-8"?>
<config>
<tabs>
<myconfig translate="label" module="ship">
<label>My Shipping Config</label>
<sort_order>99999</sort_order>
</myconfig>
</tabs>
<sections>
<my_boxes translate="label" module="ship">
<label>Boxes</label>
<tab>myconfig</tab>
<frontend_type>text</frontend_type>
<sort_order>1000</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<non_hazardous translate="label">
<label>Non-Hazardous Boxes</label>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<my2_dim translate="label">
<label>My 2 Dimensions</label>
<frontend_type>textarea</frontend_type>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
<comment>Dimensions of My 2 box. L W H (one per line)</comment>
</my2_dim>









share|improve this question
















bumped to the homepage by Community 54 secs ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Can you please elaborate what problems you are experiencing exactly? Also to see changes in the XML directly, you need to disable the Magento cache

    – Milan Simek
    Oct 6 '15 at 12:20











  • Don't have magento cache enabled and as explained; literally copy pasting from the question above the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix

    – Robert Pounder
    Oct 6 '15 at 12:33












  • Ok. Can you elaborate the issues? Without the actual issue explained, it's impossible to solve the problem. The XML looks OK at first glance.

    – Milan Simek
    Oct 6 '15 at 12:34











  • I don't know how to word it differently than I already have sorry.

    – Robert Pounder
    Oct 6 '15 at 12:35











  • Like it has a handling fee and its meant to add cost based on the config in my admin, but its not adding the cost just the default "£5" handling fee i have set

    – Robert Pounder
    Oct 6 '15 at 12:36















1















When upgrading from 1.6-1.9 our shipping module just seems to come up with problem after problem, assuming its outdated XML, was just wondering if anyone can see any issues with the config xml we have as when playing about with everything to do with the shipping module this seems to be the only thing that changing doesn't affect anything.



Just to be clear the problem we are having it, the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix, anyway heres the config:



<?xml version="1.0"?>
<config>
<modules>
<Excellence_Ship>
<version>0.1.0</version>
</Excellence_Ship>
</modules>

<default>
<carriers>
<excellence>
<active>1</active>
<model>ship/carrier_excellence</model>
<title>Carrier Title</title>
<name>Method Name</name>
<price>5.00</price>
<dgn_fee>3.95</dgn_fee>
<sml_box_fee>5.50</sml_box_fee>
<med_box_fee>7.95</med_box_fee>
<lrg_box_fee>10.50</lrg_box_fee>
<nonhazone>TNT</nonhazone>
<nonhaztwo>Airsure</nonhaztwo>
<hazone>TNT</hazone>
<haztwo>Airsea Worldwide</haztwo>
<lastchoice>International Signed For</lastchoice>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
</excellence>
</carriers>
</default>

<global>
<blocks>
<ship>
<class>Excellence_Ship_Block</class>
</ship>
<checkout>
<rewrite>
<cart_shipping>Excellence_Ship_Block_Cart_Shipping</cart_shipping>
</rewrite>
</checkout>
</blocks>
<models>
<ship>
<class>Excellence_Ship_Model</class>
</ship>
</models>
<helpers>
<ship>
<class>Excellence_Ship_Helper</class>
</ship>
</helpers>
</global>

<adminhtml>
<acl>
<resources>
<admin>
<children>
<system>
<children>
<config>
<children>
<my_boxes>
<title>Configure Boxes</title>
</myboxes>
<dummy_products>
<title>Configure Dummy Products</title>
</dummy_products>
<tnt_stuff>
<title>Configure TNT Tables</title>
</tnt_stuff>
<airsure_stuff>
<title>Configure Airsure Tables</title>
</airsure_stuff>
<airsea_stuff>
<title>Configure AirSea Tables</title>
</airsea_stuff>
<isf_stuff>
<title>Configure ISF Tables</title>
</isf_stuff>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</adminhtml>

</config>


Carrier:



<?php
class Excellence_Ship_Model_Carrier_Excellence extends Mage_Shipping_Model_Carrier_Abstract
implements Mage_Shipping_Model_Carrier_Interface
protected $_code = 'excellence';

public function collectRates(Mage_Shipping_Model_Rate_Request $request)

if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active'))
return false;


$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
$result = Mage::getModel('shipping/rate_result');
$show = true;
if($show) // This if condition is just to demonstrate how to return success and error in shipping methods

$method = Mage::getModel('shipping/rate_result_method');
$method->setCarrier($this->_code);
$method->setMethod($this->_code);
$method->setCarrierTitle($this->getConfigData('title'));
$method->setMethodTitle($this->getConfigData('name'));
$method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));
$result->append($method);

else
$error = Mage::getModel('shipping/rate_result_error');
$error->setCarrier($this->_code);
$error->setCarrierTitle($this->getConfigData('name'));
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
$result->append($error);

return $result;

public function getAllowedMethods()

return array('excellence'=>$this->getConfigData('name'));




LAST THING



<?xml version="1.0" encoding="UTF-8"?>
<config>
<tabs>
<myconfig translate="label" module="ship">
<label>My Shipping Config</label>
<sort_order>99999</sort_order>
</myconfig>
</tabs>
<sections>
<my_boxes translate="label" module="ship">
<label>Boxes</label>
<tab>myconfig</tab>
<frontend_type>text</frontend_type>
<sort_order>1000</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<non_hazardous translate="label">
<label>Non-Hazardous Boxes</label>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<my2_dim translate="label">
<label>My 2 Dimensions</label>
<frontend_type>textarea</frontend_type>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
<comment>Dimensions of My 2 box. L W H (one per line)</comment>
</my2_dim>









share|improve this question
















bumped to the homepage by Community 54 secs ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Can you please elaborate what problems you are experiencing exactly? Also to see changes in the XML directly, you need to disable the Magento cache

    – Milan Simek
    Oct 6 '15 at 12:20











  • Don't have magento cache enabled and as explained; literally copy pasting from the question above the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix

    – Robert Pounder
    Oct 6 '15 at 12:33












  • Ok. Can you elaborate the issues? Without the actual issue explained, it's impossible to solve the problem. The XML looks OK at first glance.

    – Milan Simek
    Oct 6 '15 at 12:34











  • I don't know how to word it differently than I already have sorry.

    – Robert Pounder
    Oct 6 '15 at 12:35











  • Like it has a handling fee and its meant to add cost based on the config in my admin, but its not adding the cost just the default "£5" handling fee i have set

    – Robert Pounder
    Oct 6 '15 at 12:36













1












1








1








When upgrading from 1.6-1.9 our shipping module just seems to come up with problem after problem, assuming its outdated XML, was just wondering if anyone can see any issues with the config xml we have as when playing about with everything to do with the shipping module this seems to be the only thing that changing doesn't affect anything.



Just to be clear the problem we are having it, the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix, anyway heres the config:



<?xml version="1.0"?>
<config>
<modules>
<Excellence_Ship>
<version>0.1.0</version>
</Excellence_Ship>
</modules>

<default>
<carriers>
<excellence>
<active>1</active>
<model>ship/carrier_excellence</model>
<title>Carrier Title</title>
<name>Method Name</name>
<price>5.00</price>
<dgn_fee>3.95</dgn_fee>
<sml_box_fee>5.50</sml_box_fee>
<med_box_fee>7.95</med_box_fee>
<lrg_box_fee>10.50</lrg_box_fee>
<nonhazone>TNT</nonhazone>
<nonhaztwo>Airsure</nonhaztwo>
<hazone>TNT</hazone>
<haztwo>Airsea Worldwide</haztwo>
<lastchoice>International Signed For</lastchoice>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
</excellence>
</carriers>
</default>

<global>
<blocks>
<ship>
<class>Excellence_Ship_Block</class>
</ship>
<checkout>
<rewrite>
<cart_shipping>Excellence_Ship_Block_Cart_Shipping</cart_shipping>
</rewrite>
</checkout>
</blocks>
<models>
<ship>
<class>Excellence_Ship_Model</class>
</ship>
</models>
<helpers>
<ship>
<class>Excellence_Ship_Helper</class>
</ship>
</helpers>
</global>

<adminhtml>
<acl>
<resources>
<admin>
<children>
<system>
<children>
<config>
<children>
<my_boxes>
<title>Configure Boxes</title>
</myboxes>
<dummy_products>
<title>Configure Dummy Products</title>
</dummy_products>
<tnt_stuff>
<title>Configure TNT Tables</title>
</tnt_stuff>
<airsure_stuff>
<title>Configure Airsure Tables</title>
</airsure_stuff>
<airsea_stuff>
<title>Configure AirSea Tables</title>
</airsea_stuff>
<isf_stuff>
<title>Configure ISF Tables</title>
</isf_stuff>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</adminhtml>

</config>


Carrier:



<?php
class Excellence_Ship_Model_Carrier_Excellence extends Mage_Shipping_Model_Carrier_Abstract
implements Mage_Shipping_Model_Carrier_Interface
protected $_code = 'excellence';

public function collectRates(Mage_Shipping_Model_Rate_Request $request)

if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active'))
return false;


$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
$result = Mage::getModel('shipping/rate_result');
$show = true;
if($show) // This if condition is just to demonstrate how to return success and error in shipping methods

$method = Mage::getModel('shipping/rate_result_method');
$method->setCarrier($this->_code);
$method->setMethod($this->_code);
$method->setCarrierTitle($this->getConfigData('title'));
$method->setMethodTitle($this->getConfigData('name'));
$method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));
$result->append($method);

else
$error = Mage::getModel('shipping/rate_result_error');
$error->setCarrier($this->_code);
$error->setCarrierTitle($this->getConfigData('name'));
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
$result->append($error);

return $result;

public function getAllowedMethods()

return array('excellence'=>$this->getConfigData('name'));




LAST THING



<?xml version="1.0" encoding="UTF-8"?>
<config>
<tabs>
<myconfig translate="label" module="ship">
<label>My Shipping Config</label>
<sort_order>99999</sort_order>
</myconfig>
</tabs>
<sections>
<my_boxes translate="label" module="ship">
<label>Boxes</label>
<tab>myconfig</tab>
<frontend_type>text</frontend_type>
<sort_order>1000</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<non_hazardous translate="label">
<label>Non-Hazardous Boxes</label>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<my2_dim translate="label">
<label>My 2 Dimensions</label>
<frontend_type>textarea</frontend_type>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
<comment>Dimensions of My 2 box. L W H (one per line)</comment>
</my2_dim>









share|improve this question
















When upgrading from 1.6-1.9 our shipping module just seems to come up with problem after problem, assuming its outdated XML, was just wondering if anyone can see any issues with the config xml we have as when playing about with everything to do with the shipping module this seems to be the only thing that changing doesn't affect anything.



Just to be clear the problem we are having it, the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix, anyway heres the config:



<?xml version="1.0"?>
<config>
<modules>
<Excellence_Ship>
<version>0.1.0</version>
</Excellence_Ship>
</modules>

<default>
<carriers>
<excellence>
<active>1</active>
<model>ship/carrier_excellence</model>
<title>Carrier Title</title>
<name>Method Name</name>
<price>5.00</price>
<dgn_fee>3.95</dgn_fee>
<sml_box_fee>5.50</sml_box_fee>
<med_box_fee>7.95</med_box_fee>
<lrg_box_fee>10.50</lrg_box_fee>
<nonhazone>TNT</nonhazone>
<nonhaztwo>Airsure</nonhaztwo>
<hazone>TNT</hazone>
<haztwo>Airsea Worldwide</haztwo>
<lastchoice>International Signed For</lastchoice>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
</excellence>
</carriers>
</default>

<global>
<blocks>
<ship>
<class>Excellence_Ship_Block</class>
</ship>
<checkout>
<rewrite>
<cart_shipping>Excellence_Ship_Block_Cart_Shipping</cart_shipping>
</rewrite>
</checkout>
</blocks>
<models>
<ship>
<class>Excellence_Ship_Model</class>
</ship>
</models>
<helpers>
<ship>
<class>Excellence_Ship_Helper</class>
</ship>
</helpers>
</global>

<adminhtml>
<acl>
<resources>
<admin>
<children>
<system>
<children>
<config>
<children>
<my_boxes>
<title>Configure Boxes</title>
</myboxes>
<dummy_products>
<title>Configure Dummy Products</title>
</dummy_products>
<tnt_stuff>
<title>Configure TNT Tables</title>
</tnt_stuff>
<airsure_stuff>
<title>Configure Airsure Tables</title>
</airsure_stuff>
<airsea_stuff>
<title>Configure AirSea Tables</title>
</airsea_stuff>
<isf_stuff>
<title>Configure ISF Tables</title>
</isf_stuff>
</children>
</config>
</children>
</system>
</children>
</admin>
</resources>
</acl>
</adminhtml>

</config>


Carrier:



<?php
class Excellence_Ship_Model_Carrier_Excellence extends Mage_Shipping_Model_Carrier_Abstract
implements Mage_Shipping_Model_Carrier_Interface
protected $_code = 'excellence';

public function collectRates(Mage_Shipping_Model_Rate_Request $request)

if (!Mage::getStoreConfig('carriers/'.$this->_code.'/active'))
return false;


$handling = Mage::getStoreConfig('carriers/'.$this->_code.'/handling');
$result = Mage::getModel('shipping/rate_result');
$show = true;
if($show) // This if condition is just to demonstrate how to return success and error in shipping methods

$method = Mage::getModel('shipping/rate_result_method');
$method->setCarrier($this->_code);
$method->setMethod($this->_code);
$method->setCarrierTitle($this->getConfigData('title'));
$method->setMethodTitle($this->getConfigData('name'));
$method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));
$result->append($method);

else
$error = Mage::getModel('shipping/rate_result_error');
$error->setCarrier($this->_code);
$error->setCarrierTitle($this->getConfigData('name'));
$error->setErrorMessage($this->getConfigData('specificerrmsg'));
$result->append($error);

return $result;

public function getAllowedMethods()

return array('excellence'=>$this->getConfigData('name'));




LAST THING



<?xml version="1.0" encoding="UTF-8"?>
<config>
<tabs>
<myconfig translate="label" module="ship">
<label>My Shipping Config</label>
<sort_order>99999</sort_order>
</myconfig>
</tabs>
<sections>
<my_boxes translate="label" module="ship">
<label>Boxes</label>
<tab>myconfig</tab>
<frontend_type>text</frontend_type>
<sort_order>1000</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<non_hazardous translate="label">
<label>Non-Hazardous Boxes</label>
<frontend_type>text</frontend_type>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<my2_dim translate="label">
<label>My 2 Dimensions</label>
<frontend_type>textarea</frontend_type>
<sort_order>300</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>0</show_in_store>
<comment>Dimensions of My 2 box. L W H (one per line)</comment>
</my2_dim>






magento-1.9 shipping shipping-methods magento-1.6






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 6 '15 at 13:30







Robert Pounder

















asked Oct 6 '15 at 12:03









Robert PounderRobert Pounder

15017




15017





bumped to the homepage by Community 54 secs ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 54 secs ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Can you please elaborate what problems you are experiencing exactly? Also to see changes in the XML directly, you need to disable the Magento cache

    – Milan Simek
    Oct 6 '15 at 12:20











  • Don't have magento cache enabled and as explained; literally copy pasting from the question above the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix

    – Robert Pounder
    Oct 6 '15 at 12:33












  • Ok. Can you elaborate the issues? Without the actual issue explained, it's impossible to solve the problem. The XML looks OK at first glance.

    – Milan Simek
    Oct 6 '15 at 12:34











  • I don't know how to word it differently than I already have sorry.

    – Robert Pounder
    Oct 6 '15 at 12:35











  • Like it has a handling fee and its meant to add cost based on the config in my admin, but its not adding the cost just the default "£5" handling fee i have set

    – Robert Pounder
    Oct 6 '15 at 12:36

















  • Can you please elaborate what problems you are experiencing exactly? Also to see changes in the XML directly, you need to disable the Magento cache

    – Milan Simek
    Oct 6 '15 at 12:20











  • Don't have magento cache enabled and as explained; literally copy pasting from the question above the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix

    – Robert Pounder
    Oct 6 '15 at 12:33












  • Ok. Can you elaborate the issues? Without the actual issue explained, it's impossible to solve the problem. The XML looks OK at first glance.

    – Milan Simek
    Oct 6 '15 at 12:34











  • I don't know how to word it differently than I already have sorry.

    – Robert Pounder
    Oct 6 '15 at 12:35











  • Like it has a handling fee and its meant to add cost based on the config in my admin, but its not adding the cost just the default "£5" handling fee i have set

    – Robert Pounder
    Oct 6 '15 at 12:36
















Can you please elaborate what problems you are experiencing exactly? Also to see changes in the XML directly, you need to disable the Magento cache

– Milan Simek
Oct 6 '15 at 12:20





Can you please elaborate what problems you are experiencing exactly? Also to see changes in the XML directly, you need to disable the Magento cache

– Milan Simek
Oct 6 '15 at 12:20













Don't have magento cache enabled and as explained; literally copy pasting from the question above the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix

– Robert Pounder
Oct 6 '15 at 12:33






Don't have magento cache enabled and as explained; literally copy pasting from the question above the products used to be put into a matrix (defined in config) now it just has the default handling fee as the total cost of shipping and not adding the relevant price matrix

– Robert Pounder
Oct 6 '15 at 12:33














Ok. Can you elaborate the issues? Without the actual issue explained, it's impossible to solve the problem. The XML looks OK at first glance.

– Milan Simek
Oct 6 '15 at 12:34





Ok. Can you elaborate the issues? Without the actual issue explained, it's impossible to solve the problem. The XML looks OK at first glance.

– Milan Simek
Oct 6 '15 at 12:34













I don't know how to word it differently than I already have sorry.

– Robert Pounder
Oct 6 '15 at 12:35





I don't know how to word it differently than I already have sorry.

– Robert Pounder
Oct 6 '15 at 12:35













Like it has a handling fee and its meant to add cost based on the config in my admin, but its not adding the cost just the default "£5" handling fee i have set

– Robert Pounder
Oct 6 '15 at 12:36





Like it has a handling fee and its meant to add cost based on the config in my admin, but its not adding the cost just the default "£5" handling fee i have set

– Robert Pounder
Oct 6 '15 at 12:36










1 Answer
1






active

oldest

votes


















0














It seems the carrier model only uses the 'price' field, as you can see in the following two lines:



 $method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));


It retrieves the config data field 'price', but it doesn't use the other fields like dgn_fee, sml_box_fee etc.



Maybe you're using an older unfinished version of the extension?






share|improve this answer























  • I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

    – Robert Pounder
    Oct 6 '15 at 12:56











  • Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

    – Robert Pounder
    Oct 6 '15 at 12:57











  • Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

    – Milan Simek
    Oct 6 '15 at 12:58











  • It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

    – Robert Pounder
    Oct 6 '15 at 12:58











  • You can retrieve config fields using $this->getConfigData('fieldname');

    – Milan Simek
    Oct 6 '15 at 12:59










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f85458%2fproblem-with-custom-shipping-module%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














It seems the carrier model only uses the 'price' field, as you can see in the following two lines:



 $method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));


It retrieves the config data field 'price', but it doesn't use the other fields like dgn_fee, sml_box_fee etc.



Maybe you're using an older unfinished version of the extension?






share|improve this answer























  • I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

    – Robert Pounder
    Oct 6 '15 at 12:56











  • Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

    – Robert Pounder
    Oct 6 '15 at 12:57











  • Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

    – Milan Simek
    Oct 6 '15 at 12:58











  • It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

    – Robert Pounder
    Oct 6 '15 at 12:58











  • You can retrieve config fields using $this->getConfigData('fieldname');

    – Milan Simek
    Oct 6 '15 at 12:59















0














It seems the carrier model only uses the 'price' field, as you can see in the following two lines:



 $method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));


It retrieves the config data field 'price', but it doesn't use the other fields like dgn_fee, sml_box_fee etc.



Maybe you're using an older unfinished version of the extension?






share|improve this answer























  • I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

    – Robert Pounder
    Oct 6 '15 at 12:56











  • Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

    – Robert Pounder
    Oct 6 '15 at 12:57











  • Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

    – Milan Simek
    Oct 6 '15 at 12:58











  • It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

    – Robert Pounder
    Oct 6 '15 at 12:58











  • You can retrieve config fields using $this->getConfigData('fieldname');

    – Milan Simek
    Oct 6 '15 at 12:59













0












0








0







It seems the carrier model only uses the 'price' field, as you can see in the following two lines:



 $method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));


It retrieves the config data field 'price', but it doesn't use the other fields like dgn_fee, sml_box_fee etc.



Maybe you're using an older unfinished version of the extension?






share|improve this answer













It seems the carrier model only uses the 'price' field, as you can see in the following two lines:



 $method->setPrice($this->getConfigData('price'));
$method->setCost($this->getConfigData('price'));


It retrieves the config data field 'price', but it doesn't use the other fields like dgn_fee, sml_box_fee etc.



Maybe you're using an older unfinished version of the extension?







share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 6 '15 at 12:55









Milan SimekMilan Simek

977414




977414












  • I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

    – Robert Pounder
    Oct 6 '15 at 12:56











  • Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

    – Robert Pounder
    Oct 6 '15 at 12:57











  • Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

    – Milan Simek
    Oct 6 '15 at 12:58











  • It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

    – Robert Pounder
    Oct 6 '15 at 12:58











  • You can retrieve config fields using $this->getConfigData('fieldname');

    – Milan Simek
    Oct 6 '15 at 12:59

















  • I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

    – Robert Pounder
    Oct 6 '15 at 12:56











  • Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

    – Robert Pounder
    Oct 6 '15 at 12:57











  • Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

    – Milan Simek
    Oct 6 '15 at 12:58











  • It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

    – Robert Pounder
    Oct 6 '15 at 12:58











  • You can retrieve config fields using $this->getConfigData('fieldname');

    – Milan Simek
    Oct 6 '15 at 12:59
















I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

– Robert Pounder
Oct 6 '15 at 12:56





I did think that was odd but it works fine on the 1.6 thats whats so weird, was thinking it was possibly something I've missed on product configuration

– Robert Pounder
Oct 6 '15 at 12:56













Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

– Robert Pounder
Oct 6 '15 at 12:57





Have you got an idea how I'd work a solution for this to read the custom config in my admin, it works on price tables

– Robert Pounder
Oct 6 '15 at 12:57













Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

– Milan Simek
Oct 6 '15 at 12:58





Did you upgrade the 1.6 Magento install, or did you start over with a fresh install?

– Milan Simek
Oct 6 '15 at 12:58













It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

– Robert Pounder
Oct 6 '15 at 12:58





It's definitely the correct extension I'm using I've disabled others to check, am confused how it gets the prices on the old site, its not in the cache etc I've checked.

– Robert Pounder
Oct 6 '15 at 12:58













You can retrieve config fields using $this->getConfigData('fieldname');

– Milan Simek
Oct 6 '15 at 12:59





You can retrieve config fields using $this->getConfigData('fieldname');

– Milan Simek
Oct 6 '15 at 12:59

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f85458%2fproblem-with-custom-shipping-module%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»