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

#   How to echo the mini address in checkOut Status Section!

##

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 7 months ago [\#267526](#267526) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  *[How to echo the mini address in checkOut Status Section!](/forum/27-checkout/889832-how-to-echo-the-mini-address-in-checkout-status-section#267526 "-- HikaShop version -- : 3.0.1  hi, i need some string to echo the cart shipping address in the last step of checkout section right before the user goes to bank gateway, may main goal is to show the user something like this:  This Order will be delivered to on with phone number : This Order will be delivered with with to you.  i think the best way is to somehow customize the Show&#95;Block&#95;Status file. i know where and how to make changes i only need the strings to echo the :  &#42; shipping name  &#42; Shipping mini address  &#42; shipping phone  &#42; Shipping method  &#42; shipping cost  i'm really running out of time, and i know i have to hire some one and it takes time. but i'll appreciate it it any one can give me the string or an example or any help on this case. i can only make it up to him $  Thanks !")* was created by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")*

-- HikaShop version -- : 3.0.1

hi,
i need some string to echo the cart shipping address in the last step of checkout section right before the user goes to bank gateway,
may main goal is to show the user something like this:

This Order will be delivered to {shipping name} on {Shipping mini address} with phone number : {shipping phone}
This Order will be delivered with {Shipping method} with {shipping cost} to you.

i think the best way is to somehow customize the Show_Block_Status file.
i know where and how to make changes i only need the strings to echo the :

1. shipping name
2. Shipping mini address
3. shipping phone
4. Shipping method
5. shipping cost

i'm really running out of time, and i know i have to hire some one and it takes time.
but i'll appreciate it it any one can give me the string or an example or any help on this case.
i can only make it up to him $

Thanks !

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 7 months ago [\#267529](#267529) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[How to echo the mini address in checkOut Status Section!](/forum/27-checkout/889832-how-to-echo-the-mini-address-in-checkout-status-section#267529 "-- HikaShop version -- : 3.0.1  hi, i need some string to echo the cart shipping address in the last step of checkout section right before the user goes to bank gateway, may main goal is to show the user something like this:  This Order will be delivered to on with phone number : This Order will be delivered with with to you.  i think the best way is to somehow customize the Show&#95;Block&#95;Status file. i know where and how to make changes i only need the strings to echo the :  &#42; shipping name  &#42; Shipping mini address  &#42; shipping phone  &#42; Shipping method  &#42; shipping cost  i'm really running out of time, and i know i have to hire some one and it takes time. but i'll appreciate it it any one can give me the string or an example or any help on this case. i can only make it up to him $  Thanks !")*

Hi,

You can do var_dump on checkout helper to see all string you are looking for.
Code:

var_dump($cart = $this-&gt;checkoutHelper-&gt;getCart());

1 and 4 is already loaded in default show_block_status view. Just check the code and you will see this code below:
Code:

if(!empty($cart-&gt;shipping)) { $names = array(); foreach($cart-&gt;shipping as $shipping) { $names[] = $shipping-&gt;shipping_name; } $array[] = JText::sprintf('HIKASHOP_SHIPPING_METHOD_CHOSEN', '&lt;span class="label label-info"&gt;'.implode('&lt;/span&gt; &lt;span class="label label-info"&gt;', $names).'&lt;/span&gt;'); }

2. Not sure how to get full address but as example to get address street, city and post code:
Code:

$address = $cart-&gt;shipping_address-&gt;address_street.'&lt;br&gt;'.$cart-&gt;shipping_address-&gt;address_city.'&lt;br&gt;'.$cart-&gt;shipping_address-&gt;address_post_code; echo $address;

3. To get phone:
Code:

$phone = $cart-&gt;shipping_address-&gt;address_telephone; echo $phone;

5. To get cost (this should be added after code for 1 and 4):
Code:

echo $shipping-&gt;shipping_price_with_tax;

I just did quick view in our file and copy paste code here as we done some similar modifications to that file.

Hope that helps.

You should wait for hika devs answer. They will give you more help then me ![:)](/media/kunena/emoticons/3.png ":)")

Thanks

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 7 months ago [\#267547](#267547) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[How to echo the mini address in checkOut Status Section!](/forum/27-checkout/889832-how-to-echo-the-mini-address-in-checkout-status-section#267547 "-- HikaShop version -- : 3.0.1  hi, i need some string to echo the cart shipping address in the last step of checkout section right before the user goes to bank gateway, may main goal is to show the user something like this:  This Order will be delivered to on with phone number : This Order will be delivered with with to you.  i think the best way is to somehow customize the Show&#95;Block&#95;Status file. i know where and how to make changes i only need the strings to echo the :  &#42; shipping name  &#42; Shipping mini address  &#42; shipping phone  &#42; Shipping method  &#42; shipping cost  i'm really running out of time, and i know i have to hire some one and it takes time. but i'll appreciate it it any one can give me the string or an example or any help on this case. i can only make it up to him $  Thanks !")*

Hi Keyratn,
the string all works like a charm, Thanks for your fast help bro.

can i ask u some more ?
1)
echo $shipping-&gt;shipping_price_with_tax;
shows the price like 20.0000 $ i wan it to show 20$ instead.

2) i need this three strings too : [ www.hikashop.com/forum/checkout/889825-d...unt-in-the-cart.html](https://www.hikashop.com/forum/checkout/889825-display-total-amount-of-discount-in-the-cart.html)

i really appreciate your help already bro ![:-)](/media/kunena/emoticons/3.png ":-)") ![&lt;3](/heart.gif "&lt;3")

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

