Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

French Colissimo Contribution


toulouse31

Recommended Posts

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

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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 by toulouse31
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...