Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

remove shipping when.....


Recommended Posts

I have 2 shipping methods.


A) national postal service.

B) courier service.


how to stop A from showing when the order is above a certain value or weight? :huh:


The way i got it now is to make it a silly value which does not look professional. :'(





Link to comment
Share on other sites

it wont remove it but it wont allow the customer to select it.


it depends on your shipping module but for mine, i went near the bottom of the quote funtion ->


if($shipping_cost == 0) $this->quotes['error'] = 'The method is not available';


return $this->quotes;




so if the shipping cost is zero cus the price of that weight is not defined so os make the price zero (which is stupid) Adds this errors message which seems to not display the price or allow the customer to select it.

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.

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...