Skip to content

AppInlet/Lockers_Shopify

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 

Repository files navigation

TCG_Locker_Shopify

Table of Contents

First Install ๐Ÿ”ผ

1. Install the TCG Locker App ๐Ÿ”ผ

Install the TCG Locker app on your Shopify site by clicking here. Click the "Install" button. If you have multiple Shopify sites linked to your account, select the relevant website first. Once your dashboard appears, click the "Install" button again. After installation, you will be redirected to TCG Locker settings page.

TCG Locker Guide

2. Configure General Settings ๐Ÿ”ผ

Under the "General" tab, fill in Company Name, The Courier Guys Locker API URL and The Courier Guys Locker API Key. The other fields in the general tab are optional.

TCG Locker Guide

3. Configure Address Settings ๐Ÿ”ผ

Expand the "Address" tab and choose a preferred value for the โ€œThe Courier Guys Locker Sourceโ€ dropdown (either Locker or Street Address).

TCG Locker Guide

4. Select TCG Locker Source Locker ๐Ÿ”ผ

In the โ€œLocker Numberโ€ field, select your preferred TCG Locker source locker. This is required so clients can choose Locker -> Door or Locker -> Locker at checkout.

TCG Locker Guide

5. Enter Company Address ๐Ÿ”ผ

Fill in your Street Address, Suburb, City, Province, Postal Code. The โ€œCountryโ€ field is restricted to โ€œSouth Africa.โ€

TCG Locker Guide

6. Enter Contact Details ๐Ÿ”ผ

Fill in your Contact Name, Email and Phone.

TCG Locker Guide

7. Select Locker Size ๐Ÿ”ผ

Under the โ€œLockerโ€ dropdown, choose the locker size that all orders will be restricted to (Extra Small, Small, Medium, Large, Extra Large). You can only have one locker size attached to your Shopify website.

TCG Locker Guide

8. Optional Settings ๐Ÿ”ผ

TCG Locker Guide

8.1 Add Carrier Rates to Shopify on Save ๐Ÿ”ผ

Available for most Shopify Plans (excludes monthly Basic Plan). It adds dynamic rates to your shipping.

8.2 Enable TCG Locker Confirmation ๐Ÿ”ผ

This notifies the merchant whether the customer has selected a locker. Once the order is placed, the customer can select their locker on the Thank You page.

TCG Locker Guide

9. Save Settings ๐Ÿ”ผ

Click the Save Settings button to save your configuration.

TCG Locker Guide

10. Finishing Steps ๐Ÿ”ผ

These finishing steps help to ensure the plugin is configured correctly.

TCG Locker Guide

10.1 Shipping Address Phone Number ๐Ÿ”ผ

Click the notification for Shipping Address Phone Number to load a popup with Shopify checkout settings. Ensure that the phone number for shipping addresses is required.

TCG Locker Guide

10.2 Shipping Address Email ๐Ÿ”ผ

Ensure that the Customer contact method is set to 'Email'.

TCG Locker Guide

10.3 Flat-Rate Shipping Methods ๐Ÿ”ผ

If you are on a Basic Plan or don't wish to use Carrier Rates, create 2 flat-rate shipping methods for your South African shipping zone, ensuring they include โ€œLockerโ€ or "locker" in their names (e.g., The Courier Guy Locker or The Courier Guy Locker to Door).

TCG Locker Guide

10.4 Locker Confirmation Thank You Page ๐Ÿ”ผ

Navigate to Settings โ†’ Checkout โ†’ Customize to configure the Thank You page. Enable the checkout-locker-select block under Apps to allow customers to select their locker destination after purchase.

TCG Locker Guide

10.5 Order Confirmation Email Template ๐Ÿ”ผ

If Enable The Courier Guy Locker confirmation is checked, go to Settings โ†’ Notifications โ†’ Customer notifications โ†’ Order Confirmation โ†’ Edit Code.

Paste the following code below the shipping info table (approximately line 3500, after the </table> in the unedited template), then save your changes:

{% if shipping_method and shipping_method.title | downcase contains 'locker' %}
    {% assign shopName = shop.domain %}
    {% assign orderID = order.id %}
    {% capture locker_url %}
        https://shp.pudo.co.za/otp_confirmation?shop={{ shopName }}&orderID={{ orderID }}
    {% endcapture %}
    <p style="margin:16px 0; font-size:16px;">
        Please select your locker destination here:
        <a href="{{ locker_url }}" style="color:#1a73e8; text-decoration:underline;">Click to choose locker</a>
    </p>
    <p style="color:#888; font-size:14px;">
        If the link does not work, copy and paste this URL into your browser:<br>
        {{ locker_url }}
    </p>
{% endif %}

TCG Locker Guide

Your order confirmation email should now contain the newly added code:

TCG Locker Guide

Testing the Configuration ๐Ÿ”ผ

1. Prime Checkout ๐Ÿ”ผ

Navigate to the front end of your Shopify store, add a product to your cart and navigate to the Checkout page.

TCG Locker Guide

2. Select TCG Locker Method ๐Ÿ”ผ

Add your shipping address and select the TCG Locker method at checkout. You will be able to confirm your TCG Locker selection on the Thank You page after completing your order. Ensure you have access to the email used at checkout, as it will receive the OTP pin required to submit your shipment.

TCG Locker Guide

3. Complete TCG Locker Destination Selection ๐Ÿ”ผ

On the Thank You page, click the Confirm button.

TCG Locker Guide

4. Enter OTP and Confirm ๐Ÿ”ผ

Navigate to your email to retrieve the OTP, enter it, select your Locker destination, and click Continue.

TCG Locker Guide

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published