- Posts: 3
- Thank you received: 0
Custom fields for Item are missing in order table.
- TrolHambriento
-
Topic Author
- Offline
Less
More
11 years 5 months ago #204947
by TrolHambriento
Custom fields for Item are missing in order table. was created by TrolHambriento
-- HikaShop version -- : 2.5.0 Business
Hello.
Once I'm creating custom field for Item table I'm getting appropriate fields both in my hikashop_cart_product table and hikashop_order_product table respectively. So I assume custom fields of that type should be copied for every item of the cart to every item within the order as soon as an actual order was made... but in my case they're just getting lost. Although I can see values for those fields in my hikashop_cart_product table prior checkout, right after checkout items are moving to the hikashop_order_product but with empty values for custom fields.
Am I missing something?
Hello.
Once I'm creating custom field for Item table I'm getting appropriate fields both in my hikashop_cart_product table and hikashop_order_product table respectively. So I assume custom fields of that type should be copied for every item of the cart to every item within the order as soon as an actual order was made... but in my case they're just getting lost. Although I can see values for those fields in my hikashop_cart_product table prior checkout, right after checkout items are moving to the hikashop_order_product but with empty values for custom fields.
Am I missing something?
Please Log in or Create an account to join the conversation.
11 years 5 months ago #204978
by nicolas
Replied by nicolas on topic Custom fields for Item are missing in order table.
Hi,
I've never seen what you describe.
As you say, the copy from the cart_product to the order_product table is automatic.
It's done in the after_confirm function of the components/com_hikashop/controllers/checkout.php file.
As it works fine on our end, there must be something on your website and we would have to investigate directly on your website in order to understand what's going on.
I've never seen what you describe.
As you say, the copy from the cart_product to the order_product table is automatic.
It's done in the after_confirm function of the components/com_hikashop/controllers/checkout.php file.
As it works fine on our end, there must be something on your website and we would have to investigate directly on your website in order to understand what's going on.
The following user(s) said Thank You: TrolHambriento
Please Log in or Create an account to join the conversation.
- TrolHambriento
-
Topic Author
- Offline
Less
More
- Posts: 3
- Thank you received: 0
11 years 5 months ago #205092
by TrolHambriento
Replied by TrolHambriento on topic Custom fields for Item are missing in order table.
Sorry, was my fault.
I was filling custom fields in cart_products table "manually" (from my component just after an item was added to the cart), but those fields was still disabled on the Front-End and such fields are just not getting copied to the order_products after checkout... didn't thought that Front-End option would be that important as for this case
I was filling custom fields in cart_products table "manually" (from my component just after an item was added to the cart), but those fields was still disabled on the Front-End and such fields are just not getting copied to the order_products after checkout... didn't thought that Front-End option would be that important as for this case
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds