Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it Possible


Guest

Recommended Posts

Hello,

Is it possible to only allow sales in a very local area......

Say for instance in my county and the surrounding counties?

I know it sounds really weird but the products to be sold are also Installed and we can only go so far for installing......

Also I need to know how to add a new required feild to the creat account process.... as I need to be able to run credit checks.......

 

I would very much appreciate any help possible.....

Link to comment
Share on other sites

i am not that familiar with that area, however if you do just that (create a backup of your database first) then create a user from outside that zone and see if it wil allow you to ship to that user . . .

Link to comment
Share on other sites

Mibble,

I have a problem... I need to add a list of zipcodes and those are the only areas that we can serve....

and I was wondering if you can help me figure out HOW to creat a new required input on the creat account

like between Birth date and email address..

Link to comment
Share on other sites

Hrm...I don't have a solution, but maybe this will help. I also deliver products to a very limited area. Customers outside of that area have to pay for shipping. My solution was to create a new zone for those customers who I would deliver to. I went into the files where the customers are assigned their zones (I believe there are four - create_account.php, address_book_process.php...I don't remember the others) and added this:

if ($postcode<=76210 && $postcode>=76201){
$zone_id=183;
}

 

This assigns all customers with zip codes from 76201 to 76210 to the zone 183, which is the zone I created for local customers. I then set up the Flat Rate shipping option, limited it to zone 183 and renamed it "Local Delivery."

 

So, for your situation, I would use a similar "if" statement. You could do

if ($city=yourcity)

or use any variety of zip code combinations. Then install only one shipping module, limit it to your local zone and you're good to go for customers inside the zone. I don't know what happens though if a customer from outside the zone tries to place an order and has no shipping options...will it let him complete his order or not?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...