Thanks, yes that did help, I think I have it all working now.
Does anybody know how to change the dropdown menu to show a specific country as the default?
I have managed to achieve this for the other dropdown menus on my site by editing the includes/functions/html_output.php
From this:
function tep_get_country_list($name, $selected = '', $parameters = '') {
$countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT));
To this:
function tep_get_country_list($name, $selected = '222', $parameters = '') {
$countries_array = array(array('id' => '222', 'text' => 'United Kingdom'));
But it didn't affect this one?
Latest News: (loading..)
Shipping in cart
Started by sembrouille, Apr 19 2012 03:50 PM
23 replies to this topic
#21
Posted 15 March 2013 - 02:28 PM
#22
Posted 16 April 2013 - 08:20 AM
Your shop is not configured.
You must set the country in :
admin -> shop -> country
You must set the country in :
admin -> shop -> country
#23
Posted 24 April 2013 - 08:42 AM
I have this installed and love it.
Is there any way to get the shipping costs to show in the dropdown, rather than when the page refreshes after selecting a shipping method.
Is there any way to get the shipping costs to show in the dropdown, rather than when the page refreshes after selecting a shipping method.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
#24
Posted 10 May 2013 - 08:40 AM
14steve14, on 24 April 2013 - 08:42 AM, said:
I have this installed and love it.
Is there any way to get the shipping costs to show in the dropdown, rather than when the page refreshes after selecting a shipping method.
Is there any way to get the shipping costs to show in the dropdown, rather than when the page refreshes after selecting a shipping method.
Hi Steve
I'm not sure if this is what you mean but.....
Around line 109 find //------------------- fin affiche fdp ---------------------------------------------------- , count up two closing curly wurlies and add the line shown - that should get you the dropdown displaying 'Royal Mail (£12.87)' instead of 'Royal Mail'
//altering dropdown text
$quotes_array[$i]['text'].= ' ('.$currencies->format( tep_add_tax((float)$calcul_fdp_scart, $tax_fdp)).')';
//end
}
}
//------------------- fin affiche fdp ----------------------------------------------------
p.s. first I've seen this one and it's a much nicer add-on than the older ship in cart contribution - well done MrFoggy
Edited by Bob Terveuren, 10 May 2013 - 08:42 AM.









