Restrict Use On Checkout Page if some product required customers details to place and order?

Topic summary

A pharmacy app requires different checkout flows based on product type:

Issue 1 - Conditional Customer Data Collection:

  • Prescription products need customer details and completed questionnaires at checkout
  • Non-prescription products should bypass these requirements
  • Problem: customers can log out during checkout for prescription items, causing the required data collection to fail
  • Additional concern: need to attach product consultancy/questionnaire data to each order and link multiple consultancies to products via order attributes

Issue 2 - Checkout Page Restrictions:

  • Conditional requirements are currently implemented on earlier pages (cart and before)
  • Seeking guidance on how to enforce these restrictions specifically on the checkout page

Status: One user has responded asking if the original poster still needs help resolving these issues. The discussion remains open with no solution provided yet.

Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

Hello,

We have faced some issues with application development.

Issue1:

We have a pharmacy app and we needed to do customization on the checkout page.

  1. Prescribed product checkout:

Needed customer detail with their filled questionnaire of products.

  1. Without prescribed product checkout:

No need for questionnaires and customer detail during checkout.

Here, the checkout page creates an issue where customers can log out while placing an order. we needed customer detail while placing an order of a prescribed product. So, need your help on how can we able to achieve this functionality on the checkout page. We have put some required conditions on other pages till the cart page.

Issue 2:

We have also faced an issue to attach the consultancy of products on each order to get the detail of order products questionnaires. How can we add an order attribute which helps us to link more than one consultancy of products?

Please help regarding this issue issues and needed your support to resolve an issue asap.

www.online-pharmacy4u.co.uk

Hi @RichardSmith2

Are you still looking for a fix for your issues?