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

#   Set user address default to 'Yes' in an order

##

- **[nibe](/forum/user/5252-nibe "View nibe's Profile")**
- [![nibe's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5252.jpg)](/forum/user/5252-nibe "View nibe's Profile") Topic Author
- [ Offline](/forum/user/5252-nibe)

Less More

- Posts: 40
- Thank you received: 0
-
- [](http://www.nibe.ca)
-

13 years 2 months ago [\#122943](#122943) by [nibe](/forum/user/5252-nibe "View nibe's Profile")  *[Set user address default to 'Yes' in an order](/forum/35-orders-management/861887-set-user-address-default-to-yes-in-an-order#122943 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  Hi. In the backend administration of Hikashop, when an order is placed and we select the client, I would like to set 'Set User Address' to 'yes' by default instead of 'no'. How can this be changed ?")* was created by *[nibe](/forum/user/5252-nibe "View nibe's Profile")*

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14

Hi. In the backend administration of Hikashop, when an order is placed and we select the client, I would like to set 'Set User Address' to 'yes' by default instead of 'no'. How can this be changed ?

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

13 years 2 months ago -  13 years 2 months ago [\#122957](#122957) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Set user address default to 'Yes' in an order](/forum/35-orders-management/861887-set-user-address-default-to-yes-in-an-order#122957 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  Hi. In the backend administration of Hikashop, when an order is placed and we select the client, I would like to set 'Set User Address' to 'yes' by default instead of 'no'. How can this be changed ?")*

Hi,

You can edit the view "backend &#124; your_backend_template &#124; order &#124; customer_set" and replace the line Code:

&lt;td&gt;&lt;?php echo JHTML::_('hikaselect.booleanlist', 'set_user_address', '', 0); ?&gt;&lt;/td&gt;

By Code:

&lt;td&gt;&lt;?php echo JHTML::_('hikaselect.booleanlist', 'set_user_address', '', 1); ?&gt;&lt;/td&gt;

So the "yes" will be set by default.

PS: You can do the exact same thing in HikaMarket for the view "frontend &#124; your_frontend_template &#124; ordermaket &#124; customer_set".

Regards;

---

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

Last edit: 13 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

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