Jump to content

Assigning a delivery carrier in element theme... [SOLVED]


Recommended Posts

Hi there,

I'm using the element theme and after creating a delivery carrier in my modules I get this error message when I test the purchasing funnel....

'There is no carrier available that will deliver to this address!'

This is really confusing because I have assigned default carriers. I assume this has something to do with the actual CSS code for the theme but I'm not sure how I should edit it.

Any help would be great!

Link to comment
Share on other sites

Hi

Not an expert but if it helps,

Have you got the same ISO code in your carrrier as your zones and country.

for example if you are in United Kingdom then you need UK in carrier, zones, country so it all ties up.

or whatever country you want to use.

hope that helps a bit.

Barry

Link to comment
Share on other sites

I guess you will have to {* comment out *} the code on lines 97-116 of order-carrier.tpl in your theme's directory:

{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'}

               {if $priceDisplay == 1}{convertPrice price=$total_wrapping_tax_exc}{else}{convertPrice price=$total_wrapping}{/if}

           {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if})
       {/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}

Link to comment
Share on other sites

You should replace the above with:

{*{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'}

               {if $priceDisplay == 1}{convertPrice price=$total_wrapping_tax_exc}{else}{convertPrice price=$total_wrapping}{/if}

           {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if})
       {/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}*}

Link to comment
Share on other sites

×
×
  • Create New...