[Skip to main content](#vessel-content)

#  Profile for pjdevries

##

[![pjdevries's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64503-pjdevries "View pjdevries's Profile")

**[ Offline](/forum/user/64503-pjdevries)**

- **User Type:** User

- **Register Date:** 16 Feb 2022
- **Last login:** 3 years 5 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 22:26

- **Posts:** 29
- **Profile views:** 93
- **Thank you received:** 2

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  pjdevries recent posts  (29 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/31-development/906566-template-override-alternative-layout-seen-as-task#352539) | [template override / alternative layout seen as task](/forum/31-development/906566-template-override-alternative-layout-seen-as-task#352539 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1  Hi,  We are building an alternative layout for making the display of the prices easier en are facing an issue that we don't understand.  For some reasons, we have not yet figured out, our override is seen and used as a task (listing-custom). So now when we assign our override and go to this menu it gives us an &quot;Access forbidden&quot; message. Although this is the name of the override.xml (listing-custom.xml) we cannot understand why this is used as task and authorised as such.  Maybe you know why this is and what we need to change to make it work?  Thanks in advance for any tips.")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 3 years 5 months ago, by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")       [Last Post](/forum/31-development/906566-template-override-alternative-layout-seen-as-task#352813 "Hi Nicolas,  Thank you, the update solved our issue.") 3 years 4 months ago     by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") | Replies:6  Views:983 | [Last Post](/forum/31-development/906566-template-override-alternative-layout-seen-as-task#352813 "Hi Nicolas,  Thank you, the update solved our issue.") by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")      3 years 4 months ago |
| [](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350640) | [data missing after onAfterOrderUpdate](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350640 "-- url of the page with the problem -- :   demo-hk.dlidev.nl  -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.0  Hi, When an order status is changed to shipped via the Dashboard &gt; Orders &gt; Orders list using the dropdown the the data received is different from doing this via Dashboard &gt; Orders &gt; click on order number &gt; change Order status via &quot;Main information / Order status&quot;.  The fields missing for example are : order&#95;user&#95;id order&#95;billing&#95;address&#95;id order&#95;billing&#95;address&#95;id order&#95;lang order&#95;full&#95;price  We need these for our product&#95;reviews extension.  Two files with output are in the attachement.")         Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 3 years 7 months ago, by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")       [Last Post](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350640 "Hi Nicolas,  Perhaps you did answer all the questions, but it still was not entirely clear to me. I am not very quick-witted ;) I think I understand now, allthought it still feels kind of awkward.  Thanx for your help.") 3 years 7 months ago     by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile") | Replies:4  Views:658 | [Last Post](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350640 "Hi Nicolas,  Perhaps you did answer all the questions, but it still was not entirely clear to me. I am not very quick-witted ;) I think I understand now, allthought it still feels kind of awkward.  Thanx for your help.") by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")      3 years 7 months ago |
| [](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350627) | [data missing after onAfterOrderUpdate](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350627 "-- url of the page with the problem -- :   demo-hk.dlidev.nl  -- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.2.9 -- PHP version -- : 8.0  Hi, When an order status is changed to shipped via the Dashboard &gt; Orders &gt; Orders list using the dropdown the the data received is different from doing this via Dashboard &gt; Orders &gt; click on order number &gt; change Order status via &quot;Main information / Order status&quot;.  The fields missing for example are : order&#95;user&#95;id order&#95;billing&#95;address&#95;id order&#95;billing&#95;address&#95;id order&#95;lang order&#95;full&#95;price  We need these for our product&#95;reviews extension.  Two files with output are in the attachement.")         Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 3 years 7 months ago, by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")       [Last Post](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350640 "Hi Nicolas,  Perhaps you did answer all the questions, but it still was not entirely clear to me. I am not very quick-witted ;) I think I understand now, allthought it still feels kind of awkward.  Thanx for your help.") 3 years 7 months ago     by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile") | Replies:4  Views:658 | [Last Post](/forum/35-orders-management/906179-data-missing-after-onafterorderupdate#350640 "Hi Nicolas,  Perhaps you did answer all the questions, but it still was not entirely clear to me. I am not very quick-witted ;) I think I understand now, allthought it still feels kind of awkward.  Thanx for your help.") by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")      3 years 7 months ago |
| [](/forum/27-checkout/906098-standard-joomla-error-messages-not-displayed#350195) | [Standard Joomla! error messages not displayed](/forum/27-checkout/906098-standard-joomla-error-messages-not-displayed#350195 "-- HikaShop version -- : HikaShop Business 4.7.1 &#91;2301201934&#93; -- Joomla version -- : 4.2.9 -- PHP version -- : 8.1.12 -- Browser(s) name and version -- : Mozilla Firefox for Ubuntu 111.0 (64-bit)  Hello,  I have a plugin that handles HikaShop onAfterOrderUpdate events. The logic in the event handler contains a try/catch block. In the catch block, the core Joomla! CMSApplication::enqueueMessage() method is used in an attempt to display texts from any exceptions in the regular Joomla! message area. However, when editing and saving an order in the HikaShop backend, exception messages are never displayed and there is no indication to the user that anything has gone wrong.  What needs to be done to display messages in the default Joomla! message area?  Kind regards, Pieter-Jan de Vries")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 3 years 8 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/27-checkout/906098-standard-joomla-error-messages-not-displayed#350205 "Hi,  In the backend, most saves of the order data is done in a popup, which closes itself after, or in an ajax request, without a full refresh of the page being needed. However, the standard enqueueMessage mechanism requires a full display of the page to display the message. Supposing the location where the saving occurs allow you to output HTML, you could call the function hikashop&#95;display($msg, 'error'); to directly output the error message. But that might not be possible. I would need more details on where you're saving the order exactly to be able to tell you what are your options.") 3 years 8 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:665 | [Last Post](/forum/27-checkout/906098-standard-joomla-error-messages-not-displayed#350205 "Hi,  In the backend, most saves of the order data is done in a popup, which closes itself after, or in an ajax request, without a full refresh of the page being needed. However, the standard enqueueMessage mechanism requires a full display of the page to display the message. Supposing the location where the saving occurs allow you to output HTML, you could call the function hikashop&#95;display($msg, 'error'); to directly output the error message. But that might not be possible. I would need more details on where you're saving the order exactly to be able to tell you what are your options.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      3 years 8 months ago |
| [](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343592) | [Obtain product object in onBeforeCalculateProductPriceForQuantity event handler](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343592 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0 -- Browser(s) name and version -- : FireFox 100.0.2 (64-bit) -- Error-message(debug-mod must be tuned on) -- : trim(): Argument #1 ($string) must be of type string, array given  Hi Nicolas,  Before explaining the problem I encounter, let me first explain what I am trying to do.  In the onBeforeCalculateProductPriceForQuantity() event handler of a system plugin, I try to construct a product object, including all related information. I need such an object, including any associated custom fields and other data, to do some non standard price calculations. The way I try to obtain that product object is as follows:  &#42; Get a reference to the product class: $productClass = hikashop&#95;get('class.product')  &#42; Load the product using the product&#95;id in the method parameter: $productClass-&gt;getProducts(&#91;$product-&gt;product&#95;id&#93;)  &#42; Load additional product data using the now available product(s) in $productClass: $productClass-&gt;loadProductsListingData(&#91;$productClass-&gt;products&#91;(string) $product-&gt;product&#95;id&#93;&#93;, )  &#42; Load product options in a similar fashion: $productClass-&gt;loadProductOptions((&#91;$productClass-&gt;products&#91;(string) $product-&gt;product&#95;id&#93;&#93;)  I feel very uncomfortable with the way I managed to get what I need, but in the old, complicated and confusing, non-modular codebase that is HikaShop is, I saw no other way. It gave me the product object I need though and everything seems to work just fine, up to the point that I go to the checkout page and change the ordered amount of a product. This also triggers my onBeforeCalculateProductPriceForQuantity() method, which should be fine, but apparently isn't. This is what I see happening:  &#42; When changing the product quantity, an AJAX call is made which eventually calls hikashopCartClass::loadFieldsForProducts(), which in turn calls hikashopFieldClass::getData().  &#42; That getData() method fills a static variable with product data. Items in that data collection contain an attribute field&#95;categories, which contains a comma separated string of category id's.  &#42; Somewhat later, my onBeforeCalculateProductPriceForQuantity() event handler is called.  &#42; The call I make to hikashopProductClass::loadProductsListingData() (see 2. above) in turn calls hikashopProductClass::loadCustomItemFieldsForProductsListing().  That last function call is where the problem starts. For some reason, it turns the comma separated string of category id's mentioned above into an array. Then, when hikashopCartClass::loadFieldsForProducts() is called a second time around as part of the same AJAX call, an error occurs because an attempt is made to trim() an array, which obviously is not allowed. This results in the following message in the shopping cart area: trim(): Argument #1 ($string) must be of type string, array given.  What must I do to resolve this?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 4 years 3 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343592 "Hi Nicolas,  Thanx for your reply and proposed solution. It seems to work, but just a bit different. Because all my code, following the hikashopProductClass::loadProductsListingData() call, currently relies on the categories attribute being an array, I call the reset not before but after loadProductsListingData(). That way, both my code and the core HikaShop code keeps working, hopefully. Please make sure to document any changes you make to this logic, so we keep an eye on it before updating without consideration.  As for improving the HikaShop code base, I suggest you start working towards a cleaner, better maintainable and less complex code base. Get rid of (most) statics and of data passed and manipulated by reference. In many cases, for arrays and objects, a reference it is not even necessary. Refactor all your classes, starting with a well designed Product class, which should be and do more than be a Product :) Turn factory methods, that currently manipulate static objects or objects passed by reference, into methods that return properly typed objects. For instance, turn hikashopFieldClass::getData() into something like ProductFactory::createProduct(), which returns an object of type (class) Product. Keep things simple. Do not create methods of several hundreds, sometimes 1000 or more lines of code. Keep the SOLID principles in the back of your head (  en.wikipedia.org/wiki/SOLID ).  I think cleaning up your code base is very important, because PHP is getting more critical and less forgiving with every new release. I'm afraid HikaShop will crash completely by the time we reach PHP 9.") 4 years 3 months ago     by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile") | Replies:2  Views:1145 | [Last Post](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343592 "Hi Nicolas,  Thanx for your reply and proposed solution. It seems to work, but just a bit different. Because all my code, following the hikashopProductClass::loadProductsListingData() call, currently relies on the categories attribute being an array, I call the reset not before but after loadProductsListingData(). That way, both my code and the core HikaShop code keeps working, hopefully. Please make sure to document any changes you make to this logic, so we keep an eye on it before updating without consideration.  As for improving the HikaShop code base, I suggest you start working towards a cleaner, better maintainable and less complex code base. Get rid of (most) statics and of data passed and manipulated by reference. In many cases, for arrays and objects, a reference it is not even necessary. Refactor all your classes, starting with a well designed Product class, which should be and do more than be a Product :) Turn factory methods, that currently manipulate static objects or objects passed by reference, into methods that return properly typed objects. For instance, turn hikashopFieldClass::getData() into something like ProductFactory::createProduct(), which returns an object of type (class) Product. Keep things simple. Do not create methods of several hundreds, sometimes 1000 or more lines of code. Keep the SOLID principles in the back of your head (  en.wikipedia.org/wiki/SOLID ).  I think cleaning up your code base is very important, because PHP is getting more critical and less forgiving with every new release. I'm afraid HikaShop will crash completely by the time we reach PHP 9.") by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")      4 years 3 months ago |
| [](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343569) | [Obtain product object in onBeforeCalculateProductPriceForQuantity event handler](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343569 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0 -- Browser(s) name and version -- : FireFox 100.0.2 (64-bit) -- Error-message(debug-mod must be tuned on) -- : trim(): Argument #1 ($string) must be of type string, array given  Hi Nicolas,  Before explaining the problem I encounter, let me first explain what I am trying to do.  In the onBeforeCalculateProductPriceForQuantity() event handler of a system plugin, I try to construct a product object, including all related information. I need such an object, including any associated custom fields and other data, to do some non standard price calculations. The way I try to obtain that product object is as follows:  &#42; Get a reference to the product class: $productClass = hikashop&#95;get('class.product')  &#42; Load the product using the product&#95;id in the method parameter: $productClass-&gt;getProducts(&#91;$product-&gt;product&#95;id&#93;)  &#42; Load additional product data using the now available product(s) in $productClass: $productClass-&gt;loadProductsListingData(&#91;$productClass-&gt;products&#91;(string) $product-&gt;product&#95;id&#93;&#93;, )  &#42; Load product options in a similar fashion: $productClass-&gt;loadProductOptions((&#91;$productClass-&gt;products&#91;(string) $product-&gt;product&#95;id&#93;&#93;)  I feel very uncomfortable with the way I managed to get what I need, but in the old, complicated and confusing, non-modular codebase that is HikaShop is, I saw no other way. It gave me the product object I need though and everything seems to work just fine, up to the point that I go to the checkout page and change the ordered amount of a product. This also triggers my onBeforeCalculateProductPriceForQuantity() method, which should be fine, but apparently isn't. This is what I see happening:  &#42; When changing the product quantity, an AJAX call is made which eventually calls hikashopCartClass::loadFieldsForProducts(), which in turn calls hikashopFieldClass::getData().  &#42; That getData() method fills a static variable with product data. Items in that data collection contain an attribute field&#95;categories, which contains a comma separated string of category id's.  &#42; Somewhat later, my onBeforeCalculateProductPriceForQuantity() event handler is called.  &#42; The call I make to hikashopProductClass::loadProductsListingData() (see 2. above) in turn calls hikashopProductClass::loadCustomItemFieldsForProductsListing().  That last function call is where the problem starts. For some reason, it turns the comma separated string of category id's mentioned above into an array. Then, when hikashopCartClass::loadFieldsForProducts() is called a second time around as part of the same AJAX call, an error occurs because an attempt is made to trim() an array, which obviously is not allowed. This results in the following message in the shopping cart area: trim(): Argument #1 ($string) must be of type string, array given.  What must I do to resolve this?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 4 years 3 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343592 "Hi Nicolas,  Thanx for your reply and proposed solution. It seems to work, but just a bit different. Because all my code, following the hikashopProductClass::loadProductsListingData() call, currently relies on the categories attribute being an array, I call the reset not before but after loadProductsListingData(). That way, both my code and the core HikaShop code keeps working, hopefully. Please make sure to document any changes you make to this logic, so we keep an eye on it before updating without consideration.  As for improving the HikaShop code base, I suggest you start working towards a cleaner, better maintainable and less complex code base. Get rid of (most) statics and of data passed and manipulated by reference. In many cases, for arrays and objects, a reference it is not even necessary. Refactor all your classes, starting with a well designed Product class, which should be and do more than be a Product :) Turn factory methods, that currently manipulate static objects or objects passed by reference, into methods that return properly typed objects. For instance, turn hikashopFieldClass::getData() into something like ProductFactory::createProduct(), which returns an object of type (class) Product. Keep things simple. Do not create methods of several hundreds, sometimes 1000 or more lines of code. Keep the SOLID principles in the back of your head (  en.wikipedia.org/wiki/SOLID ).  I think cleaning up your code base is very important, because PHP is getting more critical and less forgiving with every new release. I'm afraid HikaShop will crash completely by the time we reach PHP 9.") 4 years 3 months ago     by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile") | Replies:2  Views:1145 | [Last Post](/forum/31-development/904794-obtain-product-object-in-onbeforecalculateproductpriceforquantity-event-handler#343592 "Hi Nicolas,  Thanx for your reply and proposed solution. It seems to work, but just a bit different. Because all my code, following the hikashopProductClass::loadProductsListingData() call, currently relies on the categories attribute being an array, I call the reset not before but after loadProductsListingData(). That way, both my code and the core HikaShop code keeps working, hopefully. Please make sure to document any changes you make to this logic, so we keep an eye on it before updating without consideration.  As for improving the HikaShop code base, I suggest you start working towards a cleaner, better maintainable and less complex code base. Get rid of (most) statics and of data passed and manipulated by reference. In many cases, for arrays and objects, a reference it is not even necessary. Refactor all your classes, starting with a well designed Product class, which should be and do more than be a Product :) Turn factory methods, that currently manipulate static objects or objects passed by reference, into methods that return properly typed objects. For instance, turn hikashopFieldClass::getData() into something like ProductFactory::createProduct(), which returns an object of type (class) Product. Keep things simple. Do not create methods of several hundreds, sometimes 1000 or more lines of code. Keep the SOLID principles in the back of your head (  en.wikipedia.org/wiki/SOLID ).  I think cleaning up your code base is very important, because PHP is getting more critical and less forgiving with every new release. I'm afraid HikaShop will crash completely by the time we reach PHP 9.") by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")      4 years 3 months ago |
| [](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341496) | [Custom field value in onBeforeCalculateProductPriceForQuantity handler](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341496 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.1 -- PHP version -- : 7.4  Hi,  For testing purposes I created a &quot;Single Dropdown&quot; custom field for table &quot;item&quot;. The field shows up nicely in the front end on the product order form. I need the value in an onBeforeCalculateProductPriceForQuantity event handler but the field is not available in the parameter object. What am I doing wrong here?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 4 years 6 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341496 "Hi Nicolas,  Thanks. I'll try to figure out what's going wrong and get back to you if I can't find it.") 4 years 6 months ago     by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile") | Replies:2  Views:965 | [Last Post](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341496 "Hi Nicolas,  Thanks. I'll try to figure out what's going wrong and get back to you if I can't find it.") by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")      4 years 6 months ago |
| [](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341488) | [Custom field value in onBeforeCalculateProductPriceForQuantity handler](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341488 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.1 -- PHP version -- : 7.4  Hi,  For testing purposes I created a &quot;Single Dropdown&quot; custom field for table &quot;item&quot;. The field shows up nicely in the front end on the product order form. I need the value in an onBeforeCalculateProductPriceForQuantity event handler but the field is not available in the parameter object. What am I doing wrong here?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 4 years 6 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341496 "Hi Nicolas,  Thanks. I'll try to figure out what's going wrong and get back to you if I can't find it.") 4 years 6 months ago     by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile") | Replies:2  Views:965 | [Last Post](/forum/31-development/904385-custom-field-value-in-onbeforecalculateproductpriceforquantity-handler#341496 "Hi Nicolas,  Thanks. I'll try to figure out what's going wrong and get back to you if I can't find it.") by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")      4 years 6 months ago |
| [](/forum/31-development/904305-development-of-a-custom-field-documentation-and-or-help-needed#341397) | [Development of a custom field - documentation and/or help needed](/forum/31-development/904305-development-of-a-custom-field-documentation-and-or-help-needed#341397 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.1 -- PHP version -- : 7.4  Is there any documentation available for creation of custom custom fields? I am making progress by looking at the datepickerfield plugin, but various bits are unclear to me, such as  Method plgHikashopDatepickerfield::onFieldsLoad() of the datepickerfield plugin sets a list of options I don't know what they are used for and whether I need all or any of them for my field.  For educational purposes I created a datepicker custom field to see how it's used and displayed. For some reason, that field not only displays the datepicker options, but also the options of my own custom field. I don't have a clue why that is.  Some pointers would be highly appreciated :)")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 4 years 7 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/31-development/904305-development-of-a-custom-field-documentation-and-or-help-needed#341399 "Hi,  There is no option for that.") 4 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:13  Views:1637 | [Last Post](/forum/31-development/904305-development-of-a-custom-field-documentation-and-or-help-needed#341399 "Hi,  There is no option for that.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 6 months ago |
| [](/forum/31-development/904315-can-not-re-create-custom-field-with-same-column-name-as-deleted-field#341343) | [Can not (re)create custom field with same column name as deleted field](/forum/31-development/904315-can-not-re-create-custom-field-with-same-column-name-as-deleted-field#341343 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.1 -- PHP version -- : 7.4  Not sure where to put this issue, so I'll do it here.  When deleting a custom field, it seems not possible to create a new custom field with the same Column&#95;name for the same Table. The reasons being that the field does get removed from the #&#95;&#95;hikashop&#95;field table but the actual table column is not removed from the table it was designated to.  Is this a bug or a feature?")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 4 years 7 months ago, by [pjdevries](/forum/user/64503-pjdevries "View pjdevries's Profile")       [Last Post](/forum/31-development/904315-can-not-re-create-custom-field-with-same-column-name-as-deleted-field#341347 "Hi,  In that case, you could always just use another column name. But yes, that could be useful, yes. We'll look at how we can improve things there. Thanks for your feedback.") 4 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:5  Views:1140 | [Last Post](/forum/31-development/904315-can-not-re-create-custom-field-with-same-column-name-as-deleted-field#341347 "Hi,  In that case, you could always just use another column name. But yes, that could be useful, yes. We'll look at how we can improve things there. Thanks for your feedback.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      4 years 6 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
