You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to modify the backend in the Medusa Dashboard to handle a product option called "Page Count". Instead of manually setting a price for every possible number of pages, I want to create a price range. For example, 1-100 pages would cost 20 cents, 101-200 would cost 15 cents, and so on. Then, in the frontend, I want to create an input field where the customer can type, for example, 87 pages, and the backend will return the price for the range 1-100. I can handle the frontend input field, but modifying the backend in the dashboard is overwhelming. Can someone help me? I am using the default installation with npx create-medusa-app@latest. with fronted and dashboard
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to modify the backend in the Medusa Dashboard to handle a product option called "Page Count". Instead of manually setting a price for every possible number of pages, I want to create a price range. For example, 1-100 pages would cost 20 cents, 101-200 would cost 15 cents, and so on. Then, in the frontend, I want to create an input field where the customer can type, for example, 87 pages, and the backend will return the price for the range 1-100. I can handle the frontend input field, but modifying the backend in the dashboard is overwhelming. Can someone help me? I am using the default installation with npx create-medusa-app@latest. with fronted and dashboard
Beta Was this translation helpful? Give feedback.
All reactions