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

#   What is shipping\_price in Shipping plugins

##

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

Less More

- Posts: 64
- Thank you received: 0
-
-

13 years 3 weeks ago [\#129134](#129134) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  *[What is shipping\_price in Shipping plugins](/forum/31-development/863040-what-is-shipping-price-in-shipping-plugins#129134 "I am creating a custom shipping plugin.  For one of the order, local&#95;usable&#95;rates details are this-  What is shipping&#95;price &amp; shipping&#95;price&#95;base?  I am calculating shipping&#95;price but instead of getting x I am getting (x + .15) where x is- (shipping&#95;price&#95;orig + 20(other&#95;price) +(price&#95;per&#95;quantity&#42;product&#95;quantity))  Thanks,")* was created by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")*

I am creating a custom shipping plugin.

For one of the order, local_usable_rates details are this-
Code:

Array ( [5] =&gt; stdClass Object ( [shipping_id] =&gt; 5 [shipping_type] =&gt; custom_manual [shipping_zone_namekey] =&gt; [shipping_tax_id] =&gt; 0 [shipping_price] =&gt; 6.15 [shipping_currency_id] =&gt; 5 [shipping_name] =&gt; Custom Plugin [shipping_description] =&gt; Test [shipping_published] =&gt; 1 [shipping_ordering] =&gt; 1 [shipping_params] =&gt; stdClass Object ( [shipping_percentage] =&gt; 0 [shipping_per_product] =&gt; 1 [shipping_price_per_product] =&gt; 1 [shipping_override_address] =&gt; 0 [shipping_override_address_text] =&gt; [shiptoschool] =&gt; 1 [other_name] =&gt; Other [other_price] =&gt; 20 [shipping_warehouse_filter] =&gt; [shipping_min_price] =&gt; 0 [shipping_max_price] =&gt; 0 [shipping_virtual_included] =&gt; 1 [shipping_price_use_tax] =&gt; 1 [shipping_min_quantity] =&gt; [shipping_max_quantity] =&gt; [shipping_min_weight] =&gt; [shipping_weight_unit] =&gt; kg [shipping_max_weight] =&gt; [shipping_min_volume] =&gt; [shipping_size_unit] =&gt; m [shipping_max_volume] =&gt; [shipping_zip_prefix] =&gt; [shipping_min_zip] =&gt; [shipping_max_zip] =&gt; [shipping_zip_suffix] =&gt; [shipping_min_price_orig] =&gt; [shipping_max_price_orig] =&gt; ) [shipping_images] =&gt; [shipping_access] =&gt; all [shipping_price_orig] =&gt; 5.00000 [shipping_currency_id_orig] =&gt; 2 [shippingkey] =&gt; 0 [shipping_price_base] =&gt; 5.1539484398998 ) )

What is shipping_price &amp; shipping_price_base?

I am calculating shipping_price but instead of getting **x** I am getting **(x + .15)**
where x is- (shipping_price_orig + 20(other_price) +(price_per_quantity*product_quantity))

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MzA0MC13aGF0LWlzLXNoaXBwaW5nLXByaWNlLWluLXNoaXBwaW5nLXBsdWdpbnM/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 3 weeks ago [\#129154](#129154) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What is shipping\_price in Shipping plugins](/forum/31-development/863040-what-is-shipping-price-in-shipping-plugins#129154 "I am creating a custom shipping plugin.  For one of the order, local&#95;usable&#95;rates details are this-  What is shipping&#95;price &amp; shipping&#95;price&#95;base?  I am calculating shipping&#95;price but instead of getting x I am getting (x + .15) where x is- (shipping&#95;price&#95;orig + 20(other&#95;price) +(price&#95;per&#95;quantity&#42;product&#95;quantity))  Thanks,")*

You forgot the conversion of the shipping_price_orig from the currency with the id 2 to the currency with the id 5

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

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

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