Custom field not showing on back end

  • Posts: 29
  • Thank you received: 0
6 years 9 months ago #271770

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2
-- PHP version -- : 5.5.38

I have a custom field called colorchoice:



It doesn't have a green mark for 'back end form' even though this option is selected:


The field does not show on the back end for the order or in the email notification.



How do I get it to show up so that I can see what option the customer selected for their order?

Attachments:
Last edit: 6 years 9 months ago by Tahiera.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #271773

Hello,

You indicate that you're using HikaShop 3.1.1 nevertheless the screenshot of your custom field configuration is not the HikaShop 3 interface.

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: 29
  • Thank you received: 0
6 years 9 months ago #271909

Sorry, you are correct. The version is 2.6.3.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #271916

Hello,

HikaShop 2.6.3 had known issues regarding the custom fields display.
That's why HikaShop 2.6.4 contains various fixes about that.

Afterwards, the most recent HikaShop version is currently the 3.1.1 ; which also contains improvements about the display of the custom fields with also new features like the category restriction, etc.

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: 29
  • Thank you received: 0
6 years 9 months ago #272010

Thank you. What is the URL for downloading the business version of HikaShop 2.6.4?

I see the download for 3.1.1, but not the earlier version. I would prefer not to upgrade to the latest version yet, just fix the issue with fields.

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #272016

Hello,

Only the latest releases are available for downloads because that's the only version that the team can provide support on.
Afterwards, you might see to contact the support team using the "contact us" form to see if you want get an older version but you will have to give some proof regarding the HikaShop license for your website (your current account do not have any licence and your screenshot indicates that you are using the Business edition).

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: 29
  • Thank you received: 0
6 years 9 months ago #272116

Thank you, I will do that!

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #272118

Hello,

If you do so ; do not forget to provide proof for your HikaShop license.
Your actual account do not have any license so I suppose that you're using HikaShop Business from another account.

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: 29
  • Thank you received: 0
6 years 9 months ago #272565

I did update to the latest version of Hikashop Business, 3.1.1. (By the way, I am a web designer – my client has the license and the URL in the first post is licensed. I can provide proof if needed.)

Unfortunately, the same problem happens. These are the settings:



For some reason the preview does say 'no data' at the end:


This is the email that's sent to the customer, with no custom fields:


I noticed that you have asked others to check the email templates – how do you tell if it has been customized? I think this is the right one:


The custom field does show up during checkout. However, it does not show up in the customer email, admin notification email or in the back end:


This is what it looks like when I click to edit the order:


How can I get the field to be recorded in the back end, and show in the emails?

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #272603

Hello,

Please edit the HikaShop field class (administrator/components/com_hikashop/classes/field.php) and replace

		if(!empty($ids)) {
			sort($ids);
			$id = implode(',', $ids);
		}
By
		if(!empty($ids)) {
			sort($ids);
			$id = implode(',', $ids);
		}
		foreach($data as $d) {
			if(!empty($d->product_parent_id))
				$ids[] = (int)$d->product_parent_id;
		}
It should fix your issue with the item custom field with a product restriction and the usage of variants.

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: 29
  • Thank you received: 0
6 years 9 months ago #272644

I appreciate your help, but it doesn't seem to fix the problem. My code looks like this:

Attachments:

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #272660

Hello,

Can you please :
1 - re-save your item custom field configuration
2 - perform a new test order
3 - See if the problem persist or not.
4 - send us a full screenshot of your item field 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: 29
  • Thank you received: 0
6 years 9 months ago #272777

Here are the screenshots:



Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 9 months ago #272781

Hi,

You can't have a restriction on both products and categories in your custom field. If you do that means that the custom field will only display if the product is in the list of products selected AND in the categories selected.
In that case, you just want to have the restriction on the products.
So please change that and it should work better.
Please also report on the result of the operation Jerome asked previously. Did it help ?

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

  • Posts: 29
  • Thank you received: 0
6 years 9 months ago #272889

1 - re-save your item custom field configuration
2 - perform a new test order
3 - See if the problem persist or not.


I tried this but the problem persists.

I updated the field to have only the items selected:


I saved it and made a test order, but it's the same problem.

Attachments:

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 9 months ago #272893

Hi,

Then I'm afraid we'll need a backend and FTP access as well as instructions to check on the issue as we are not able to reproduce the issue on our end.
Please provide that via our contact form:
www.hikashop.com/support/contact-us.html

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

  • Posts: 81363
  • Thank you received: 13037
  • MODERATOR
6 years 8 months ago #273215

Hi,

Thank you for the access. I've found the issue and added a patch for it.
I've added it on your website so it's working for you, and I've added the patch on our end in the install package.

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

  • Posts: 29
  • Thank you received: 0
6 years 8 months ago #273662

Thank you for your help! However, this issue does not seem to be resolved – see orders #F3Z1Q65 and #G3A1A74. It's the same as before.

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

  • Posts: 4486
  • Thank you received: 609
  • MODERATOR
6 years 8 months ago #273695

Hello,

Are you sure that this orders wasn't performed just before Nicolas patched your website ?
I have a look order date creation and day Nicolas added the patch, and that the same day...
Because right now, on your side we try to reproduce your issue (from your configuration) and everything seems works well.
If you have new order with the issue, you can try to re-create your custom field, and process some tests, and if issue is still here, come back here.

Regards

Last edit: 6 years 8 months ago by Philip.

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

  • Posts: 29
  • Thank you received: 0
6 years 7 months ago #275946

We are still having this issue on new orders. Is there anything else that could be causing the problem?

(It's happening on new fields too.)

Last edit: 6 years 7 months ago by Tahiera.

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

Time to create page: 0.131 seconds
Powered by Kunena Forum