Skip to content

Add frontend_viewable checkbox to admin new order form#6471

Closed
Lindau2 wants to merge 1 commit intosolidusio:mainfrom
Lindau2:feature/frontend-viewable-checkbox
Closed

Add frontend_viewable checkbox to admin new order form#6471
Lindau2 wants to merge 1 commit intosolidusio:mainfrom
Lindau2:feature/frontend-viewable-checkbox

Conversation

@Lindau2
Copy link
Copy Markdown

@Lindau2 Lindau2 commented Apr 27, 2026

Replaced the hard-coded frontend_viewable value in the admin order creation flow with a dynamic implementation based on user input.

Updated the orders controller to read the frontend_viewable value from request parameters instead of always defaulting to false.

Introduced a new admin order creation view to allow input before order creation, including a checkbox that lets admins control whether an order is visible to the customer.

Modified the new action to handle both rendering the form and creating the order on submission, instead of immediately creating and redirecting.

@Lindau2 Lindau2 requested a review from a team as a code owner April 27, 2026 16:28
@github-actions github-actions Bot added the changelog:solidus_backend Changes to the solidus_backend gem label Apr 27, 2026
@jarednorman
Copy link
Copy Markdown
Member

I don't even think that controller change is syntactically valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:solidus_backend Changes to the solidus_backend gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants