- First Install
- Testing the Configuration
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.
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.
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).
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.
5. Enter Company Address ๐ผ
Fill in your Street Address, Suburb, City, Province, Postal Code. The โCountryโ field is restricted to โSouth Africa.โ
6. Enter Contact Details ๐ผ
Fill in your Contact Name, Email and Phone.
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.
8. Optional Settings ๐ผ
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.
9. Save Settings ๐ผ
Click the Save Settings button to save your configuration.
10. Finishing Steps ๐ผ
These finishing steps help to ensure the plugin is configured correctly.
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.
10.2 Shipping Address Email ๐ผ
Ensure that the Customer contact method is set to 'Email'.
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).
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.
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 %}Your order confirmation email should now contain the newly added code:
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.
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.
3. Complete TCG Locker Destination Selection ๐ผ
On the Thank You page, click the Confirm button.
4. Enter OTP and Confirm ๐ผ
Navigate to your email to retrieve the OTP, enter it, select your Locker destination, and click Continue.




















