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

#  Profile for convergent

##

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

**[ Offline](/forum/user/32499-convergent)**

- **User Type:** User

- **Register Date:** 06 May 2014
- **Last login:** 10 years 3 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 10:45

- **Posts:** 10
- **Profile views:** 38

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

- Posts

#  convergent's recent posts  (10 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/29-payment-methods/869110-authorize-net-and-custom-fields#163697) | [Authorize.net and Custom Fields](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163697 "Hi guys,  I have a few questions about how to make the Authorize.net plugin work properly for my purposes.  QUESTION 1 I found out that I could add items to the Curl Request that goes to Authorize.net as follows:  In authrorize.php in function &#95;loadStandardVars(&amp;$order) I added the following line:  That sends my description text through to Authorize.net and displays it on the customer receipt that Authorize.net sends out as well.  I need to know how I load variables into a payment plugin from custom fields, so that I can get data from the product, cart, etc. and use them in the payment plugin. I have custom fields in both the Order and the Item tables.  QUESTION 2  In function onBeforeOrderCreate(&amp;$order,&amp;$do) the CURL request is built and sent and the response is parsed.  I saw that the only the following information was being parsed from the data that Authorize.net sends back:  Since there is other data in the Authorize.net response that I want to preserve I added the following lines:  I also added corresponding custom fields in the Order table (&#95;hikashop&#95;order in the DB) and I need to know how to populate those fields with the data I get back from Authorize.net.  I want to be able to view the data under Orders in the admin and I want the customer to be able to view some of that information on their email receipt and on the order view.  In your sample code I have seen the following in the onPaymentNotification(&amp;$statuses)  function:  Is there some variation of that that I can use to get the custom fields and Authorize.net response data into the orders table in the DB?  I have also thought about just using a MySQL query to push the information from the Authorize.net response into the DB, but I'd rather use the functions that are already built into the extension if possible.  QUESTION 3  In order to generate an activation key that users will be purchasing through HikaShop I need to do the following: 1) Run a MySQL query on one of my other Joomla tables 2) Use the results from that to query a remote script 3) Take the response from the remote script and load it into the &#95;hikashop&#95;order table, attached to an item. 4) Display the Activation Key that the remote script generated on the Thank You page.  I purchased HikaSerial and tried unsuccessfully to create a HikaSerial plugin to perform this function. Nothing I tried would make my pack generator appear or work properly, so I have abandoned that for now.  I have viewed the information in the docs on writing a custom plugin, but the documentation doesn't really have enough information about how to get data into and out of a plugin from the main extension, from controllers or from other plugins. It would be really helpful if the documentation was a little clearer about this for those of us that need to make modifications. I also searched the forum, but there is vary little in here about this topic also.  I know you guys are great programmers and this is a great extension. I'm hoping you'll be able to assist me in finding the information I need. I will gladly update this post with the solution when I get it working.  Thanks in advance for your help.")         Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") 12 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:10  Views:1861 | [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 3 months ago |
| [](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163567) | [Authorize.net and Custom Fields](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163567 "Hi guys,  I have a few questions about how to make the Authorize.net plugin work properly for my purposes.  QUESTION 1 I found out that I could add items to the Curl Request that goes to Authorize.net as follows:  In authrorize.php in function &#95;loadStandardVars(&amp;$order) I added the following line:  That sends my description text through to Authorize.net and displays it on the customer receipt that Authorize.net sends out as well.  I need to know how I load variables into a payment plugin from custom fields, so that I can get data from the product, cart, etc. and use them in the payment plugin. I have custom fields in both the Order and the Item tables.  QUESTION 2  In function onBeforeOrderCreate(&amp;$order,&amp;$do) the CURL request is built and sent and the response is parsed.  I saw that the only the following information was being parsed from the data that Authorize.net sends back:  Since there is other data in the Authorize.net response that I want to preserve I added the following lines:  I also added corresponding custom fields in the Order table (&#95;hikashop&#95;order in the DB) and I need to know how to populate those fields with the data I get back from Authorize.net.  I want to be able to view the data under Orders in the admin and I want the customer to be able to view some of that information on their email receipt and on the order view.  In your sample code I have seen the following in the onPaymentNotification(&amp;$statuses)  function:  Is there some variation of that that I can use to get the custom fields and Authorize.net response data into the orders table in the DB?  I have also thought about just using a MySQL query to push the information from the Authorize.net response into the DB, but I'd rather use the functions that are already built into the extension if possible.  QUESTION 3  In order to generate an activation key that users will be purchasing through HikaShop I need to do the following: 1) Run a MySQL query on one of my other Joomla tables 2) Use the results from that to query a remote script 3) Take the response from the remote script and load it into the &#95;hikashop&#95;order table, attached to an item. 4) Display the Activation Key that the remote script generated on the Thank You page.  I purchased HikaSerial and tried unsuccessfully to create a HikaSerial plugin to perform this function. Nothing I tried would make my pack generator appear or work properly, so I have abandoned that for now.  I have viewed the information in the docs on writing a custom plugin, but the documentation doesn't really have enough information about how to get data into and out of a plugin from the main extension, from controllers or from other plugins. It would be really helpful if the documentation was a little clearer about this for those of us that need to make modifications. I also searched the forum, but there is vary little in here about this topic also.  I know you guys are great programmers and this is a great extension. I'm hoping you'll be able to assist me in finding the information I need. I will gladly update this post with the solution when I get it working.  Thanks in advance for your help.")         Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") 12 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:10  Views:1861 | [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 3 months ago |
| [](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#161180) | [Authorize.net and Custom Fields](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#161180 "Hi guys,  I have a few questions about how to make the Authorize.net plugin work properly for my purposes.  QUESTION 1 I found out that I could add items to the Curl Request that goes to Authorize.net as follows:  In authrorize.php in function &#95;loadStandardVars(&amp;$order) I added the following line:  That sends my description text through to Authorize.net and displays it on the customer receipt that Authorize.net sends out as well.  I need to know how I load variables into a payment plugin from custom fields, so that I can get data from the product, cart, etc. and use them in the payment plugin. I have custom fields in both the Order and the Item tables.  QUESTION 2  In function onBeforeOrderCreate(&amp;$order,&amp;$do) the CURL request is built and sent and the response is parsed.  I saw that the only the following information was being parsed from the data that Authorize.net sends back:  Since there is other data in the Authorize.net response that I want to preserve I added the following lines:  I also added corresponding custom fields in the Order table (&#95;hikashop&#95;order in the DB) and I need to know how to populate those fields with the data I get back from Authorize.net.  I want to be able to view the data under Orders in the admin and I want the customer to be able to view some of that information on their email receipt and on the order view.  In your sample code I have seen the following in the onPaymentNotification(&amp;$statuses)  function:  Is there some variation of that that I can use to get the custom fields and Authorize.net response data into the orders table in the DB?  I have also thought about just using a MySQL query to push the information from the Authorize.net response into the DB, but I'd rather use the functions that are already built into the extension if possible.  QUESTION 3  In order to generate an activation key that users will be purchasing through HikaShop I need to do the following: 1) Run a MySQL query on one of my other Joomla tables 2) Use the results from that to query a remote script 3) Take the response from the remote script and load it into the &#95;hikashop&#95;order table, attached to an item. 4) Display the Activation Key that the remote script generated on the Thank You page.  I purchased HikaSerial and tried unsuccessfully to create a HikaSerial plugin to perform this function. Nothing I tried would make my pack generator appear or work properly, so I have abandoned that for now.  I have viewed the information in the docs on writing a custom plugin, but the documentation doesn't really have enough information about how to get data into and out of a plugin from the main extension, from controllers or from other plugins. It would be really helpful if the documentation was a little clearer about this for those of us that need to make modifications. I also searched the forum, but there is vary little in here about this topic also.  I know you guys are great programmers and this is a great extension. I'm hoping you'll be able to assist me in finding the information I need. I will gladly update this post with the solution when I get it working.  Thanks in advance for your help.")         Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") 12 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:10  Views:1861 | [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 3 months ago |
| [](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#161031) | [Authorize.net and Custom Fields](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#161031 "Hi guys,  I have a few questions about how to make the Authorize.net plugin work properly for my purposes.  QUESTION 1 I found out that I could add items to the Curl Request that goes to Authorize.net as follows:  In authrorize.php in function &#95;loadStandardVars(&amp;$order) I added the following line:  That sends my description text through to Authorize.net and displays it on the customer receipt that Authorize.net sends out as well.  I need to know how I load variables into a payment plugin from custom fields, so that I can get data from the product, cart, etc. and use them in the payment plugin. I have custom fields in both the Order and the Item tables.  QUESTION 2  In function onBeforeOrderCreate(&amp;$order,&amp;$do) the CURL request is built and sent and the response is parsed.  I saw that the only the following information was being parsed from the data that Authorize.net sends back:  Since there is other data in the Authorize.net response that I want to preserve I added the following lines:  I also added corresponding custom fields in the Order table (&#95;hikashop&#95;order in the DB) and I need to know how to populate those fields with the data I get back from Authorize.net.  I want to be able to view the data under Orders in the admin and I want the customer to be able to view some of that information on their email receipt and on the order view.  In your sample code I have seen the following in the onPaymentNotification(&amp;$statuses)  function:  Is there some variation of that that I can use to get the custom fields and Authorize.net response data into the orders table in the DB?  I have also thought about just using a MySQL query to push the information from the Authorize.net response into the DB, but I'd rather use the functions that are already built into the extension if possible.  QUESTION 3  In order to generate an activation key that users will be purchasing through HikaShop I need to do the following: 1) Run a MySQL query on one of my other Joomla tables 2) Use the results from that to query a remote script 3) Take the response from the remote script and load it into the &#95;hikashop&#95;order table, attached to an item. 4) Display the Activation Key that the remote script generated on the Thank You page.  I purchased HikaSerial and tried unsuccessfully to create a HikaSerial plugin to perform this function. Nothing I tried would make my pack generator appear or work properly, so I have abandoned that for now.  I have viewed the information in the docs on writing a custom plugin, but the documentation doesn't really have enough information about how to get data into and out of a plugin from the main extension, from controllers or from other plugins. It would be really helpful if the documentation was a little clearer about this for those of us that need to make modifications. I also searched the forum, but there is vary little in here about this topic also.  I know you guys are great programmers and this is a great extension. I'm hoping you'll be able to assist me in finding the information I need. I will gladly update this post with the solution when I get it working.  Thanks in advance for your help.")         Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") 12 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:10  Views:1861 | [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 3 months ago |
| [](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#161021) | [Authorize.net and Custom Fields](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#161021 "Hi guys,  I have a few questions about how to make the Authorize.net plugin work properly for my purposes.  QUESTION 1 I found out that I could add items to the Curl Request that goes to Authorize.net as follows:  In authrorize.php in function &#95;loadStandardVars(&amp;$order) I added the following line:  That sends my description text through to Authorize.net and displays it on the customer receipt that Authorize.net sends out as well.  I need to know how I load variables into a payment plugin from custom fields, so that I can get data from the product, cart, etc. and use them in the payment plugin. I have custom fields in both the Order and the Item tables.  QUESTION 2  In function onBeforeOrderCreate(&amp;$order,&amp;$do) the CURL request is built and sent and the response is parsed.  I saw that the only the following information was being parsed from the data that Authorize.net sends back:  Since there is other data in the Authorize.net response that I want to preserve I added the following lines:  I also added corresponding custom fields in the Order table (&#95;hikashop&#95;order in the DB) and I need to know how to populate those fields with the data I get back from Authorize.net.  I want to be able to view the data under Orders in the admin and I want the customer to be able to view some of that information on their email receipt and on the order view.  In your sample code I have seen the following in the onPaymentNotification(&amp;$statuses)  function:  Is there some variation of that that I can use to get the custom fields and Authorize.net response data into the orders table in the DB?  I have also thought about just using a MySQL query to push the information from the Authorize.net response into the DB, but I'd rather use the functions that are already built into the extension if possible.  QUESTION 3  In order to generate an activation key that users will be purchasing through HikaShop I need to do the following: 1) Run a MySQL query on one of my other Joomla tables 2) Use the results from that to query a remote script 3) Take the response from the remote script and load it into the &#95;hikashop&#95;order table, attached to an item. 4) Display the Activation Key that the remote script generated on the Thank You page.  I purchased HikaSerial and tried unsuccessfully to create a HikaSerial plugin to perform this function. Nothing I tried would make my pack generator appear or work properly, so I have abandoned that for now.  I have viewed the information in the docs on writing a custom plugin, but the documentation doesn't really have enough information about how to get data into and out of a plugin from the main extension, from controllers or from other plugins. It would be really helpful if the documentation was a little clearer about this for those of us that need to make modifications. I also searched the forum, but there is vary little in here about this topic also.  I know you guys are great programmers and this is a great extension. I'm hoping you'll be able to assist me in finding the information I need. I will gladly update this post with the solution when I get it working.  Thanks in advance for your help.")         Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") 12 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:10  Views:1861 | [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 3 months ago |
| [](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#160820) | [Authorize.net and Custom Fields](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#160820 "Hi guys,  I have a few questions about how to make the Authorize.net plugin work properly for my purposes.  QUESTION 1 I found out that I could add items to the Curl Request that goes to Authorize.net as follows:  In authrorize.php in function &#95;loadStandardVars(&amp;$order) I added the following line:  That sends my description text through to Authorize.net and displays it on the customer receipt that Authorize.net sends out as well.  I need to know how I load variables into a payment plugin from custom fields, so that I can get data from the product, cart, etc. and use them in the payment plugin. I have custom fields in both the Order and the Item tables.  QUESTION 2  In function onBeforeOrderCreate(&amp;$order,&amp;$do) the CURL request is built and sent and the response is parsed.  I saw that the only the following information was being parsed from the data that Authorize.net sends back:  Since there is other data in the Authorize.net response that I want to preserve I added the following lines:  I also added corresponding custom fields in the Order table (&#95;hikashop&#95;order in the DB) and I need to know how to populate those fields with the data I get back from Authorize.net.  I want to be able to view the data under Orders in the admin and I want the customer to be able to view some of that information on their email receipt and on the order view.  In your sample code I have seen the following in the onPaymentNotification(&amp;$statuses)  function:  Is there some variation of that that I can use to get the custom fields and Authorize.net response data into the orders table in the DB?  I have also thought about just using a MySQL query to push the information from the Authorize.net response into the DB, but I'd rather use the functions that are already built into the extension if possible.  QUESTION 3  In order to generate an activation key that users will be purchasing through HikaShop I need to do the following: 1) Run a MySQL query on one of my other Joomla tables 2) Use the results from that to query a remote script 3) Take the response from the remote script and load it into the &#95;hikashop&#95;order table, attached to an item. 4) Display the Activation Key that the remote script generated on the Thank You page.  I purchased HikaSerial and tried unsuccessfully to create a HikaSerial plugin to perform this function. Nothing I tried would make my pack generator appear or work properly, so I have abandoned that for now.  I have viewed the information in the docs on writing a custom plugin, but the documentation doesn't really have enough information about how to get data into and out of a plugin from the main extension, from controllers or from other plugins. It would be really helpful if the documentation was a little clearer about this for those of us that need to make modifications. I also searched the forum, but there is vary little in here about this topic also.  I know you guys are great programmers and this is a great extension. I'm hoping you'll be able to assist me in finding the information I need. I will gladly update this post with the solution when I get it working.  Thanks in advance for your help.")         Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") 12 years 3 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:10  Views:1861 | [Last Post](/forum/29-payment-methods/869110-authorize-net-and-custom-fields#163702 "Hi,  This code can be put in a view, it depend on when you need it to be executed. Or you can be in the authorize&#95;end view of the plugin.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 3 months ago |
| [](/forum/29-payment-methods/869101-authorize-net-transaction-details#160777) | [Authorize.net Transaction Details](/forum/29-payment-methods/869101-authorize-net-transaction-details#160777 "Hi Guys,  I am able to process transactions through Authorize.net, but in the back end when I view the orders it does not display many of the fields from the Authorize.net response that would be useful to have on record.  The receipt that Authorize.net sends to the customer contains information I would like to display for the customer at the time of checkout as well as in my Orders view.  Authorization Code : 37GR0V Transaction ID : 2215036874  What is the best way to display these items both in the front end for the user and in the amdin area?  Thanks in advance for your help.")        Category: [Payment Methods](/forum/29-payment-methods "Discussions about the different payment methods for Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/29-payment-methods/869101-authorize-net-transaction-details#160853 "Hi,  There is no easy solution to display these at the moment. You'll have to edit the plugin file plugins/hikashoppayment/authorize/authorize.php and store the data of the payment notification in the order in the onPaymentNotification function. If you add it to the history&#95;data, it will display automatically in the backend. If you want it on the frontend, you'll have to get that data and display it in the authorize&#95;thankyou.php file of the plugin (same folder).") 12 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:671 | [Last Post](/forum/29-payment-methods/869101-authorize-net-transaction-details#160853 "Hi,  There is no easy solution to display these at the moment. You'll have to edit the plugin file plugins/hikashoppayment/authorize/authorize.php and store the data of the payment notification in the order in the onPaymentNotification function. If you add it to the history&#95;data, it will display automatically in the backend. If you want it on the frontend, you'll have to get that data and display it in the authorize&#95;thankyou.php file of the plugin (same folder).") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 4 months ago |
| [](/forum/27-checkout/869065-php-code-in-custom-field#160590) | [PHP Code in Custom Field?](/forum/27-checkout/869065-php-code-in-custom-field#160590 "I am wondering if it is possible to use PHP to populate a dropdown in a custom field.  On my website, users register devices they have purchased through our distributors. The users can then purchase optional add-ons, which come in the form of activation keys which they enter in their device. These activation keys are specific to each individual device and are generated by a remote script.  When the user purchases an activation key I want them to be able to select the device they want to buy the key for as part of the checkout process. I have been able to create the custom field as a dropdown, but I am unable to find a way to populate the list with user-specific data from the DB.  Any help is appreciated.")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/27-checkout/869065-php-code-in-custom-field#160595 "Hi,  Instead of trying to populate an existing custom field type with data, I would recommend to create a new type of custom field that you would call for example &quot;serial number&quot; which would display a dropdown of the serial numbers of the current user. Then you could just create a new custom field of that type for the table item (in order to have it on the product page, when the user add the product to the cart) and the selected value would be carried on to the checkout, the order, the email notifications and the invoice. To create such new types of custom field, you can develop a small plugin implementing our Fields API triggers:   www.hikashop.com/support/support/documen...entation.html#fields  You can find an example of such plugin with the latest version of HikaShop, in the folder plugins/hikashop/datepickerfield which adds the &quot;plugin datepicker&quot; type of custom fields in order to be able to create custom fields for date selection with advanced restrictions.  PS: I already replied to your contact request on the same question via email. You didn't receive it ?") 12 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:622 | [Last Post](/forum/27-checkout/869065-php-code-in-custom-field#160595 "Hi,  Instead of trying to populate an existing custom field type with data, I would recommend to create a new type of custom field that you would call for example &quot;serial number&quot; which would display a dropdown of the serial numbers of the current user. Then you could just create a new custom field of that type for the table item (in order to have it on the product page, when the user add the product to the cart) and the selected value would be carried on to the checkout, the order, the email notifications and the invoice. To create such new types of custom field, you can develop a small plugin implementing our Fields API triggers:   www.hikashop.com/support/support/documen...entation.html#fields  You can find an example of such plugin with the latest version of HikaShop, in the folder plugins/hikashop/datepickerfield which adds the &quot;plugin datepicker&quot; type of custom fields in order to be able to create custom fields for date selection with advanced restrictions.  PS: I already replied to your contact request on the same question via email. You didn't receive it ?") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 4 months ago |
| [](/forum/26-product-category-display/869049-how-can-i-populate-a-custom-field-from-the-db#160471) | [How can I populate a custom field from the DB?](/forum/26-product-category-display/869049-how-can-i-populate-a-custom-field-from-the-db#160471 "I need to populate a custom field in the item table from a MySQL query.  What's the best way to do this?  Thanks in advance for your help.")        Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 12 years 4 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/26-product-category-display/869049-how-can-i-populate-a-custom-field-from-the-db#160524 "Hi,  At which time do you want to populate the custom field ? And what kind of custom field ?  The solution, will be to edit the view displaying the custom field, make a request and fill the field value in php directly. But I don't really understand your needs actually, because you can potentially the default value option to fill the custom fields by default.") 12 years 4 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:1  Views:286 | [Last Post](/forum/26-product-category-display/869049-how-can-i-populate-a-custom-field-from-the-db#160524 "Hi,  At which time do you want to populate the custom field ? And what kind of custom field ?  The solution, will be to edit the view displaying the custom field, make a request and fill the field value in php directly. But I don't really understand your needs actually, because you can potentially the default value option to fill the custom fields by default.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 4 months ago |
| [](/forum/27-checkout/868085-pass-url-parameter-to-product-page-checkout-page#155459) | [Pass URL Parameter to Product Page/Checkout Page](/forum/27-checkout/868085-pass-url-parameter-to-product-page-checkout-page#155459 "How do I pass a custom parameter to the product checkout page?  Example: I have a custom field named 'serialno' and the product URL is   www.MYWEBSITE.com/index.php/option=com&#95;h...ckout=1&amp;product&#95;id=1  - I was hoping that I could simply add '&amp;serialno=12345' to the URL and it would populate the field, but that did not work.  If this can't be done I'd like to be able to populate a custom dropdown field with the results of a MySQL query so I can have the customer select one of their serial numbers and attach the purchase to that item.  One way or the other I need the purchase to be associated with a given serial number of a device that the customer has registered in their profile in the Joomla DB.  Thanks in advance for your help. I really look forward to using this extension to its full potential.  -- url of the page with the problem -- :   mywebsite.com/index.php?option=com&#95;hikas...ckout=1&amp;product&#95;id=1  -- HikaShop version -- :Business: 2.3.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.x.x -- Browser(s) name and version -- : ALL/ANY -- Error-message(debug-mod must be tuned on) -- : No errors")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 12 years 5 months ago, by [convergent](/forum/user/32499-convergent "View convergent's Profile")       [Last Post](/forum/27-checkout/868085-pass-url-parameter-to-product-page-checkout-page#155487 "You can. You were actually almost there. The name of the parameter in the URL must be data&#91;item&#93;&#91;serialno&#93; and then it will work. See here for more information:   www.hikashop.com/forum/2-general-talk-ab...-product-fields.html") 12 years 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:570 | [Last Post](/forum/27-checkout/868085-pass-url-parameter-to-product-page-checkout-page#155487 "You can. You were actually almost there. The name of the parameter in the URL must be data&#91;item&#93;&#91;serialno&#93; and then it will work. See here for more information:   www.hikashop.com/forum/2-general-talk-ab...-product-fields.html") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 5 months ago |

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

Time to create page: 0.143 seconds

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

[](#top)
