Author Topic: Accepting orders from anywhere but shipping only to a single country  (Read 1515 times)

Offline svsanchez

  • Posts: 562
Hello everyone.

I need to configure Bakery so that it allows people from anywhere in the world to make a purchase, but limit the shipping only to Guatemala. The reason for this is there are about 2 million Guatemalans living abroad but their families live in Guatemala, so they need to buy from the country they live in and have the product delivered to their loved ones here.

How can I do this? I am using Bakery 1.6


  • Guest
Hi svsanchez

Use the customer address form (invoice) and the shipping address form:

For the customer address form modify the country list at /modules/bakery/languages/countries/ES.php

If you want to limit shipping to Guatemala only, modify the country select of the shipping address form. Search the code below (view_form.php about line 358):
Code: [Select]
// Prepare ship country options
for ($n = 1; $n <= count($MOD_BAKERY['TXT_COUNTRY_NAME']); $n++) {
and replace it by
Code: [Select]
// Prepare ship country options
for ($n = 1; $n <= count($MOD_BAKERY['TXT_COUNTRY_NAME']); $n++) {

Regards Christoph