Articles on: Design and customizations

CASE A : If you are not using the carrier-calculated API.

NOTE : All products that require shipping must be marked as a physical product in Shopify.

STEP 1: Go to Edit Code, locate the locales folder, and then add files with names like "en-pickup.json" and "en-delivery.json". If store primary locale is en

If your store is in France or Germany or any other country , and store primary locale is fr or de then you will need to add the file names as "fr-pickup.json" and "fr-delivery.json" for France, similarly, "de-pickup.json" and "de-delivery.json" for Germany, and so on for other countries as well.





After creating both the files copy and paste the following codes into respective files.

Below code in en-delivery.json

{
  "shopify": {
    "checkout": {
      "tips": {
        "title": "Driver tip",
        "add_tip": "Add tip",
        "description": "Add a tip for your delivery driver",
        "message": ""
      },
      "general": {
        "continue_to_shipping_method": "Continue to delivery methods",
        "back_to_shipping_method": "Return to delivery method",
        "edit_shipping_address": "Edit delivery address",
        "edit_shipping_method": "Edit delivery method"
      },
      "review": {
        "blocks": {
          "shipping_address_title": "Deliver to"
        }
      },
      "contact": {
        "shipping_address_title": "Delivery address"
      },
      "delivery_options": {
        "shipping_address": "Delivery Address"
      },
      "order_summary": {
        "free_shipping_discount_label": "Free delivery",
        "discount_requires_customer_notice": "Please submit your delivery information to apply the {{code}} discount code",
        "shipping_information_does_not_meet_discount_requirements_notice": "Your delivery information does not meet the requirements for the {{code}} discount code",
        "shipping_label": "Delivery"
      },
      "shipping": {
        "shipping_method_title": "",
        "title": "Delivery",
        "waiting_on_rate_notice": "Please wait while we fetch available delivery rates...",
        "no_rates_for_cart_or_destination_notice": "There are no delivery methods available for your cart or destination.",
        "no_rates_for_country_notice": "We do not offer delivery to {{country}}.",
        "please_enter_your_shipping_information_notice": "Please enter your delivery information"
      },
      "payment": {
        "same_billing_address_label": "Same as delivery address"
      },
      "shipping_errors": {
        "shipping_method": "Your cart has been modified and the delivery rate you previously selected no longer applies. Please select a new rate."
      },
      "thank_you": {
        "shipping_information_title": "Delivery information",
        "shipping_address_title": "Delivery address",
        "shipping_method_title": "Delivery method",
        "marker": {
          "shipping": "Delivery address",
          "current": "Current delivery location"
        },
        "track_shipment": "Track delivery",
        "confirmed_description_html": "We have accepted your order, and we are getting it ready. A confirmation email has been sent to {{ email }}. Come back to this page for updates on your delivery status.",
        "no_tracking_number": "There is no tracking number for this delivery.",
        "unfulfilled_items_title": "Preparing for delivery",
        "unfulfilled_items_description": "We are currently preparing these items for delivery.",
        "fulfillment": {
          "unfulfilled_table_title": "Items preparing for delivery",
          "fulfilled_table_title": "Items in this delivery"
        },
        "login_title": "Login to view all delivery details",
        "failed_title": "We could not deliver your order",
        "delivered_description_html": "Your order has been delivered to the address you provided. If you haven't received it, or if you have any other problems, please {{ contact_us }}.",
        "delivered_title": "Your order has been delivered",
        "attempted_delivery_description_html": "An attempt was made to deliver your order but it was unsuccessful. Please {{ contact_us }} to arrange another delivery attempt.",
        "attempted_delivery_title": "An attempt was made to deliver your order",
        "out_for_delivery_description_html": "Your order is on the delivery truck - expect it to arrive today. If you still haven't received it in the next 2 days, please {{ contact_us }}.",
        "out_for_delivery_title": "Your order is out for delivery",
        "in_transit_description": "Come back to this page for updates on your delivery status.",
        "in_transit_title": "Your order is on the way",
        "confirmed_title": "Your delivery is confirmed",
        "order_updates_subscribe_to_email_notifications": "Get delivery updates by email",
        "order_updates_subscribe_to_phone_notifications": "Get delivery updates by email or SMS",
        "order_updates_subscribe_to_email_or_phone_notifications": "Get delivery updates by SMS"
      }
    },
    "notices": {
      "cart": {
        "shipping_address_not_required": "This cart does not require delivery",
        "shipping_address_invalid": "Invalid delivery address"
      }
    }
  }
}


Below code in en-pickup.json

{
  "shopify": {
    "checkout": {
      "contact": {
        "phone_label": "Your phone number",
        "optional_phone_label": "Your phone number (optional)",
        "phone_placeholder": "Your phone number",
        "optional_phone_placeholder": "Your phone number (optional)",
        "shipping_address_title": "Pickup address",
        "first_name_label": "Your first name",
        "optional_first_name_label": "Your first name (optional)",
        "first_name_placeholder": "Your first name (optional)",
        "optional_first_name_placeholder": "Your first name",
        "last_name_label": "Your last name",
        "optional_last_name_label": "Your last name (optional)",
        "last_name_placeholder": "Your last name",
        "optional_last_name_placeholder": "Your last name (optional)"
      },
      "delivery_options": {
        "shipping_address": "Pickup Address"
      },
      "thank_you": {
        "marker": {
          "shipping": "Pickup address",
          "current": "Pickup address"
        },
        "shipping_address_title": "Pickup address",
        "order_updates_subscribe_to_email_notifications": "Get pickup updates by email",
        "order_updates_subscribe_to_phone_notifications": "Get pickup updates by email or SMS",
        "order_updates_subscribe_to_email_or_phone_notifications": "Get pickup updates by SMS"
      },
      "general": {
        "continue_to_shipping_method": "Continue",
        "back_to_shipping_method": "Back",
        "edit_shipping_address": "Edit",
        "edit_shipping_method": "Edit"
      },
      "order_summary": {
        "free_shipping_discount_label": "Free pickup",
        "shipping_label": "Store Pickup"
      },
      "shipping": {
        "title": "Store Pickup",
        "waiting_on_rate_notice": "Please wait while we fetch available pickup rates...",
        "no_rates_for_cart_or_destination_notice": "Pickup is not available for your cart or destination.",
        "no_rates_for_country_notice": "We do not offer pickups in {{ country }}.",
        "please_enter_your_shipping_information_notice": "Please go back to the shopping cart page and choose a pickup location."
      },
      "payment": {
        "same_billing_address_label": "Please use the option below ⬇"
      },
      "shipping_title": "Store Pickup"
    }
  }
}


STEP 2: Go to the Shipping and Delivery settings in Shopify admin, then click on Manage under Custom Shipping Rates, as shown below.


Now look for shipping origins and click on Add Rate.


Now enter the rate name as “Store Pickup” and click on Done.




STEP 3: Disable local pickup from Shopify admin.



NOTE :

In most stores, customers set the minimum order price at $30 or maybe x amount, which will be more than a single product price. So, when customers try to checkout with a product below $30, they don’t see local delivery charges at the checkout page. To avoid this confusion, configure the local delivery rate properly.

Updated on: 12/04/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!