Product custom fields on orders/invoices
4 years 9 months ago #338370
by Joomill
Product custom fields on orders/invoices was created by Joomill
-- 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
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
Attachment not found
Please Log in or Create an account to join the conversation.
4 years 9 months ago #338372
by nicolas
Replied by nicolas on topic Product custom fields on orders/invoices
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.
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.
4 years 9 months ago #338382
by Joomill
Replied by Joomill on topic Product custom fields on orders/invoices
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:
It works on the most screens now.
Except the cart, see:
Attachment not found
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:
Attachment not found
Please Log in or Create an account to join the conversation.
4 years 9 months ago #338385
by nicolas
Replied by nicolas on topic Product custom fields on orders/invoices
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:
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.
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:
Code:
<div id="header"><div class="header-title"></div><div class="header-items"></div></div>
<div id="header-more-items"></div>
Please Log in or Create an account to join the conversation.
Time to create page: 0.158 seconds