toulouse31 Posted May 5, 2007 Share Posted May 5, 2007 Hello, I have got the contribution Colissimo Simple, Colissimo Recommandé R1, R2, R3 http://www.oscommerce.com/community/contri...earch,colissimo. I would like that the system chose the shipping method according to the total price of the order : - Colissimo Simple when total price is less than 16 € - Colissimo recommandé R1 when total price is between €16 and €31 - Colissimo Recommandé R2 when total price is between €31 and €153 - Colissimo Recommandé R3 when total price is between €153 and €458 Thanks for your help I'm from France, sorry for my bad English ! toulouse31 Quote Link to comment Share on other sites More sharing options...
toulouse31 Posted May 7, 2007 Author Share Posted May 7, 2007 Hello, I placed this code : if ($cart_total > '16') { $this->enabled = false; } But I have this errors : Parse error: parse error, unexpected T_IF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in c:\oscommerce\easyphp1-7\www\catalog\includes\modules\shipping\colissimo.php on line 55 Fatal error: Cannot instantiate non-existent class: colissimo in c:\oscommerce\easyphp1-7\www\catalog\includes\classes\shipping.php on line 39 Does spmeone can help me ? Quote Link to comment Share on other sites More sharing options...
toulouse31 Posted May 7, 2007 Author Share Posted May 7, 2007 (edited) Hello, I placed this code : if ($cart_total > '16') { $this->enabled = false; } But I have this errors : Parse error: parse error, unexpected T_IF, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in c:\oscommerce\easyphp1-7\www\catalog\includes\modules\shipping\colissimo.php on line 55 Fatal error: Cannot instantiate non-existent class: colissimo in c:\oscommerce\easyphp1-7\www\catalog\includes\classes\shipping.php on line 39 Can someone help me ? Thanks Julien Edited May 7, 2007 by toulouse31 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.