[Skip to main content](#vessel-content)

#   Checkout - Selecting different Payment Method loses Ship Method Custom Fields

##

- **[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")**
- [![bmm01's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14439-bmm01 "View bmm01's Profile") Topic Author
- [ Offline](/forum/user/14439-bmm01)

Less More

- Posts: 107
- Thank you received: 8
-
-

2 years 6 months ago [\#360976](#360976) by [bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")  *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#360976 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")* was created by *[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")*

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 4.4.4
-- PHP version -- : 8.2.18
-- Browser(s) name and version -- : Firefox

This is a weird one - it may have something to do with customisations from a previous developer I can't find.

We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.

At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.

But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.

If you refresh the page, the 2 Custom Fields reappear and are populated.

Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.

Thanks for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86582
- Thank you received: 14322
-
-

2 years 6 months ago [\#360978](#360978) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#360978 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")*

Hi,

I would recommend first checking the settings of the custom fields.
In them, you'll find "shipping methods" and "payment methods" settings to restrict the display of the custom fields based on selected methods.
Could it be what is used ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")**
- [![bmm01's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14439-bmm01 "View bmm01's Profile") Topic Author
- [ Offline](/forum/user/14439-bmm01)

Less More

- Posts: 107
- Thank you received: 8
-
-

2 years 6 months ago [\#361012](#361012) by [bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")  Replied by *[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")* on topic *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#361012 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")*

Thanks for the quick response Nicolas.

I checked the Custom Fields and there are no restrictions at all. I tried restricting them to a particular Shipping Method and then they do not appear at all.

Any other suggestions on how to find this customisation?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86582
- Thank you received: 14322
-
-

2 years 6 months ago [\#361018](#361018) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#361018 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")*

Hi,

So, I went to your website in order to look at the situation, hoping to better understand what's going on.
I had a hard time to get a shipping method to appear. I had to find a real address in Australia.
And I never saw any "shipping method custom fields", regardless of which payment method was selected.
So I'm not sure what we're talking about.
Could you provide some screenshots to illustrate the issue, and precise step by step instructions in order to reproduce the issue ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")**
- [![bmm01's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14439-bmm01 "View bmm01's Profile") Topic Author
- [ Offline](/forum/user/14439-bmm01)

Less More

- Posts: 107
- Thank you received: 8
-
-

2 years 6 months ago [\#361034](#361034) by [bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")  Replied by *[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")* on topic *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#361034 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")*

Thanks Nicolas

Here are the steps to reproduce (you're correct, it's quite complicated):

Add a product to your cart such as this one:

[ www.test.midwestmeats.com.au/online-butc...16-the-carnivore-box](https://www.test.midwestmeats.com.au/online-butcher/product/16-the-carnivore-box)

Go to checkout:

Use the Postcode 3242 with an Australian address

Select the Shipping Method "Click 'N' Collect &amp; 13th BGC (min. order $50) Free shipping"

2 x Custom fields are displayed for **Pickup Day &amp; Date and **Pickup Time

Accept Terms &amp; Conditions

Select the Payment Method "PayPal Checkout". Scroll back up to the Shipping Method and the Custom Fields have disappeared.

Refresh the page and the Custom Fields are displayed once more.

Hope this helps you reproduce.

I have also attached screenshots of the Custom Field screens.

- [ ![Screenshot2024-05-15at15-08-53TheCarnivoreButcherBox-TestFarmerOwnedOnlineButcher.png](/forum/attachment/59283) ](/forum/attachment/59283 "...ineButcher.png") [ ](/forum/attachment/59283?download=1 "...ineButcher.png")
- [ ![Screenshot2024-05-15at15-09-58Checkout-TestFarmerOwnedOnlineButcher.png](/forum/attachment/59284) ](/forum/attachment/59284 "...ineButcher.png") [ ](/forum/attachment/59284?download=1 "...ineButcher.png")
- [ ![Screenshot2024-05-15at15-11-21Checkout-TestFarmerOwnedOnlineButcher.png](/forum/attachment/59285) ](/forum/attachment/59285 "...ineButcher.png") [ ](/forum/attachment/59285?download=1 "...ineButcher.png")
- [ ![Screenshot2024-05-15at15-13-06Checkout-TestFarmerOwnedOnlineButcher.png](/forum/attachment/59286) ](/forum/attachment/59286 "...ineButcher.png") [ ](/forum/attachment/59286?download=1 "...ineButcher.png")
- [ ![Screenshot2024-05-15at15-16-23Checkout-TestFarmerOwnedOnlineButcher.png](/forum/attachment/59287) ](/forum/attachment/59287 "...ineButcher.png") [ ](/forum/attachment/59287?download=1 "...ineButcher.png")
- [ ![Screenshot2024-05-15at15-16-40Checkout-TestFarmerOwnedOnlineButcher.png](/forum/attachment/59288) ](/forum/attachment/59288 "...ineButcher.png") [ ](/forum/attachment/59288?download=1 "...ineButcher.png")
- [ ![Screenshot2024-05-15at15-22-11TestFarmerOwnedOnlineButcher-Administration-Fielddayandnight.png](/forum/attachment/59289) ](/forum/attachment/59289 "...ayandnight.png") [ ](/forum/attachment/59289?download=1 "...ayandnight.png")
- [ ![Screenshot2024-05-15at15-22-30TestFarmerOwnedOnlineButcher-Administration-Fieldpickuptime.png](/forum/attachment/59290) ](/forum/attachment/59290 "...pickuptime.png") [ ](/forum/attachment/59290?download=1 "...pickuptime.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86582
- Thank you received: 14322
-
-

2 years 6 months ago [\#361038](#361038) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#361038 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")*

Hi,

Ok, thanks.
From what I understand, the view file checkout / show_block_shipping has been customized in order to display these two fields. However, it doesn't take into account all the possible cases properly.

Also, the fact that the custom fields sometimes also appear / disappear in the custom field area is strange. There are no shipping method or payment method restrictions in the settings of these fields. So it tells me that there is probably also a customization of checkout / show_block_fields.

Also, note that the developer can potentially develop a custom plugin implement such changes without actually creating view overrides for these views.

If I were you, the first thing I would do would be to try to reach that developer so that he can sort the problem. It's him who made these changes so he knows them better than anyone else.
If that's not possible, then, I think it would actually be better to just remove these modifications as I don't think they are necessary anymore.
HikaShop now has the "shipping methods" restriction setting in custom order fields.
So you can already restrict the display of custom fields based on which shipping method is displayed.
You can also have several "fields" view in your checkout workflow, so you could have a fields view with the "add note" field at the top of the step, and a second "fields" view just below the shipping methods selection for the time and date selectors, so that it would display them when necessary, just below the shipping methods selection.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")**
- [![bmm01's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14439-bmm01 "View bmm01's Profile") Topic Author
- [ Offline](/forum/user/14439-bmm01)

Less More

- Posts: 107
- Thank you received: 8
-
-

2 years 6 months ago [\#361068](#361068) by [bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")  Replied by *[bmm01](/forum/user/14439-bmm01 "View bmm01's Profile")* on topic *[Checkout - Selecting different Payment Method loses Ship Method Custom Fields](/forum/27-checkout/908165-checkout-selecting-different-payment-method-loses-ship-method-custom-fields#361068 "-- HikaShop version -- : 5.0.4 -- Joomla version -- : 4.4.4 -- PHP version -- : 8.2.18 -- Browser(s) name and version -- : Firefox  This is a weird one - it may have something to do with customisations from a previous developer I can't find.  We have 2 Custom Fields set up in the Order table - Pickup date and Pickup Time. These are displayed in a Shipping Method using the Hikashop Manual Shipping Method at Checkout.  At checkout when the user selects this Shipping Method (Click and Collect), they can fill in the Pickup Date &amp; Pickup Time fields.  But if they change from the default Payment Method to another Payment Method then the 2 custom fields and their values disappear.  If you refresh the page, the 2 Custom Fields reappear and are populated.  Could you please advise on action to debug this as I can't find any overrides in the checkout or shipping method areas. I can't think of a way to make custom fields appear in a Shipping Method so that's why I have a feeling it's a customisation.  Thanks for your help.")*

Thanks very much for your support Nicolas

The only view customisation I could find was on product show_block_tags so I have removed that anyway and added a new Shipping Method with the custom fields associated with it.

That seems to work well now.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODE2NS1jaGVja291dC1zZWxlY3RpbmctZGlmZmVyZW50LXBheW1lbnQtbWV0aG9kLWxvc2VzLXNoaXAtbWV0aG9kLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.093 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
