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

#   can&#96;t get it working

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 11 months ago [\#31175](#31175) by [wernerdebrauwer](/forum/user/4782-wernerdebrauwer "View wernerdebrauwer's Profile")  *[can&#96;t get it working](/forum/2-general-talk-about-hikashop/31175-can-t-get-it-working#31175 "I keep getting this message when I go to my shopping cart Notice: Undefined variable: same&#95;address in C:&#92;wamp&#92;www&#92;webwinkel&#92;components&#92;com&#95;hikashop&#92;views&#92;checkout&#92;tmpl&#92;address&#95;view.php on line 81  what am I doing wrong ??")* was created by *[wernerdebrauwer](/forum/user/4782-wernerdebrauwer "View wernerdebrauwer's Profile")*

I keep getting this message when I go to my shopping cart
Notice: Undefined variable: same_address in C:\wamp\www\webwinkel\components\com_hikashop\views\checkout\tmpl\address_view.php on line 81

what am I doing wrong ??

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

14 years 11 months ago [\#31201](#31201) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: can&#96;t get it working](/forum/2-general-talk-about-hikashop/31175-can-t-get-it-working#31201 "I keep getting this message when I go to my shopping cart Notice: Undefined variable: same&#95;address in C:&#92;wamp&#92;www&#92;webwinkel&#92;components&#92;com&#95;hikashop&#92;views&#92;checkout&#92;tmpl&#92;address&#95;view.php on line 81  what am I doing wrong ??")*

That's because you apparently have a user without any address.

Just change the line:
&lt;?php $html = $this-&gt;cart-&gt;displayButton(JText::_('HIKA_NEW'),'new',$this-&gt;params,'','var link = document.getElementById(\'hikashop_checkout_'. $this-&gt;type.'_address_new_link\'); if(link) return hikashopEditAddress(link,'.(int)$same_address.',true); return false;');

to:
&lt;?php $html = $this-&gt;cart-&gt;displayButton(JText::_('HIKA_NEW'),'new',$this-&gt;params,'','var link = document.getElementById(\'hikashop_checkout_'. $this-&gt;type.'_address_new_link\'); if(link) return hikashopEditAddress(link,'.(int)@$same_address.',true); return false;');

in that file via FTP and the message won't be displayed anymore.

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 11 months ago [\#31218](#31218) by [wernerdebrauwer](/forum/user/4782-wernerdebrauwer "View wernerdebrauwer's Profile")  Replied by *[wernerdebrauwer](/forum/user/4782-wernerdebrauwer "View wernerdebrauwer's Profile")* on topic *[Re: can&#96;t get it working](/forum/2-general-talk-about-hikashop/31175-can-t-get-it-working#31218 "I keep getting this message when I go to my shopping cart Notice: Undefined variable: same&#95;address in C:&#92;wamp&#92;www&#92;webwinkel&#92;components&#92;com&#95;hikashop&#92;views&#92;checkout&#92;tmpl&#92;address&#95;view.php on line 81  what am I doing wrong ??")*

Nicolas, thank you for your answer.

Indeed that was the problem, no address, because I made a new user through the joomla controle panel.
It works now ![:)](/media/kunena/emoticons/3.png ":)")

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

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