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

#   problem with save button using 'dropdown list'

##

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

Less More

- Posts: 100
- Thank you received: 1
-
-

11 years 6 months ago -  11 years 6 months ago [\#201887](#201887) by [reders](/forum/user/8228-reders "View reders's Profile")  *[problem with save button using 'dropdown list'](/forum/27-checkout/876992-problem-with-save-button-using-dropdown-list#201887 "-- url of the page with the problem -- :   www.totalpipes.co.uk/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : All browsers  Hi,  We built an ecommerce website using Hikashop, and are using the 'Dropdown List' for the address selector.  There is a serous usability issue that we need to fix.  In checkout, when someone unchecks 'Use the same address as for billing', the address form appears - which is good.  The problem is that the 'save' button appears at the top of the form!  So we've done some user testing and, when a user fills in their details, they naturally click 'Next' instead of the 'save' button.  I need to move the save button underneath the form, but this appears to be impossible because the form and save button seem to be loaded dynamically.  How do I go about moving the save button underneath the form?  Many thanks")* was created by *[reders](/forum/user/8228-reders "View reders's Profile")*

-- url of the page with the problem -- : [ www.totalpipes.co.uk/](http://www.totalpipes.co.uk/)
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.40
-- Browser(s) name and version -- : All browsers

Hi,

We built an ecommerce website using Hikashop, and are using the 'Dropdown List' for the address selector.

There is a serous usability issue that we need to fix.

In checkout, when someone unchecks 'Use the same address as for billing', the address form appears - which is good.

The problem is that the 'save' button appears at the top of the form!

So we've done some user testing and, when a user fills in their details, they naturally click 'Next' instead of the 'save' button.

I need to move the save button underneath the form, but this appears to be impossible because the form and save button seem to be loaded dynamically.

How do I go about moving the save button underneath the form?

Many thanks

- [ ![Screen&#95;Shot&#95;2015-05-15&#95;at&#95;17&#95;25&#95;42.png](/forum/attachment/24407) ](/forum/attachment/24407 "...t&#95;17&#95;25&#95;42.png") [ ](/forum/attachment/24407?download=1 "...t&#95;17&#95;25&#95;42.png")

Last edit: 11 years 6 months ago by [reders](/forum/user/8228-reders "View reders's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 6 months ago [\#201905](#201905) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[problem with save button using 'dropdown list'](/forum/27-checkout/876992-problem-with-save-button-using-dropdown-list#201905 "-- url of the page with the problem -- :   www.totalpipes.co.uk/  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4.40 -- Browser(s) name and version -- : All browsers  Hi,  We built an ecommerce website using Hikashop, and are using the 'Dropdown List' for the address selector.  There is a serous usability issue that we need to fix.  In checkout, when someone unchecks 'Use the same address as for billing', the address form appears - which is good.  The problem is that the 'save' button appears at the top of the form!  So we've done some user testing and, when a user fills in their details, they naturally click 'Next' instead of the 'save' button.  I need to move the save button underneath the form, but this appears to be impossible because the form and save button seem to be loaded dynamically.  How do I go about moving the save button underneath the form?  Many thanks")*

Hi,

You can override the view "address &#124; show" and move that part of Code:

} else { ?&gt; &lt;div class="hika_edit"&gt; &lt;a href="&lt;?php echo hikashop_completeLink($save_url, true);?&gt;" onclick="return window.hikashop.form(this,'&lt;?php echo $this-&gt;fieldset_id; ?&gt;');"&gt;&lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;ok.png" alt=""/&gt;&lt;span&gt;&lt;?php echo JText::_('HIKA_SAVE'); ?&gt;&lt;/span&gt;&lt;/a&gt; &lt;a href="&lt;?php echo hikashop_completeLink($show_url, true);?&gt;" onclick="return window.hikashop.get(this,'&lt;?php echo $this-&gt;fieldset_id; ?&gt;');"&gt;&lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;cancel.png" alt=""/&gt;&lt;span&gt;&lt;?php echo JText::_('HIKA_CANCEL'); ?&gt;&lt;/span&gt;&lt;/a&gt; &lt;/div&gt; &lt;?php }

You can replace it by Code:

}

And then add the content Code:

if(!isset($this-&gt;edit) &#124;&#124; $this-&gt;edit !== true ) { ?&gt; &lt;div class="hika_edit"&gt; &lt;a href="&lt;?php echo hikashop_completeLink($save_url, true);?&gt;" onclick="return window.hikashop.form(this,'&lt;?php echo $this-&gt;fieldset_id; ?&gt;');"&gt;&lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;ok.png" alt=""/&gt;&lt;span&gt;&lt;?php echo JText::_('HIKA_SAVE'); ?&gt;&lt;/span&gt;&lt;/a&gt; &lt;a href="&lt;?php echo hikashop_completeLink($show_url, true);?&gt;" onclick="return window.hikashop.get(this,'&lt;?php echo $this-&gt;fieldset_id; ?&gt;');"&gt;&lt;img src="&lt;?php echo HIKASHOP_IMAGES; ?&gt;cancel.png" alt=""/&gt;&lt;span&gt;&lt;?php echo JText::_('HIKA_CANCEL'); ?&gt;&lt;/span&gt;&lt;/a&gt; &lt;/div&gt; &lt;?php }

below in the view, like just before that code Code:

if(isset($this-&gt;edit) &amp;&amp; $this-&gt;edit === true) { echo '&lt;input type="hidden" name="data['.$name.'][address_id]" value="'.$this-&gt;address_id.'"/&gt;'; echo JHTML::_( 'form.token' ); }

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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