Prompting user to complete a form during checkout

  • Posts: 192
  • Thank you received: 15
  • Hikashop Business
3 years 11 months ago #327119

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.20
-- PHP version -- : 7.3.24
-- Browser(s) name and version -- : Opera
-- Error-message(debug-mod must be tuned on) -- : no error - general questions

Hi,
we need purchasers of certain products to complete a form as part of their transaction. For example, to obtain medical details before dispensing a cream with mild anesthetic in it. Is there any way we can force or prompt users to complete a linked form (i.e. as part of the checkout workflow)?

We use Covert Forms.

Regards,
Ian and Stu

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
3 years 11 months ago #327120

Hi,

Why not have the form directly inside the checkout ?
You can do that by creating custom fields of the table "order" via the menu Display>Custom fields.
These fields will be displayed by the "fields" view in the checkout workflow, and you can restrict them to only some products or categories of products.
Now if you really want to use a third party form page, you would need :
1. some code customization on the checkout to display a link to the form based on the products in the cart
.2 the development of a plugin to check that the form has been filled before validating the creation of the order
So it would require a developer to work on that for you.
That's why I would highly suggest to use HikaShop custom fields instead. The information will be directly linked to the order, you'll be able to to easily display the fields where you want with all the available settings and restrict the fields only for the products needing them, all that without any coding.

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

  • Posts: 192
  • Thank you received: 15
  • Hikashop Business
3 years 10 months ago #328304

Thanks,
we used this option (your first recommendation) rather than altering the mail template's php.

Kind regards,
Ian & Stu

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

Time to create page: 0.058 seconds
Powered by Kunena Forum