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

#   Hide complete button when edit address

##

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

1 year 5 months ago [\#367574](#367574) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Hide complete button when edit address](/forum/27-checkout/909505-hide-complete-button-when-edit-address#367574 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 5.3.1 -- PHP version -- : 8.3  Hi!  I would like to remove the buttons &quot;Continue shopping&quot; and &quot;Complete order&quot; when i am editing the address cause then you have 4 buttons under and it's confusing. I want to hide the buttons &quot;Continue shopping&quot; and &quot;Complete order&quot; while editing the address and only when click cancel or save to diplay them again. Is this possible?  Thank you!")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 5.3.1
-- PHP version -- : 8.3

Hi!

I would like to remove the buttons "Continue shopping" and "Complete order" when i am editing the address cause then you have 4 buttons under and it's confusing.
I want to hide the buttons "Continue shopping" and "Complete order" while editing the address and only when click cancel or save to diplay them again. Is this possible?

Thank you!

- [ ![step3.png](/forum/attachment/60629) ](/forum/attachment/60629 "step3.png") [ ](/forum/attachment/60629?download=1 "step3.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTUwNS1oaWRlLWNvbXBsZXRlLWJ1dHRvbi13aGVuLWVkaXQtYWRkcmVzcz90bXBsPW1hcmtkb3du) 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: 86581
- Thank you received: 14322
-
-

1 year 5 months ago [\#367576](#367576) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hide complete button when edit address](/forum/27-checkout/909505-hide-complete-button-when-edit-address#367576 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 5.3.1 -- PHP version -- : 8.3  Hi!  I would like to remove the buttons &quot;Continue shopping&quot; and &quot;Complete order&quot; when i am editing the address cause then you have 4 buttons under and it's confusing. I want to hide the buttons &quot;Continue shopping&quot; and &quot;Complete order&quot; while editing the address and only when click cancel or save to diplay them again. Is this possible?  Thank you!")*

Well, yes and no.

The main buttons of the current step can't be changed based on what is displayed on the current step.
So you can't easily hide them when an address is being edited.
Now, it's not impossible to do it:
HikaShop has a bunch of events in javascript:
[ www.hikashop.com/support/documentation/6...ocumentation.html#js](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#js)
So, with these, and normal javascript events ( like DOMContentLoaded : [ developer.mozilla.org/en-US/docs/Web/API...MContentLoaded\_event](https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event) ), you could write javascript code to handle this on the checkout. But this will probably require a developer to spend at least several hours to get right. So, it's not easy.

Also, I would recommend another approach. Instead of trying to hide the buttons when the address is edited, I would recommend adapting your checkout workflow. The "continue shopping" button, for example, is only displayed on the first step of the checkout.
So, I would recommend having the first step of the checkout with the cart and coupon views, and then you could have the login and address views on a second step. That way, you wouldn't have the "continue shopping" button at all on the login / address step.
And if you have a checkout in several steps, then the login / address step usually won't be the last step. So you won't have a "finish" button on the bottom right corner, but a "next" button. And the "next" button could be used by the user the same way as the "ok" button.

You can read more about the the checkout workflow here:
[ www.hikashop.com/support/documentation/4...eckout-workflow.html](https://www.hikashop.com/support/documentation/409-hikashop-checkout-workflow.html)

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTUwNS1oaWRlLWNvbXBsZXRlLWJ1dHRvbi13aGVuLWVkaXQtYWRkcmVzcz90bXBsPW1hcmtkb3du) 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.055 seconds

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