- Posts: 31
- Thank you received: 0
put 2 custom fields in different checkout steps
11 years 3 months ago #203962
by dalusoha
put 2 custom fields in different checkout steps was created by dalusoha
-- HikaShop version -- : 2.5
-- Joomla version -- : 3.4
-- PHP version -- : 5.5
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : I want to put 2 custom fields in different checkout steps ( custom field 1 in step 1, custom field 2 in step 2), any way to do that ?
I want to put 2 custom fields in different checkout steps ( custom field 1 in step 1, custom field 2 in step 2), any way to do that ?
That is very essential for me because i have different messages for customers in different checkout process.
Please help me for that.
Thanks
-- Joomla version -- : 3.4
-- PHP version -- : 5.5
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : I want to put 2 custom fields in different checkout steps ( custom field 1 in step 1, custom field 2 in step 2), any way to do that ?
I want to put 2 custom fields in different checkout steps ( custom field 1 in step 1, custom field 2 in step 2), any way to do that ?
That is very essential for me because i have different messages for customers in different checkout process.
Please help me for that.
Thanks
Please Log in or Create an account to join the conversation.
11 years 3 months ago #203967
by nicolas
Replied by nicolas on topic put 2 custom fields in different checkout steps
Hi,
There is no option for that, but we have something in place to do it easily by editing the file "custom_fields" of the view "checkout" via the menu Display>Views and changing the code:
There, you can for example write:
And if you have the "fields" view on the first and second step of your checkout workflow, the field with the column name my_special_field1 will be displayed on the first step, and the field with the column name my_special_field2 will be displayed on the second step.
There is no option for that, but we have something in place to do it easily by editing the file "custom_fields" of the view "checkout" via the menu Display>Views and changing the code:
Code:
$showfields = array(
'my_special_field1' => 0,
);
Code:
$showfields = array(
'my_special_field1' => 0,
'my_special_field2' => 1,
);
Please Log in or Create an account to join the conversation.
Time to create page: 0.162 seconds