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

#   how can I find a value of shipping id

##

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

Less More

- Posts: 98
- Thank you received: 1
-
-

12 years 1 month ago [\#173785](#173785) by [aspkiddy](/forum/user/7749-aspkiddy "View aspkiddy's Profile")  *[how can I find a value of shipping id](/forum/27-checkout/871991-how-can-i-find-a-value-of-shipping-id#173785 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3. -- PHP version -- : 5.5.3 -- Error-message(debug-mod must be tuned on) -- : array(1) { &#91;0&#93;=&gt; string(3) &quot;6@0&quot; } Notice: Array to string conversion in C:&#92;inetpub&#92;wwwroot&#92;1270012&#92;templates&#92;newtemplates&#92;html&#92;com&#95;hikashop&#92;checkout&#92;cart.php on line 30 id shipping :  Hi, In check out, I have only one shipping method which is selected. I need find a value of shipping id ($shipping&#95;id) So I try this in Views : checkout : cart.php  but I cant find it... Can you help me thanks")* was created by *[aspkiddy](/forum/user/7749-aspkiddy "View aspkiddy's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3.
-- PHP version -- : 5.5.3
-- Error-message(debug-mod must be tuned on) -- : array(1) { [0]=&gt; string(3) "6@0" } Notice: Array to string conversion in
C:\inetpub\wwwroot\1270012\templates\newtemplates\html\com_hikashop\checkout\cart.php on line 30 id shipping :

Hi,
In check out, I have only one shipping method which is selected.
I need find a value of shipping id ($shipping_id)
So I try this in Views : checkout : cart.php Code:

&lt;div id="hikashop_checkout_cart" class="hikashop_checkout_cart"&gt; &lt;?php // my new code foreach($this-&gt;rows as $i =&gt; $row) { $app = JFactory::getApplication(); $shipping_id = $app-&gt;getUserState( HIKASHOP_COMPONENT.'.shipping_id'); echo '&lt;p&gt;My shipping id : ' . var_dump($shipping_id)." - or ".$shipping_id = $app-&gt;getUserState( HIKASHOP_COMPONENT.'.shipping_id')."&lt;/p&gt;"; echo '&lt;p&gt;shipping methode '. $shipping_method=$app-&gt;getUserState( HIKASHOP_COMPONENT.'.shipping_method' )."&lt;/p&gt;"; } // my new code ?&gt; &lt;?php if(empty($this-&gt;rows)) {rows)) {

but I cant find it...
Can you help me
thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MTk5MS1ob3ctY2FuLWktZmluZC1hLXZhbHVlLW9mLXNoaXBwaW5nLWlkP3RtcGw9bWFya2Rvd24=) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 1 month ago -  12 years 1 month ago [\#173787](#173787) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how can I find a value of shipping id](/forum/27-checkout/871991-how-can-i-find-a-value-of-shipping-id#173787 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3. -- PHP version -- : 5.5.3 -- Error-message(debug-mod must be tuned on) -- : array(1) { &#91;0&#93;=&gt; string(3) &quot;6@0&quot; } Notice: Array to string conversion in C:&#92;inetpub&#92;wwwroot&#92;1270012&#92;templates&#92;newtemplates&#92;html&#92;com&#95;hikashop&#92;checkout&#92;cart.php on line 30 id shipping :  Hi, In check out, I have only one shipping method which is selected. I need find a value of shipping id ($shipping&#95;id) So I try this in Views : checkout : cart.php  but I cant find it... Can you help me thanks")*

Hi,

I am sorry but I don't understand your question or the code you wrote.
As the debug message is telling you, the variable $shipping_id contains an array with your data ; you got your shipping ids so I don't see any kind of problem (except that you want to display an array as a string so you got the PHP notice)

Regards,

---

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

Last edit: 12 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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