unkn0wn Posted January 5, 2009 Share Posted January 5, 2009 HiI have turned off carrier. But when I go to the payment step, there is message"Choose your delivery methodThere 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 1 Link to comment Share on other sites More sharing options...
TheTyke Posted January 5, 2009 Share Posted January 5, 2009 What delivery method are you using or is the buyer collecting? Link to comment Share on other sites More sharing options...
unkn0wn Posted January 5, 2009 Author Share Posted January 5, 2009 I don't want any delivery method on my shop. The buyer will gonna pick up orders in our store Link to comment Share on other sites More sharing options...
TheTyke Posted January 5, 2009 Share Posted January 5, 2009 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 More sharing options...
unkn0wn Posted January 5, 2009 Author Share Posted January 5, 2009 Yes, I know about thisbut I dont want to see in my shop this informationsWhen I do your suggestion, I have like that:like I said I dont want t see this on webpageIt is possible to compleatly throw delivery methods ? Link to comment Share on other sites More sharing options...
TheTyke Posted January 5, 2009 Share Posted January 5, 2009 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 More sharing options...
TheTyke Posted January 5, 2009 Share Posted January 5, 2009 Try thisIn order_carrier.tpl in your theme go to line 95 <input type="submit" name="processCarrier" value="{l s='Next'} »" class="exclusive" /> Remove processCarrierThen 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> 1 Link to comment Share on other sites More sharing options...
TheTyke Posted January 5, 2009 Share Posted January 5, 2009 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 More sharing options...
Paul C Posted January 5, 2009 Share Posted January 5, 2009 Or just set up all the products as ivirtual ones, and change the appropriate text in the translations section to compensate?Paul Link to comment Share on other sites More sharing options...
TheTyke Posted January 7, 2009 Share Posted January 7, 2009 I hope this bit of code was of use to someone.It is unknown why "unkn0wn" has not replied. :coolsmile: Link to comment Share on other sites More sharing options...
bagus Posted March 14, 2009 Share Posted March 14, 2009 thanks for your code TheTyke..it happens that I actually looking for the same solution as “unkn0wn”, I'll try it and I will post the result here Link to comment Share on other sites More sharing options...
TheTyke Posted March 15, 2009 Share Posted March 15, 2009 bagusI hope it helps you in your quest.Your comment brought me back to Prestashop as I have been away a while playing with Amazon Associate scripts. Link to comment Share on other sites More sharing options...
bagus Posted March 15, 2009 Share Posted March 15, 2009 in the end I didn't use your code, I just played with some code at order.php to by pass the courier/shipping step. Link to comment Share on other sites More sharing options...
TheTyke Posted March 15, 2009 Share Posted March 15, 2009 I must have had too much spare time on my hands when I played with that code.The sun is shining outside, a bit nippy, but time to emerge into the real world. Link to comment Share on other sites More sharing options...
i978 Posted March 31, 2009 Share Posted March 31, 2009 thanks for "thetyke" . i need it Link to comment Share on other sites More sharing options...
first1 Posted April 22, 2009 Share Posted April 22, 2009 How can i sort the carriers list by price in the shipping page and make the cheapest (the default in my case) automatically pre selected ? Link to comment Share on other sites More sharing options...
zeerebel Posted June 25, 2009 Share Posted June 25, 2009 Thanks TykeKeep up the good work. I used your code and it worked perfectly.https://www.fingerlakestrellissupply.com/estore/order.phpI was wondering if you can help one more thing. My client doesn't want the shipping cost to be added. How is that possible.Thanks,Z Link to comment Share on other sites More sharing options...
Mahmoud M. Abdel-Fattah Posted July 21, 2009 Share Posted July 21, 2009 Thanks TheTyke , but it doesn't work with version 1.2.0.3.it stuck with Step 2:Terms of serviceI agree with the terms of service and I adhere to them unconditionally. (read) each time I check this & click next. it back to same page! Link to comment Share on other sites More sharing options...
smudgepost Posted February 17, 2010 Share Posted February 17, 2010 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 More sharing options...
rahulgroup Posted February 19, 2013 Share Posted February 19, 2013 Choose your delivery method IS BLANK HOW TO SHOW MY CARIER IN THIS TAB PLEASE TELL ME Link to comment Share on other sites More sharing options...
rahulgroup Posted February 20, 2013 Share Posted February 20, 2013 sir i am set carrier alll but on my site show Choose your delivery method but not any show deliver option Link to comment Share on other sites More sharing options...
techtech Posted January 14, 2014 Share Posted January 14, 2014 Using 1.5.4.1 Making virtual products is an interesting fix for this: (1) Create a Product (2) Change Type to Virtual Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now