Jump to content



Latest News: (loading..)

* * * * * 1 votes

Shipping in cart


  • Please log in to reply
23 replies to this topic

#21   MaceBiz

MaceBiz

    Skills Trade in Profile

  • Members
  • 6 posts
  • Real Name:Aaron Mullins
  • Gender:Male
  • Location:England, UK

Posted 15 March 2013 - 02:28 PM

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?

#22   sembrouille

sembrouille
  • Members
  • 70 posts
  • Real Name:brouillard
  • Gender:Male

Posted 16 April 2013 - 08:20 AM

Your shop is not configured.

You must set the country in :

admin -> shop -> country

#23   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,113 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Dorset UK

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

#24   Bob Terveuren

Bob Terveuren
  • Members
  • 173 posts
  • Real Name:Bob Terveuren
  • Gender:Male

Posted 10 May 2013 - 08:40 AM

View Post14steve14, 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.

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.