Jump to content

How to turn off carrier/delivery/shiping


Recommended Posts

Hi


I have turned off carrier. But when I go to the payment step, there is message
"Choose your delivery method
There is no carrier available that will deliver to this address! " How to delete this message ??


If I have carrier set as turn off, I can't go from the shipping step to payment step, because

"There is 1 error :

1. invalid carrier or no carrier selected
"


How to fix this ? I dont want to use carrier

  • Like 1
Link to comment
Share on other sites

You need to have a carrier called "Collect from Store"

Make that your default carrier and you should have no problems.

This is all controlled from the "Shipping" tab in admin. Then click "Carriers" which is the first button on the tab

Link to comment
Share on other sites

I think that you will have to change some of the coding in the order system as I presume you will want to get rid of the delivery address as well.

The system is set to work with delivery or collect from store.

You will probably want to delete the shipping text from the cart module as well.

Link to comment
Share on other sites

Try this

In order_carrier.tpl in your theme go to line 95

<input type="submit" name="processCarrier" value="{l s='Next'} »" class="exclusive" />



Remove processCarrier

Then remove lines 34 to 90 inclusive

{if $virtual_cart}
   <input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
{else}
{l s='Choose your delivery method'}
   {if $recyclablePackAllowed}


       <input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} />
{l s='I agree to receive my order in recycled packaging'}.

   {/if}

   {if $carriers && count($carriers)}


{l s='Delivery Method'}{l s='Information'}{l s='Price'}
                       <input type="radio" name="id_carrier" value="{$carrier.id_carrier|intval}" id="id_carrier{$carrier.id_carrier|intval}" {if $carrier.id_carrier == $checked || ($checked == 0 && $i == 0) || ($carriers|@sizeof == 1)}checked="checked"{/if} />


                           {if $carrier.img}{else}{$carrier.name|escape:'htmlall':'UTF-8'}{/if}

{$carrier.delay|escape:'htmlall':'UTF-8'}{if $carrier.price}{convertPrice price=$carrier.price}{else}{l s='Free!'}{/if}

   {else}

{l s='There is no carrier available that will deliver to this address!'}
   {/if}

   {if $giftAllowed}
{l s='Gift'}


           <input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} onclick="$('#gift_div').toggle('slow');" />
{l s='I would like the order to be gift-wrapped.'}
           {if $gift_wrapping_price > 0}({l s='Additional cost of'} {convertPrice price=$gift_wrapping_price}){/if}



{l s='If you wish, you can add a note to the gift:'}
           <textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>

   {/if}
{/if}



This hopefully will then work.

Have tried it on mine and seems to do.

Or if you want replace all the text in order_carrier.tpl with the following

[removed][removed]
[removed][removed]
{if !$virtual_cart && $giftAllowed && $cart->gift == 1}
[removed]{literal}
// <![CDATA[
   $('document').ready( function(){
       $('#gift_div').toggle('slow');
   });
//]]>
{/literal}[removed]
{/if}
{include file=$tpl_dir./thickbox.tpl}

{capture name=path}{l s='Shipping'}{/capture}
{include file=$tpl_dir./breadcrumb.tpl}

{l s='Shipping'}

{assign var='current_step' value='shipping'}
{include file=$tpl_dir./order-steps.tpl}

{include file=$tpl_dir./errors.tpl}

<form id="form" action="{$base_dir}order.php" method="post">

{if $conditions}
{l s='Terms of service'}


       <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} />
{l s='I agree with the terms of service and I adhere to them unconditionally.'} {l s='(read)'}

{/if}





       <input type="hidden" name="step" value="3" />
« {l s='Previous'}
       <input type="submit" name="" value="{l s='Next'} »" class="exclusive" />

</form>

  • Like 1
Link to comment
Share on other sites

I still however think that you will have to add a default carrier such as collect from store as the invoice and related online forms need a carrier.

The default one for my test shop is collect from store so it is this that shows on all paperwork and online accounts

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
  • 4 weeks later...
  • 2 months later...
  • 4 weeks later...
  • 6 months later...

I know this post is a little old but I have searched the forums looking for the best match to my query!

When you go through the checkout option there is a gift wrap option. How do I disable it as I won't be offering a wrapping service at all. I cannot find it in the modules section unless i'm looking in the wrong bit or have to edit the raw code. Please help!

Thanks in advance.

[sOLVED] - Found it at last - you don't have to edit the code it's on Preferences tab about half way down.

Link to comment
Share on other sites

  • 3 years later...
  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...