Setono / SyliusTermsPlugin

Add terms and conditions to your Sylius store and have the customer accept them on checkout
MIT License
34 stars 12 forks source link

Enable admin to choose where Terms are displayed (checkout / customer registration form / footer) #48

Closed LeoMoshko closed 9 months ago

LeoMoshko commented 3 years ago
LeoMoshko commented 3 years ago

How about replacing 3 properties (displayInCheckout, displayInCustomerSignup, displayInFooter) to one (array $displayAt = []) which renders at admin form as 3 checkboxes. This approach will be extendable (so someone can add 4th or more places).

Thanks for PR

Thanks for bringing this topic to the table. Let us evaluate this idea. Other suggestions are implemented already (changed namings)

loevgaard commented 9 months ago

Something like is being worked on here: https://github.com/Setono/SyliusTermsPlugin/pull/77. Closing because of long inactivity and new version coming up