solidusio / solidusio/solidus

Add `frontend_viewable` checkbox to the legacy backend order form

Open
#6,365 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

changelog:solidus_backend
Dominant language
Ruby
Stars
5.3k
Forks
1.4k
Avg merge
1d 22h
Merged PRs (30d)
62

Description

Currently we are hard coding frontend_viewable: false into the order params in the admin orders controller. What about making this a checkbox on the admin orders screen? Then a customer agent could decide if the order created is visible by the customer or not.

Originally posted by @tvdeyen in https://github.com/solidusio/solidus/issues/6362#issuecomment-3489650281

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with backend/app/controllers/spree/admin/orders_controller.rb at the linked order-parameter handling, then trace the legacy admin order form that submits those parameters. Add the checkbox so an agent can choose customer visibility, and verify that the resulting order receives the selected frontend_viewable value.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.