Product custom fields on orders/invoices

  • Posts: 206
  • Thank you received: 10
  • Hikashop Multisite
2 years 10 months ago #338370

-- HikaShop version -- : 4.4.5

Hi,

I have created a product custom field, named product_location.
This is needed for a warehouse to find location of the products.

I have selected backend form and list which work fine.

I have also selected to show this field on the shipping invoice, backend order detailpage and backend cart detailpage.
In none of these pages this fields show up.

Attached my configuration.
No other plugins installed.

What am i doing wrong?
Regards

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 10 months ago #338372

Hi,

The custom field will only appear there if the products of the order have this custom field filled in in the first place.
So if you just created the custom product field without entering a value in it for the different products, it's normal that you don't see it in the orders/carts/invoices.
If you filled the custom field for the products of the cart/order and you still don't see it in the order/cart/invoice, it's possible that you have view overrides on the view files used to display the areas you're looking that and that these overrides are based on really old versions of HikaShop which don't support these display settings.
In that case, it would require redoing the view overrides based on the current version.

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

  • Posts: 206
  • Thank you received: 10
  • Hikashop Multisite
2 years 10 months ago #338382

Hi,

It works on the most screens now.

Except the cart, see:



I also found it is not possible to add products in the backend of Joomla 4.
Maybe you can have a look at it?
See:

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 10 months ago #338385

Hi,

There is no option to display the custom product fields in the cart edit form of the backend.
We thought it would be unnecessary.

Regarding your error with selection of the product, it comes from a javascript error when the popup is being loaded.
To fix it, add the code:

<div id="header"><div class="header-title"></div><div class="header-items"></div></div>
<div id="header-more-items"></div>
at the beginning of the file administrator/components/com_hikashop/views/product/tmpl/selection.php and it will remove the javascript error which will allow the javascript to be properly processed.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum