Hello,
We have few queries regarding module configuration page:
1. How can we add date type field? Means when we click input box it should show calendar or something like that to select the date.
2. How can we use multiselect box?
Thanks!
Posted 24 December 2021 - 01:16 PM #1
Hello,
We have few queries regarding module configuration page:
1. How can we add date type field? Means when we click input box it should show calendar or something like that to select the date.
2. How can we use multiselect box?
Thanks!
Posted 24 December 2021 - 02:15 PM #2
There is no ability to add field with the date type, but you can add multiple selectbox
https://docs.cs-cart..._structure.html
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)
Posted 04 January 2022 - 06:46 AM #3
Hello,
Thank you for your reply. Can you please let me know how can we add dynamic option in select box?
Thanks!
Posted 04 January 2022 - 08:19 AM #4
Hello,
Thank you for your reply. Can you please let me know how can we add dynamic option in select box?
Thanks!
Please clarify your question in more details
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)
Posted 04 January 2022 - 11:58 AM #5
Hello,
Our question is that we are getting the order status in one function in func.php file and using this function in handler in addon.xml while creating the item but options are not getting added. So how can we add this?
In other worlds how can we add all the order status in a select box in addon setting page?
Thanks!
Posted 04 January 2022 - 01:18 PM #6
Use Call requests module as example
function fn_settings_variants_addons_call_requests_order_status() { $data = array( '' => ' -- ' ); foreach (fn_get_statuses(STATUSES_ORDER) as $status) { $data[$status['status']] = $status['description']; } return $data; }
where
call_requests - is the addon ID
order_status - is the setting ID
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart USD 1210 Multi-Vendor USD 1250 Multi-Vendor PLUS USD 3100 (2775)
CS-Cart Ultimate USD 4025 CS-Cart + YOUPI USD 1459 Multi-Vendor Ultimate USD 7500 (6000)