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

#   What event fires when cart data moves to order?

##

- **[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 1 month ago [\#124392](#124392) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124392 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")* was created by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")*

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.0.4

I am in a situation where I need to add custom data in order_product table.I need to know how can I add custom product details when order is created from cart data.

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjE4NC13aGF0LWV2ZW50LWZpcmVzLXdoZW4tY2FydC1kYXRhLW1vdmVzLXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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 1 month ago [\#124422](#124422) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124422 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

You can implement the trigger onBeforeOrderCreate(&amp;$order) where the $order object contains all the info of the order including an array of the products data that will be saved in order_product and which can be accessed with $order-&gt;products.

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

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

- **[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 1 month ago [\#124529](#124529) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124529 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

I have your solution.Is it possible to save data without writing sql insert/update query.

I tried this-
Code:

public function onBeforeOrderCreate(&amp;$order,&amp;$do){ if(property_exists($order,'cart')){ if(!empty($order-&gt;cart-&gt;products)){ foreach($order-&gt;cart-&gt;products as &amp;$product){ $product-&gt;customfield= 'test'; } } } }

But **customfield**  column is blank.

Thanks,

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

13 years 1 month ago [\#124549](#124549) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124549 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

Hi,

Do you right have an item custom field with the namekey "customfield" ?
The orderProduct class filters the data stored in the "cart products" during the save, so your custom field have to exists and be accessible in the front-end.

Regards,

---

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

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

- **[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 1 month ago [\#124580](#124580) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124580 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

I have **customfield**  column only in **order\_product**  table.Do I need to create column in cart_product table as well?
Also I am not sure about accessibility how can we define that?

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjE4NC13aGF0LWV2ZW50LWZpcmVzLXdoZW4tY2FydC1kYXRhLW1vdmVzLXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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 1 month ago [\#124602](#124602) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124602 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

Hi,

What Jerome says is that this method will only work if you already created a custom field of the table "item" via the menu Display-&gt;Custom fields as the system only saves the columns that are either there by default or registered as custom item fields.
Note that this requires the Business edition.

If you don't have the Business edition, then, you need to do the query yourself in the onAfterOrderUpdate function and add the data directly for the order in the database.

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

- **[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 1 month ago [\#124694](#124694) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124694 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

I created custom fields for item but not sure why it's not saving the data.I have used queries to update cart column.

But now I need to update product price.As per requirement I have a price field in product table and I need to use that value.Is there any trigger for cart similar to **onBeforeCalculateProductPriceForQuantityInOrder**.Or Is there any easy way to change the cart product price?

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjE4NC13aGF0LWV2ZW50LWZpcmVzLXdoZW4tY2FydC1kYXRhLW1vdmVzLXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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 1 month ago [\#124732](#124732) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#124732 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

The price of the product in the cart can be changed with a quantity price calculation override:
[ www.hikashop.com/support/documentation/6...tation.html#override](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#override)
You can find an example here:
demo.hikashop.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=show&amp;cid=214

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

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

- **[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 1 month ago -  13 years 1 month ago [\#126167](#126167) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126167 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

I have used **onAfterOrderCreate( &amp;$order,&amp;$send\_email)** event and I thought this will have **order\_product\_id** but it's not there.Is there any way to get **order\_product\_id**  in **$order**? Code:

[cart] =&gt; stdClass Object ( [products] =&gt; Array ( [0] =&gt; stdClass Object ( [product_id] =&gt; 1 [order_product_quantity] =&gt; 3 [order_product_name] =&gt; Test Product [cart_product_id] =&gt; 254 [cart_product_option_parent_id] =&gt; 0 [order_product_code] =&gt; Test_Product [order_product_price] =&gt; 10.00000 [order_product_wishlist_id] =&gt; 0 [product_subscription_id] =&gt; 1 [order_product_tax] =&gt; 0 [order_product_options] =&gt; [order_product_tax_info] =&gt; Array ( ) [order_product_shipping_id] =&gt; 4@0 [order_product_shipping_method] =&gt; manual ) ) )

I need to update **hikashop\_order\_product** table using query.But not getting the way to do so.

Thanks,

Last edit: 13 years 1 month ago by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 month ago [\#126194](#126194) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126194 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

Hi,

Thanks to check if the $cart_product_id is not corresponding to the order_product_id, if it is not, you can get the order_product_id with a simple query based on the order_product_code.

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

- **[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 1 month ago -  13 years 1 month ago [\#126202](#126202) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126202 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

Thanks ,but I cannot query based on product_code.I have to break single product to multiple based on product quantity.If user has selected 5 quantity of a product I need to break that into 5 different rows of product order.

Is there any alternative or any code changes that can help?

Thanks,

Last edit: 13 years 1 month ago by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MjE4NC13aGF0LWV2ZW50LWZpcmVzLXdoZW4tY2FydC1kYXRhLW1vdmVzLXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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 1 month ago [\#126233](#126233) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126233 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

You can do like that to load the whole order data: Code:

$class = hikashop_get('class.order'); $orderData = $class-&gt;loadFullOrder($order-&gt;order_id); foreach($orderData-&gt;products as $product){ echo $product-&gt;order_product_id; }

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

- **[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 1 month ago [\#126696](#126696) by [irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")  Replied by *[irfanhanfi](/forum/user/23811-irfanhanfi "View irfanhanfi's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126696 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

Could you please give me an example of how to use **hikashop\_product\_price\_for\_quantity\_in\_order** function?When I use **hikashop\_product\_price\_for\_quantity\_in\_cart** it stores that price as order_product_price.If we use same calculation in **hikashop\_product\_price\_for\_quantity\_in\_order**  it again calculates the price.Is there any way to save order_product_price when we use create order in backend not using cart?

I use this function as well but it does not save in order_product_price.

public function onBeforeCalculateProductPriceForQuantityInOrder(&amp;$products){
$newPrice = $this-&gt;getNewPrice($products-&gt;order_product_id,$products-&gt;order_product_price);
$products-&gt;order_product_price = $newPrice;
}

Above function shows the currect price when we edit order but does not save in table.

Please let me know if not clear.

Thanks.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 1 month ago [\#126755](#126755) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[What event fires when cart data moves to order?](/forum/31-development/862184-what-event-fires-when-cart-data-moves-to-order#126755 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 3.0.4  I am in a situation where I need to add custom data in order&#95;product table.I need to know how can I add custom product details when order is created from cart data.  Thanks,")*

Hi,

Here is the donation plugin, it use these functions so you can use it as example:
[ hikashop.com/en/component/updateme/ctrl-...plugin-donation.html](http://hikashop.com/en/component/updateme/ctrl-download/plugin-donation.html)

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

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