Custom Fields in Checkout

  • Posts: 82
  • Thank you received: 1
11 years 2 months ago #150068

-- HikaShop version -- : 2.3.2 Business
-- Joomla version -- : 3.2.3

Is there anything else involved in order to make a custom order field to appear in checkout ?

I have 3,4 custom fields. Only the one is appearing in checkout. The others don't.

Please Log in or Create an account to join the conversation.

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
11 years 2 months ago #150089

Hi,

The "order" custom fields are displayed in the checkout.
They have to be "order" types and should be published.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 82
  • Thank you received: 1
11 years 2 months ago #150097

Hello Jerome,

thanks for the info. I just noticed that although the custom fields exist in Hikashop admin and also there is record for them in custom_fields table, they do not exist in the Orders table.
Could this be the reason, why they do not appear in Checkout page ?

Also, I need to create a new custom field (drop-down selection) but showing dynamically records from another database table.
Would that be possible or I would crash to any walls ?

Please Log in or Create an account to join the conversation.

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
11 years 2 months ago #150167

Hi,

If you don't see them in the order table, it's either that your custom fields are not of the table "order", or that the system couldn't add them to the order table because of mysql user permission issues.
However, if they are of the table "order", you should see them on the checkout even if the column was not added for them in the order table (it would generate an order at the order creation in that case). So the only possibility left I see is that they were not created for the table 'order'. I would recommend to delete them and recreate them with the "debug mode" option of the joomla configuration turned on. That way, you'll see if you get an error when the column of the field is added to the order table.
If that doesn't help, please provide a screenshot of the options of your field, a screenshot of the options of the Checkout tab of the configuration and a link to the shop.

Please Log in or Create an account to join the conversation.

  • Posts: 82
  • Thank you received: 1
11 years 2 months ago #150489

The fields were declared for orders table in the backend but they were not existent in the orders table.
I deleted and recreated the fields and it is ok now.

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum