coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
564 stars 128 forks source link

Refactor the Pricing settings in Fulfillment for both Restos and Hubs #2271

Open agichim opened 3 years ago

agichim commented 3 years ago
  1. The section amount charged by the platform should show/hide depending on the radio button: NO/YES
  2. The section mentioned in point 1 should show below the radio button option. See screenshot

image

I think the way it is now + the wording, it doesn't make it clear what you can do if you select YES on the radio button.

agichim commented 3 years ago

In addition, when Yes is selected, hide or disable Amount charged by the platform (when you input a number).

agichim commented 3 years ago

Considering this conversation here it would make more sense that when either the platform or customer answers to yes or no the other option should mirror the one selected.

If you select yes under Amount charged by the platform, then automatically Amount paid by the customer should change to yes or a message should show saying make sure to select yes under Amount paid by the customer**

agichim commented 3 years ago

Here's an idea of a different layout, if it's doable. The images are self-explanatory I think. The blue and grey are 2 separate tabs, only the contents changes. The main thing is that when 1 tab is selected, the settings on the other tab are deactivated. Or something similar to how Delivery and Takeaway have a checkbox can be implemented.

Fixed pricing

image

Custom pricing

image

Percentage fee

image

Altogether it would look like this

image