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

#   Hikamarket orders not created correctly

##

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

Less More

- Posts: 82
- Thank you received: 5
-
-

7 years 3 months ago -  7 years 3 months ago [\#308399](#308399) by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")  *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308399 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")* was created by *[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")*

-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.8
-- PHP version -- : 7
-- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4

Hello,
We use hikamarket and hikashop.
I updated to Version 4 from version 3.
I have customised code for shipping handling.
The shipping creates a new order for a specific vendor.
In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0.
Can you please advise ? Looks like something changed in Hikashop/Market Version 4.
Below the used code to create the order in hikashop/market.

Used code: Code:

//Shipping modification if(empty($order-&gt;order_shipping_id) &#124;&#124; $order-&gt;order_shipping_id == 5 ) return; elseif($order-&gt;order_shipping_id == 3 &#124;&#124; $order-&gt;order_shipping_id == 6 &#124;&#124; $order-&gt;order_shipping_id == 7 &#124;&#124; $order-&gt;order_shipping_id == 8) $vendor_id = 2 ; elseif($order-&gt;order_shipping_id == 1 &#124;&#124; $order-&gt;order_shipping_id == 4) $vendor_id = 5 ; else return; $o = new stdClass(); $o-&gt;order_type = 'subsale'; $o-&gt;order_parent_id = $order-&gt;order_id; $o-&gt;order_vendor_id = $vendor_id; $o-&gt;order_partner_id = 0; $o-&gt;order_partner_price = 0.0; $o-&gt;order_payment_price = 0.0; $o-&gt;order_shipping_price = 0.0; $o-&gt;order_shipping_tax = 0.0; $o-&gt;order_discount_price = 0.0; $o-&gt;order_discount_tax = 0.0; $o-&gt;order_discount_code = ''; // Create the order product $p = new stdClass(); $p-&gt;product_id = 0; $p-&gt;cart_product_id = 0; $p-&gt;order_product_quantity = 1; $p-&gt;order_product_name = JText::_('SHIPPING'); $p-&gt;order_product_code = 'shipping'; $p-&gt;order_product_price = $order-&gt;order_shipping_price; $p-&gt;order_product_vendor_price = $order-&gt;order_shipping_price; $p-&gt;no_update_qty = true; // Create the order "cart" and put the product into $o-&gt;cart = new stdClass(); $o-&gt;cart-&gt;products = array($p); // Reprocess full price $shopOrderClass = hikashop_get('class.order'); $shopOrderClass-&gt;recalculateFullPrice($o, $o-&gt;cart-&gt;products); $o-&gt;order_vendor_price = $o-&gt;order_full_price; // Store internal data $o-&gt;hikamarket = new stdClass(); $o-&gt;hikamarket-&gt;internal_process = true; $o-&gt;hikamarket-&gt;send_email = true; $o-&gt;hikamarket-&gt;parent = $order; $order_id = $shopOrderClass-&gt;save($o); //Shipping modification end

Last edit: 7 years 3 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] tag is nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgyNi1oaWthbWFya2V0LW9yZGVycy1ub3QtY3JlYXRlZC1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 3 months ago [\#308411](#308411) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308411 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello,

Please provide more details about the nature of the issue.
And please note that you can use debug function such as "print_r" or "hikashop_writeToLog" in order to see the content of variables and try to understand your problem.

Regarding the relation with HikaMarket, since you have the "internal_process" variable, HikaMarket should not do anything with the object.

Regards,

---

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

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

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

Less More

- Posts: 82
- Thank you received: 5
-
-

7 years 3 months ago [\#308417](#308417) by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")  Replied by *[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308417 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello Jerome,
Thanks for the tips.
The problem is, the order is created in hikashop, but no entries in the hikamarket_order_transaction table. Only for the "real vendor" who is defined for this hikashop product a order_transaction is created.
I attached 2 screenshots. When the order is created, it creates the entriy in the hikashop_order table, but not in the hikamarket_transaction_table. The price is listed correctly for the subsales.
As soon as i set the order to confirmed, the prices of the manually created orders are set to 0 (screenshot 2).
How can i make sure, that the programatically created orders are considered as a "real" order and an entry is also done in the order_transaction table of hikamarket ?
Thank you

- [ ![marketConfirmed.PNG](/forum/attachment/47210) ](/forum/attachment/47210 "...tConfirmed.PNG") [ ](/forum/attachment/47210?download=1 "...tConfirmed.PNG")
- [ ![marketCreated.PNG](/forum/attachment/47211) ](/forum/attachment/47211 "marketCreated.PNG") [ ](/forum/attachment/47211?download=1 "marketCreated.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgyNi1oaWthbWFya2V0LW9yZGVycy1ub3QtY3JlYXRlZC1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 3 months ago [\#308493](#308493) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308493 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello,

Sorry for the late answer.

Your problem is not related with the HikaShop 4 update ; but I do think that you also made a major update related HikaMarket.
Since HikaMarket 2.0, we introduced the "order transaction" system.
[ www.hikashop.com/support/documentation/1...arket-changelog.html](https://www.hikashop.com/support/documentation/147-hikamarket-changelog.html)

> Refactoring of the order system to use order transaction and no more extra entries in the HikaShop order table

In the latest releases, we improved that transaction system and because you just create the subsale without any order transaction, you are missing some important data for the HikaMarket process.
HikaMarket need the order transaction to know what the vendor will earn. The "subsale" vendor total contain the full price and that value can change if you add or remove products, the order transaction allow to keep a record of these and know what the vendor earn (or pay) with an history.

Afterwards, if you really want to know what has been stored, you have to look into the database and not what the view is telling you (because without the order transaction, HikaMarket can't process any amount).

Regards,

---

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

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

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

Less More

- Posts: 82
- Thank you received: 5
-
-

7 years 3 months ago -  7 years 3 months ago [\#308507](#308507) by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")  Replied by *[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308507 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello Jerome,

Thanks for the clarification.

How can I programatically correctly save the order, so that hikamarket makes a correct vendor order including filling the order_transaction table.

For sure there is some sample code to create an order in hikamarket.
Can you provide any sample code, please. I could not find it in the hikamarket developer documentation.

Some background information why this is needed.
1. We have products, where more than 1 vendor get some fee. Since only one vendor can be configured in hikasmarket, we need to create additional orders.
2. We also have to credit the shipping fees to different vendors, based on the choosen hikashop shipping method (country related).

Thank you so much.
Regards
Rene

Last edit: 7 years 3 months ago by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgyNi1oaWthbWFya2V0LW9yZGVycy1ub3QtY3JlYXRlZC1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 3 months ago [\#308531](#308531) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308531 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello,

I would need to investigate more and see if some function in the HikaMarket order class should be "open" or not.
For the moment, I would rather recommend you to look at the "Create Order Transaction" function in the HikaShop order class.
The idea is not complicated and you would already have all necessary elements (variables) ; it is just that we store the history of the vendor price (and the state if the vendor has been paid) into the order_transaction table instead of the hikashop order table.
Thanks to that, we create less "holes" in the order IDs and we can have more specific data for HikaMarket processing.
But the main data are the parent order id (the "sale" order_id), the vendor id and its vendor price.

Regards,

---

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

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

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

Less More

- Posts: 82
- Thank you received: 5
-
-

7 years 3 months ago -  7 years 3 months ago [\#308559](#308559) by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")  Replied by *[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308559 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello Jerome,
Thnks, but i don't find any "Create Order Transaction" function in the HikaShop order class.
I even don't find any word "transaction" in the HikaShop order class.
Do you mean hikamarket order class ?
Also there I dont find this function, only CreateTransaction.
**Would be nice if the CreateTransaction function would be public in HikaMarket.**

However, I dont understand that:
When I save an order in Hikashop with $order_id = $shopOrderClass-&gt;save($o); it creates the subsales but not the transactions. Even all the vendor info is there. **Are the subsales not needed at all anymore with the latest hikamarket version ?**

Regards
Rene

Last edit: 7 years 3 months ago by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgyNi1oaWthbWFya2V0LW9yZGVycy1ub3QtY3JlYXRlZC1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 3 months ago [\#308586](#308586) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308586 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello,

Yes, the exact function name is Code:

private function createTransaction(&amp;$order, $vendor_id, $price = null)

And as I wrote previously, the function is not meant to be public since it's a very advanced function which require very specific parameters ; so you can duplicate a part of the function code but I don't think moving it to public would be good.
As you are not using the API to create the subsale, you should not use an API to create the transaction.

As I explained, the subsale is still a requirement for HikaMarket but storing the vendor price history into the orders are not.
Before HikaMarket 2, you had "subsale" but also "vendorrefund" ; if the vendor was paid for an order and the order was modified, new entries in the order table was created... Which is not the case anymore.

I understand that you want to have a system to assign multiple vendors to products ; I do think it would be better to think about a trigger/API to allow a plugin to do so instead of using partial functions.

Regards,

---

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

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

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

Less More

- Posts: 82
- Thank you received: 5
-
-

7 years 3 months ago [\#308611](#308611) by [tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")  Replied by *[tgdkere2](/forum/user/8136-tgdkere2 "View tgdkere2's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308611 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Could you or some proposed developer do this ?
If yes, what would be the approximate costs ?

What we would need is:
Credit additional vendors for specific products
Credit the shipping costs to a specific vendor

No GUI needed to make the configs for this. It could be in a simple config file like:
product_id: xyz ; vendor_id: abc ; fee_percentage: 5%
and for the shipping
shipping_id: xyz ; vendor_id: abc

Regards
Rene

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgyNi1oaWthbWFya2V0LW9yZGVycy1ub3QtY3JlYXRlZC1jb3JyZWN0bHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

7 years 3 months ago [\#308631](#308631) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikamarket orders not created correctly](/forum/35-orders-management/897826-hikamarket-orders-not-created-correctly#308631 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.8 -- PHP version -- : 7 -- Error-message(debug-mod must be tuned on) -- : No error, but custom order creation does not work anymore since upgrade to hikashop 4  Hello, We use hikamarket and hikashop. I updated to Version 4 from version 3. I have customised code for shipping handling. The shipping creates a new order for a specific vendor. In hikashop 3 it worked well. In hikashop 4, the order is created, but the price is always 0. Can you please advise ? Looks like something changed in Hikashop/Market Version 4. Below the used code to create the order in hikashop/market.  Used code:")*

Hello,

We do not provide any kind of quote or similar in our forum.

If you want to ask for a HikaMarket feature request, please make that suggestion so it will be useful for the entire community.
We cannot accept a feature request which is too specific for one single usage ; our components are made to be flexible and we want to keep that philosophy in mind.

Regards,

---

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

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

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