Skip to main content

put 2 custom fields in different checkout steps

More
11 years 3 months ago #203962 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

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #203967 by nicolas
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:
Code:
$showfields = array( 'my_special_field1' => 0, );
There, you can for example write:
Code:
$showfields = array( 'my_special_field1' => 0, 'my_special_field2' => 1, );
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.142 seconds
Powered by Kunena Forum