9 years 7 months ago [\#267613](#267613) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to echo the mini address in checkOut Status Section!](/forum/27-checkout/889832-how-to-echo-the-mini-address-in-checkout-status-section#267613 "-- HikaShop version -- : 3.0.1  hi, i need some string to echo the cart shipping address in the last step of checkout section right before the user goes to bank gateway, may main goal is to show the user something like this:  This Order will be delivered to on with phone number : This Order will be delivered with with to you.  i think the best way is to somehow customize the Show&#95;Block&#95;Status file. i know where and how to make changes i only need the strings to echo the :  &#42; shipping name  &#42; Shipping mini address  &#42; shipping phone  &#42; Shipping method  &#42; shipping cost  i'm really running out of time, and i know i have to hire some one and it takes time. but i'll appreciate it it any one can give me the string or an example or any help on this case. i can only make it up to him $  Thanks !")*

Hi,

1. You can use :
echo floatval($shipping-&gt;shipping_price_with_tax);

2. Please understand that we're here to provide help to users, and we can give hints to developers regarding HikaShop-specific functions but we're not here to teach you programing nor to do your programing for you.

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

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

Less More

- Posts: 129
- Thank you received: 0
-
-

9 years 7 months ago [\#267874](#267874) by [nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")  Replied by *[nic7071](/forum/user/42433-nic7071 "View nic7071's Profile")* on topic *[How to echo the mini address in checkOut Status Section!](/forum/27-checkout/889832-how-to-echo-the-mini-address-in-checkout-status-section#267874 "-- HikaShop version -- : 3.0.1  hi, i need some string to echo the cart shipping address in the last step of checkout section right before the user goes to bank gateway, may main goal is to show the user something like this:  This Order will be delivered to on with phone number : This Order will be delivered with with to you.  i think the best way is to somehow customize the Show&#95;Block&#95;Status file. i know where and how to make changes i only need the strings to echo the :  &#42; shipping name  &#42; Shipping mini address  &#42; shipping phone  &#42; Shipping method  &#42; shipping cost  i'm really running out of time, and i know i have to hire some one and it takes time. but i'll appreciate it it any one can give me the string or an example or any help on this case. i can only make it up to him $  Thanks !")*

1. Thanks!
2. okay, sorry for my insists !

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

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