Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Visible Countries


Jos Medinger

Recommended Posts

MY client only ships to 3 main areas

 

UK

Europe

US

 

Is it possible to refine the list of countries in the account edit address drop down field so that only the above are shown?

 

Jos

===============

Simple yet Creative

Get Online Web Design : getonlinedesign.com

===============

Link to comment
Share on other sites

I did that on my site. I just added another column to the Countries table called Show_Country (int) and then marked the ones that I wanted to include with a 1.

 

Then I just added that condition (WHERE Show_Country=1) to the SQL statement in the tep_get_countries function in includes/functions/general.php

I'd rather be flying!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...