How to remove handling fees if customer select pick from store?Modify Shipping/handling charges during checkouthow to update customer and order details from magento to ERP using event observer?Hide Shipping method from cart page in magentoRemove a shipping method from a store viewauto select shipping method from paypal review information pageToggle shipping method based on customer's conditionget customer details from observer event 'checkout_submit_all_after'Create order programmatically with UPS shipping methodM1 - Remove shipping cost calculation from shoppingcart
Prove your innocence
Avoiding racist tropes in fantasy
Couple of slangs I've heard when watching anime
You have 3 cakes. Everytime you eat one, there's 17% chance the number of cakes is reset to 3. Find average number of cakes eaten?
Numbers Decrease while Letters Increase
How should I face my manager if I make a mistake because a senior coworker explained something incorrectly to me?
Immutable builder and updater
What do these triangles above and below the staff mean?
What is a CirKle Word™?
I can see my two means are different. What information can a t test add?
If all stars rotate, why was there a theory developed that requires non-rotating stars?
Justifying the use of directed energy weapons
How do you harvest carrots in creative mode?
LeetCode: Group Anagrams C#
Antonym of "billable"
Is there any method of inflicting the incapacitated condition and no other condition?
Why did this happen to Thanos's ships at the end of "Avengers: Endgame"?
Why did MS-DOS applications built using Turbo Pascal fail to start with a division by zero error on faster systems?
Converting a set into a string
Disambiguation of "nobis vobis" and "nobis nobis"
Understanding Parallelize methods
Would the Republic of Ireland and Northern Ireland be interested in reuniting?
Dealing with an extrovert co-worker
How do I get toddlers to stop asking for food every hour?
How to remove handling fees if customer select pick from store?
Modify Shipping/handling charges during checkouthow to update customer and order details from magento to ERP using event observer?Hide Shipping method from cart page in magentoRemove a shipping method from a store viewauto select shipping method from paypal review information pageToggle shipping method based on customer's conditionget customer details from observer event 'checkout_submit_all_after'Create order programmatically with UPS shipping methodM1 - Remove shipping cost calculation from shoppingcart
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am using extra fees extension, if customer choose shipping method : Pick from store how to remove Handling fees(extra fees extension).
What event used to check if customer chooses to pick from store in
checkout page, if customer chooses to pick from store how to remove or
hide handling fees.
If i use https://stackoverflow.com/a/40486717/11697039 what is my event.
magento-1.9 custom-options
add a comment |
I am using extra fees extension, if customer choose shipping method : Pick from store how to remove Handling fees(extra fees extension).
What event used to check if customer chooses to pick from store in
checkout page, if customer chooses to pick from store how to remove or
hide handling fees.
If i use https://stackoverflow.com/a/40486717/11697039 what is my event.
magento-1.9 custom-options
Please check first admin panel/store/configuration/shipping Method/pick from store method and check to handle fee and remove handling fee, save configuration and check. I hope it will help you.
– Monark Bhawani
Aug 12 at 13:15
add a comment |
I am using extra fees extension, if customer choose shipping method : Pick from store how to remove Handling fees(extra fees extension).
What event used to check if customer chooses to pick from store in
checkout page, if customer chooses to pick from store how to remove or
hide handling fees.
If i use https://stackoverflow.com/a/40486717/11697039 what is my event.
magento-1.9 custom-options
I am using extra fees extension, if customer choose shipping method : Pick from store how to remove Handling fees(extra fees extension).
What event used to check if customer chooses to pick from store in
checkout page, if customer chooses to pick from store how to remove or
hide handling fees.
If i use https://stackoverflow.com/a/40486717/11697039 what is my event.
magento-1.9 custom-options
magento-1.9 custom-options
edited Aug 12 at 12:30
zus
asked Aug 12 at 7:59
zuszus
711 silver badge21 bronze badges
711 silver badge21 bronze badges
Please check first admin panel/store/configuration/shipping Method/pick from store method and check to handle fee and remove handling fee, save configuration and check. I hope it will help you.
– Monark Bhawani
Aug 12 at 13:15
add a comment |
Please check first admin panel/store/configuration/shipping Method/pick from store method and check to handle fee and remove handling fee, save configuration and check. I hope it will help you.
– Monark Bhawani
Aug 12 at 13:15
Please check first admin panel/store/configuration/shipping Method/pick from store method and check to handle fee and remove handling fee, save configuration and check. I hope it will help you.
– Monark Bhawani
Aug 12 at 13:15
Please check first admin panel/store/configuration/shipping Method/pick from store method and check to handle fee and remove handling fee, save configuration and check. I hope it will help you.
– Monark Bhawani
Aug 12 at 13:15
add a comment |
2 Answers
2
active
oldest
votes
Take a look https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php
Check to see if the shipping method matches your local pickup method and exit the function. So instead of trying to remove the fee, you prevent it from been added. (Keep in mind that you should rewrite this class or try another acceptable way of making changes without directly editing this extension)
/**
* Add this total to parent
*/
public function initTotals()
{
/* start custom code */
if (Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod() === 'local_pickup')
return $this;
/* end custom code */
if ((float) $this->getSource()->getExtraFeeRuleAmount() <= 0)
return $this;
if ($this->getSource()->getExtraFeeRuleDescription())
$discountLabel = $this->__('%s (%s)', Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel(),
$this->getSource()->getExtraFeeRuleDescription());
else
$discountLabel = Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel();
....
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
How can i add website filter?
– zus
Aug 16 at 10:09
add a comment |
Solved.
https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Model/Quote/Address/Total/Fee/Rule.php
public function collect(Mage_Sales_Model_Quote_Address $address)
if (!Mage::helper('voronoy_extrafee')->isRuleExtraFeeEnabled())
return $this;
parent::collect($address);
$quote = $address->getQuote();
$shipping_method = $quote->getShippingAddress()->getShippingMethod();
/* Flat Rate Condition Start*/
if($shipping_method != 'flatrate_flatrate'):
$store = Mage::app()->getStore($quote->getStoreId());
$this->_calculator->reset($address);
$items = $this->_getAddressItems($address);
if (!count($items))
return $this;
$this->_calculator->init($store->getWebsiteId(), $quote->getCustomerGroupId(), $quote->getCouponCode());
$this->_calculator->initTotals($items, $address);
$items = $this->_calculator->sortItemsByPriority($items);
foreach ($items as $item)
if ($item->getParentItemId())
continue;
if ($item->getHasChildren() && $item->isChildrenCalculated())
foreach ($item->getChildren() as $child)
$this->_calculator->process($child);
$this->_addAmount($child->getExtraFeeRuleAmount());
$this->_addBaseAmount($child->getBaseExtraFeeRuleAmount());
else
$this->_calculator->process($item);
$this->_addAmount($item->getExtraFeeRuleAmount());
$this->_addBaseAmount($item->getBaseExtraFeeRuleAmount());
$this->_calculator->prepareDescription($address);
endif;
/ Flat Rate Condition End /
Thanks : https://community.magento.com
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f285128%2fhow-to-remove-handling-fees-if-customer-select-pick-from-store%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Take a look https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php
Check to see if the shipping method matches your local pickup method and exit the function. So instead of trying to remove the fee, you prevent it from been added. (Keep in mind that you should rewrite this class or try another acceptable way of making changes without directly editing this extension)
/**
* Add this total to parent
*/
public function initTotals()
{
/* start custom code */
if (Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod() === 'local_pickup')
return $this;
/* end custom code */
if ((float) $this->getSource()->getExtraFeeRuleAmount() <= 0)
return $this;
if ($this->getSource()->getExtraFeeRuleDescription())
$discountLabel = $this->__('%s (%s)', Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel(),
$this->getSource()->getExtraFeeRuleDescription());
else
$discountLabel = Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel();
....
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
How can i add website filter?
– zus
Aug 16 at 10:09
add a comment |
Take a look https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php
Check to see if the shipping method matches your local pickup method and exit the function. So instead of trying to remove the fee, you prevent it from been added. (Keep in mind that you should rewrite this class or try another acceptable way of making changes without directly editing this extension)
/**
* Add this total to parent
*/
public function initTotals()
{
/* start custom code */
if (Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod() === 'local_pickup')
return $this;
/* end custom code */
if ((float) $this->getSource()->getExtraFeeRuleAmount() <= 0)
return $this;
if ($this->getSource()->getExtraFeeRuleDescription())
$discountLabel = $this->__('%s (%s)', Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel(),
$this->getSource()->getExtraFeeRuleDescription());
else
$discountLabel = Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel();
....
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
How can i add website filter?
– zus
Aug 16 at 10:09
add a comment |
Take a look https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php
Check to see if the shipping method matches your local pickup method and exit the function. So instead of trying to remove the fee, you prevent it from been added. (Keep in mind that you should rewrite this class or try another acceptable way of making changes without directly editing this extension)
/**
* Add this total to parent
*/
public function initTotals()
{
/* start custom code */
if (Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod() === 'local_pickup')
return $this;
/* end custom code */
if ((float) $this->getSource()->getExtraFeeRuleAmount() <= 0)
return $this;
if ($this->getSource()->getExtraFeeRuleDescription())
$discountLabel = $this->__('%s (%s)', Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel(),
$this->getSource()->getExtraFeeRuleDescription());
else
$discountLabel = Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel();
....
Take a look https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php
Check to see if the shipping method matches your local pickup method and exit the function. So instead of trying to remove the fee, you prevent it from been added. (Keep in mind that you should rewrite this class or try another acceptable way of making changes without directly editing this extension)
/**
* Add this total to parent
*/
public function initTotals()
{
/* start custom code */
if (Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod() === 'local_pickup')
return $this;
/* end custom code */
if ((float) $this->getSource()->getExtraFeeRuleAmount() <= 0)
return $this;
if ($this->getSource()->getExtraFeeRuleDescription())
$discountLabel = $this->__('%s (%s)', Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel(),
$this->getSource()->getExtraFeeRuleDescription());
else
$discountLabel = Mage::helper('voronoy_extrafee')->getExtraFeeRuleLabel();
....
edited Aug 12 at 16:45
answered Aug 12 at 14:56
Renon StewartRenon Stewart
12.3k2 gold badges21 silver badges46 bronze badges
12.3k2 gold badges21 silver badges46 bronze badges
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
How can i add website filter?
– zus
Aug 16 at 10:09
add a comment |
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
How can i add website filter?
– zus
Aug 16 at 10:09
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
I just created new observer, i am stick with condition gist.github.com/ZusZus/ea4b46ecec6f3fbb2ce395b5688dcb6b
– zus
Aug 13 at 6:28
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
@zus... not sure what you are trying to accomplish, the quickest way to accomplish your goal would be to add you logic around the area where it adds the fee.
– Renon Stewart
Aug 13 at 16:54
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
copy Rule.php from app/code/local/Voronoy/ExtraFee/Block/Sales/Order/Totals/Rule.php to app/code/local/Gta/ExtraFeesRemoveAus/Block/Sales/Order/Totals/Rule/Rule.php -> pastiebin.com/5d5680344a0a0 is right what i did?
– zus
Aug 16 at 10:07
How can i add website filter?
– zus
Aug 16 at 10:09
How can i add website filter?
– zus
Aug 16 at 10:09
add a comment |
Solved.
https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Model/Quote/Address/Total/Fee/Rule.php
public function collect(Mage_Sales_Model_Quote_Address $address)
if (!Mage::helper('voronoy_extrafee')->isRuleExtraFeeEnabled())
return $this;
parent::collect($address);
$quote = $address->getQuote();
$shipping_method = $quote->getShippingAddress()->getShippingMethod();
/* Flat Rate Condition Start*/
if($shipping_method != 'flatrate_flatrate'):
$store = Mage::app()->getStore($quote->getStoreId());
$this->_calculator->reset($address);
$items = $this->_getAddressItems($address);
if (!count($items))
return $this;
$this->_calculator->init($store->getWebsiteId(), $quote->getCustomerGroupId(), $quote->getCouponCode());
$this->_calculator->initTotals($items, $address);
$items = $this->_calculator->sortItemsByPriority($items);
foreach ($items as $item)
if ($item->getParentItemId())
continue;
if ($item->getHasChildren() && $item->isChildrenCalculated())
foreach ($item->getChildren() as $child)
$this->_calculator->process($child);
$this->_addAmount($child->getExtraFeeRuleAmount());
$this->_addBaseAmount($child->getBaseExtraFeeRuleAmount());
else
$this->_calculator->process($item);
$this->_addAmount($item->getExtraFeeRuleAmount());
$this->_addBaseAmount($item->getBaseExtraFeeRuleAmount());
$this->_calculator->prepareDescription($address);
endif;
/ Flat Rate Condition End /
Thanks : https://community.magento.com
add a comment |
Solved.
https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Model/Quote/Address/Total/Fee/Rule.php
public function collect(Mage_Sales_Model_Quote_Address $address)
if (!Mage::helper('voronoy_extrafee')->isRuleExtraFeeEnabled())
return $this;
parent::collect($address);
$quote = $address->getQuote();
$shipping_method = $quote->getShippingAddress()->getShippingMethod();
/* Flat Rate Condition Start*/
if($shipping_method != 'flatrate_flatrate'):
$store = Mage::app()->getStore($quote->getStoreId());
$this->_calculator->reset($address);
$items = $this->_getAddressItems($address);
if (!count($items))
return $this;
$this->_calculator->init($store->getWebsiteId(), $quote->getCustomerGroupId(), $quote->getCouponCode());
$this->_calculator->initTotals($items, $address);
$items = $this->_calculator->sortItemsByPriority($items);
foreach ($items as $item)
if ($item->getParentItemId())
continue;
if ($item->getHasChildren() && $item->isChildrenCalculated())
foreach ($item->getChildren() as $child)
$this->_calculator->process($child);
$this->_addAmount($child->getExtraFeeRuleAmount());
$this->_addBaseAmount($child->getBaseExtraFeeRuleAmount());
else
$this->_calculator->process($item);
$this->_addAmount($item->getExtraFeeRuleAmount());
$this->_addBaseAmount($item->getBaseExtraFeeRuleAmount());
$this->_calculator->prepareDescription($address);
endif;
/ Flat Rate Condition End /
Thanks : https://community.magento.com
add a comment |
Solved.
https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Model/Quote/Address/Total/Fee/Rule.php
public function collect(Mage_Sales_Model_Quote_Address $address)
if (!Mage::helper('voronoy_extrafee')->isRuleExtraFeeEnabled())
return $this;
parent::collect($address);
$quote = $address->getQuote();
$shipping_method = $quote->getShippingAddress()->getShippingMethod();
/* Flat Rate Condition Start*/
if($shipping_method != 'flatrate_flatrate'):
$store = Mage::app()->getStore($quote->getStoreId());
$this->_calculator->reset($address);
$items = $this->_getAddressItems($address);
if (!count($items))
return $this;
$this->_calculator->init($store->getWebsiteId(), $quote->getCustomerGroupId(), $quote->getCouponCode());
$this->_calculator->initTotals($items, $address);
$items = $this->_calculator->sortItemsByPriority($items);
foreach ($items as $item)
if ($item->getParentItemId())
continue;
if ($item->getHasChildren() && $item->isChildrenCalculated())
foreach ($item->getChildren() as $child)
$this->_calculator->process($child);
$this->_addAmount($child->getExtraFeeRuleAmount());
$this->_addBaseAmount($child->getBaseExtraFeeRuleAmount());
else
$this->_calculator->process($item);
$this->_addAmount($item->getExtraFeeRuleAmount());
$this->_addBaseAmount($item->getBaseExtraFeeRuleAmount());
$this->_calculator->prepareDescription($address);
endif;
/ Flat Rate Condition End /
Thanks : https://community.magento.com
Solved.
https://github.com/yvoronoy/magento-extension-extra-fee/blob/master/app/code/local/Voronoy/ExtraFee/Model/Quote/Address/Total/Fee/Rule.php
public function collect(Mage_Sales_Model_Quote_Address $address)
if (!Mage::helper('voronoy_extrafee')->isRuleExtraFeeEnabled())
return $this;
parent::collect($address);
$quote = $address->getQuote();
$shipping_method = $quote->getShippingAddress()->getShippingMethod();
/* Flat Rate Condition Start*/
if($shipping_method != 'flatrate_flatrate'):
$store = Mage::app()->getStore($quote->getStoreId());
$this->_calculator->reset($address);
$items = $this->_getAddressItems($address);
if (!count($items))
return $this;
$this->_calculator->init($store->getWebsiteId(), $quote->getCustomerGroupId(), $quote->getCouponCode());
$this->_calculator->initTotals($items, $address);
$items = $this->_calculator->sortItemsByPriority($items);
foreach ($items as $item)
if ($item->getParentItemId())
continue;
if ($item->getHasChildren() && $item->isChildrenCalculated())
foreach ($item->getChildren() as $child)
$this->_calculator->process($child);
$this->_addAmount($child->getExtraFeeRuleAmount());
$this->_addBaseAmount($child->getBaseExtraFeeRuleAmount());
else
$this->_calculator->process($item);
$this->_addAmount($item->getExtraFeeRuleAmount());
$this->_addBaseAmount($item->getBaseExtraFeeRuleAmount());
$this->_calculator->prepareDescription($address);
endif;
/ Flat Rate Condition End /
Thanks : https://community.magento.com
answered Aug 17 at 6:05
zuszus
711 silver badge21 bronze badges
711 silver badge21 bronze badges
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f285128%2fhow-to-remove-handling-fees-if-customer-select-pick-from-store%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Please check first admin panel/store/configuration/shipping Method/pick from store method and check to handle fee and remove handling fee, save configuration and check. I hope it will help you.
– Monark Bhawani
Aug 12 at 13:15