I am using flat rate shipping of type per item on products and applying shopping cart price rule for free shipping if order value (subtotal) is greater than 1000. This is working fine if i am using php 5.5.9.

I recently upgraded to ubuntu 16.04 from 14.04 but it installed with php 7.0.8 and now this shopping cart price rule is not being applied as shown in screenshots below.

Php versions then php-5.5.9 and now php-7.0.8

Shopping cart price rule settings enter image description here enter image description here

Flat rate shipping setting

enter image description here

Frontend earlier with php 5.5.9

Below 1000 shipping charge is display and added to grand total enter image description here

above 1000 shipping charge is not displayed and grand total is same as subtotal enter image description here

Frontend now with php 7.0.8

Promotion not applied even though condition met

Initially whole magento itself wasn't loading after php upgrade but looking at this link i made the necessary change and resolved that conflict but now i cannot seem to find a solution to this. Can somebody please help me on this?

1 Answer 1


Try to install inchoo's php7 patch. Works like a charm. Additionally test and verify that your modules and theme are php7 compatible as well. Use the php7 compatibility checker for that.

https://github.com/Inchoo/Inchoo_PHP7 https://github.com/sstalle/php7cc

  • Will check into the suggestion and update. Thank you
    – A.R
    Aug 19, 2016 at 7:42
  • Sorry for the late reply but thanks for the pointer. this helped me to check into other areas also which otherwise i would not have checked.
    – A.R
    Sep 8, 2016 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.