- Posts: 61
- Thank you received: 0
How to remove Square Zip Code
- Ric McDonald
- Topic Author
- Offline
- Senior Member
-
Less
More
3 years 10 months ago #148501
by Ric McDonald
How to remove Square Zip Code was created by Ric McDonald
Please can you tell me how to remove the square Zip Code fielf from the payment form, this is not required in Australia and is confusing to my customers
I have seen this oon line but I do not know where to find the code to edit it.When you load the eCommerce Payment Form — replace:
With the following:
Once this is done, the payment form will load without the postal code field!
I have seen this oon line but I do not know where to find the code to edit it.When you load the eCommerce Payment Form — replace:
Code:
postalCode: {
elementId: 'sq-postal-code'
}
Code:
postalCode: false
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13349
- Thank you received: 1748
3 years 10 months ago #148507
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How to remove Square Zip Code
Hi Ric,
You can try to open file:
[root] -> components -> com_osservicesbooking -> plugins -> os_squareup.php
Find:
and change to
Good luck
Dam
You can try to open file:
[root] -> components -> com_osservicesbooking -> plugins -> os_squareup.php
Find:
Code:
postalCode: {
elementId: 'field_zip_input',
placeholder: 'Postal Code'
},
and change to
Code:
postalCode: false,
Good luck
Dam
Please Log in or Create an account to join the conversation.
- Ric McDonald
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 0
3 years 10 months ago #148517
by Ric McDonald
Replied by Ric McDonald on topic How to remove Square Zip Code
There are many php files inside that directory, an you give me more of the path please Dam
Please Log in or Create an account to join the conversation.
- Ric McDonald
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 0
3 years 10 months ago #148518
by Ric McDonald
Replied by Ric McDonald on topic How to remove Square Zip Code
I found the file os_squareup.php
but the code already says postalCode: false
but the code already says postalCode: false
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13349
- Thank you received: 1748
3 years 10 months ago #148526
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How to remove Square Zip Code
Hi Ric,
Please submit ticket on category: OS Services Booking. I will figure the cause of issue for you
Thanks
Dam
Please submit ticket on category: OS Services Booking. I will figure the cause of issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Ric McDonald
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 61
- Thank you received: 0
3 years 10 months ago #148697
by Ric McDonald
Replied by Ric McDonald on topic How to remove Square Zip Code
Sorted by Mr Dam Yea
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13349
- Thank you received: 1748
3 years 10 months ago #148698
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How to remove Square Zip Code
OK Ric
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.