Order Custom fields not displaying during checkout

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200179

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : Chrome latest
-- Error-message(debug-mod must be tuned on) -- : No error messages

Hi, we upgraded to the business edition of Hikashop and custom fields are not displaying for us. Created type "order" custom fields and from what I read they are supposed to show on the checkout pages if we add them to the layout (which we did).

Any tricks to this, we have looked everywhere?

Thanks,
Brian

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #200183

Hi,

To display the order custom fields in the checkout, you have to add the "field" step in your checkout workflow.
What is your checkout workflow configuration ?

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: 33
  • Thank you received: 0
9 years 7 months ago #200234

Hi, Yes it's set in the workflow, just don't show up in the checkout page.

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

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200236

Here are some screenshots. They are added twice (because the first addition wasn't working. Something is probably misconfigured, but I don't know where to start looking. :)

Attachments:

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

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200237

We also really need to get this out the door. Can I hack the fields into the form in such a way they will be picked up?

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

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200238

I did just see the custom fields once, while the cart was empty. I can't get it to repeat. Just sharing in case that information helps.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 7 months ago #200289

Hi,

Please check if you have any editions in the view "checkout / fields" and "checkout / cartstatus".
If there is editions, please backup them and remove them to use the default views to see if that help.

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

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200337

These are the only customizations we have, I am assuming product and category changes won't affect the checkout pages - will try removing and testing later today. Anything else I can look at?

...html/templates/destinyfx/html/com_hikashop$ find .
./product
./product/show_tabular_backup.php
./product/listing_div.php
./product/listing_img_title.php
./product/show_noPrice.php
./product/show_tabular.php
./product/listing_price2.php
./product/cart.php
./category
./category/listing_div.php
./category/listing_img_title.php
./category/listing_img.php
./checkout
./checkout/login_form.php

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

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200355

Removing all the customization didn't help.

Tried putting an echo into custom_fields.php, and didn't echo. But it does at the start of fields.php (which calls custom_fields), but when I display the custom fields using print_r($this->extraFields); it displays an empty array. I attached an image showing they are there... So something with custom fields appears to be broken or misconfigured.

I also tried displaying the address custom fields which works fine. Debugging the extraFields function next...

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

  • Posts: 33
  • Thank you received: 0
9 years 7 months ago #200356

Ok, what I found is that the backend UI doesn't leave the default category blank, it was filling in a category number which didn't relate to the products on the order. So the query found nothing.

I was able to work around the problem by typing "all" in the category because the query looks for blank or all along with the specific categories. Fields are displaying now.

You might want to fix that for others, it has problem to be very frustrating for us.

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

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 6 months ago #200415

Hi,

Yes, it has been fixed a few days ago. If you download again the latest version install package and install it on your website, it should add the patch for that bug.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum