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

#   New Address in checkout

##

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

Less More

- Posts: 72
- Thank you received: 0
-
-

10 years 8 months ago [\#232434](#232434) by [mymall](/forum/user/36279-mymall "View mymall's Profile")  *[New Address in checkout](/forum/27-checkout/882870-new-address-in-checkout#232434 "-- HikaShop version -- : 2.5.1 -- Joomla version -- : 3.4.6  Dear Sir during checkout, if the customer do not have address, a message will be displayed asking to &quot;Please create or select an address&quot;, I want change this to display the new address form instead, I know where to edit but could not figure what to code to put in checkout/address&#95;view.php. I see the below IF statement which I want to replace with the display address form and pass the required parameters to it:  am using popup as Address selector, however, I changed the popup to be full page instead I know you have the above behavior if I select List as Address selector, but am forced to keep the popup as Address selector as I need the address to be in full page.")* was created by *[mymall](/forum/user/36279-mymall "View mymall's Profile")*

-- HikaShop version -- : 2.5.1
-- Joomla version -- : 3.4.6

Dear Sir
during checkout, if the customer do not have address, a message will be displayed asking to "Please create or select an address", I want change this to display the new address form instead, I know where to edit but could not figure what to code to put
in checkout/address_view.php.
I see the below IF statement which I want to replace with the display address form and pass the required parameters to it: Code:

if(!JRequest::getVar( HIKASHOP_COMPONENT.'.address_error')){ JRequest::setVar( HIKASHOP_COMPONENT.'.address_error',1); $this-&gt;app-&gt;enqueueMessage( JText::_('CREATE_OR_SELECT_ADDRESS'), 'error' ); }

am using popup as Address selector, however, I changed the popup to be full page instead
I know you have the above behavior if I select List as Address selector, but am forced to keep the popup as Address selector as I need the address to be in full page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg3MC1uZXctYWRkcmVzcy1pbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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
-
-
-

10 years 8 months ago [\#232459](#232459) 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 *[New Address in checkout](/forum/27-checkout/882870-new-address-in-checkout#232459 "-- HikaShop version -- : 2.5.1 -- Joomla version -- : 3.4.6  Dear Sir during checkout, if the customer do not have address, a message will be displayed asking to &quot;Please create or select an address&quot;, I want change this to display the new address form instead, I know where to edit but could not figure what to code to put in checkout/address&#95;view.php. I see the below IF statement which I want to replace with the display address form and pass the required parameters to it:  am using popup as Address selector, however, I changed the popup to be full page instead I know you have the above behavior if I select List as Address selector, but am forced to keep the popup as Address selector as I need the address to be in full page.")*

Hello,
I didn't totally understood what you wanted to do, can you give us more information about it through some screenshots for example ?

> I know you have the above behavior if I select List as Address selector, but am forced to keep the popup as Address selector as I need the address to be in full page.

You want to replace that message by the address form, but you also want to keep the address popup mode, so how do you want it to work ?

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

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

Less More

- Posts: 72
- Thank you received: 0
-
-

10 years 8 months ago [\#232563](#232563) by [mymall](/forum/user/36279-mymall "View mymall's Profile")  Replied by *[mymall](/forum/user/36279-mymall "View mymall's Profile")* on topic *[New Address in checkout](/forum/27-checkout/882870-new-address-in-checkout#232563 "-- HikaShop version -- : 2.5.1 -- Joomla version -- : 3.4.6  Dear Sir during checkout, if the customer do not have address, a message will be displayed asking to &quot;Please create or select an address&quot;, I want change this to display the new address form instead, I know where to edit but could not figure what to code to put in checkout/address&#95;view.php. I see the below IF statement which I want to replace with the display address form and pass the required parameters to it:  am using popup as Address selector, however, I changed the popup to be full page instead I know you have the above behavior if I select List as Address selector, but am forced to keep the popup as Address selector as I need the address to be in full page.")*

Dear Sir
thanks for your fast response
I just need to replace that message by the address form and to be in the same page when there is no address
attached is 2 screens shot , the before.png is the current situation, and after,png is what I want to achieve

- [ ![after.png](/forum/attachment/29972) ](/forum/attachment/29972 "after.png") [ ](/forum/attachment/29972?download=1 "after.png")
- [ ![before.png](/forum/attachment/29973) ](/forum/attachment/29973 "before.png") [ ](/forum/attachment/29973?download=1 "before.png")

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

10 years 8 months ago [\#232590](#232590) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[New Address in checkout](/forum/27-checkout/882870-new-address-in-checkout#232590 "-- HikaShop version -- : 2.5.1 -- Joomla version -- : 3.4.6  Dear Sir during checkout, if the customer do not have address, a message will be displayed asking to &quot;Please create or select an address&quot;, I want change this to display the new address form instead, I know where to edit but could not figure what to code to put in checkout/address&#95;view.php. I see the below IF statement which I want to replace with the display address form and pass the required parameters to it:  am using popup as Address selector, however, I changed the popup to be full page instead I know you have the above behavior if I select List as Address selector, but am forced to keep the popup as Address selector as I need the address to be in full page.")*

Hi,

You could add an iframe with the URL of the popup as src of the iframe.
But it won't work great...
It would be better to use another address selector. The popup selector isn't meant to work like that.

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