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

#   Skip checkout Step

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 2 months ago [\#323305](#323305) by [wavemaster](/forum/user/57153-wavemaster "View wavemaster's Profile")  *[Skip checkout Step](/forum/27-checkout/900669-skip-checkout-step#323305 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 5.6.4 -- Browser(s) name and version -- : Chrome 84.0.4147.125  I've setup a custom order field on a specific product category. How do I hide or skip the Custom Fields step when product from that category is not selected.")* was created by *[wavemaster](/forum/user/57153-wavemaster "View wavemaster's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20
-- PHP version -- : 5.6.4
-- Browser(s) name and version -- : Chrome 84.0.4147.125

I've setup a custom order field on a specific product category. How do I hide or skip the Custom Fields step when product from that category is not selected.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDY2OS1za2lwLWNoZWNrb3V0LXN0ZXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

6 years 2 months ago [\#323324](#323324) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Skip checkout Step](/forum/27-checkout/900669-skip-checkout-step#323324 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 5.6.4 -- Browser(s) name and version -- : Chrome 84.0.4147.125  I've setup a custom order field on a specific product category. How do I hide or skip the Custom Fields step when product from that category is not selected.")*

Hello,

You'll just have to restrict the displaying of your order custom fields to a category which will have every categories different than the one you don't want your order custom fields to show.

Kind regards,
Mohamed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDY2OS1za2lwLWNoZWNrb3V0LXN0ZXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 2 months ago [\#323347](#323347) by [wavemaster](/forum/user/57153-wavemaster "View wavemaster's Profile")  Replied by *[wavemaster](/forum/user/57153-wavemaster "View wavemaster's Profile")* on topic *[Skip checkout Step](/forum/27-checkout/900669-skip-checkout-step#323347 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 5.6.4 -- Browser(s) name and version -- : Chrome 84.0.4147.125  I've setup a custom order field on a specific product category. How do I hide or skip the Custom Fields step when product from that category is not selected.")*

Hi,

Thanks for the quick response, I think I missed this on my question. Would it be possible to hide the whole "Step" instead of hiding only the field?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDY2OS1za2lwLWNoZWNrb3V0LXN0ZXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

6 years 2 months ago [\#323348](#323348) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Skip checkout Step](/forum/27-checkout/900669-skip-checkout-step#323348 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 5.6.4 -- Browser(s) name and version -- : Chrome 84.0.4147.125  I've setup a custom order field on a specific product category. How do I hide or skip the Custom Fields step when product from that category is not selected.")*

Hi,

There is no option for that. However, I think you can have the system auto skip the step with a small code modification.
Add the code: Code:

public function haveEmptyContent(&amp;$controller, &amp;$params) { $checkoutHelper = hikashopCheckoutHelper::get(); $cart = $checkoutHelper-&gt;getCart(); if(empty($cart-&gt;order_fields)) return true; return false; }

in the file administrator/components/com_hikashop/helpers/checkout/fields.php before the line: Code:

public function display(&amp;$view, &amp;$params) {

and that should do the trick.
Let us know how it goes so that we can include the modification in the next release.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDY2OS1za2lwLWNoZWNrb3V0LXN0ZXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 2 months ago [\#323378](#323378) by [wavemaster](/forum/user/57153-wavemaster "View wavemaster's Profile")  Replied by *[wavemaster](/forum/user/57153-wavemaster "View wavemaster's Profile")* on topic *[Skip checkout Step](/forum/27-checkout/900669-skip-checkout-step#323378 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 5.6.4 -- Browser(s) name and version -- : Chrome 84.0.4147.125  I've setup a custom order field on a specific product category. How do I hide or skip the Custom Fields step when product from that category is not selected.")*

Worked like a charm! Thank you very much!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDY2OS1za2lwLWNoZWNrb3V0LXN0ZXA/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.066 seconds

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