Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bctheme): BCTHEME-51 Optional Custom Options (Modifiers) #1708

Merged
merged 2 commits into from
Jul 6, 2020

Conversation

BC-tymurbiedukhin
Copy link
Contributor

What?

For Custom Options (modifiers) that are not required for the shopper to fill out add the word "Optional" next to the field.

Tickets / Documentation

https://jira.bigcommerce.com/browse/BCTHEME-51

Screenshots (if appropriate)

Screenshot 2020-07-01 at 19 37 02

ping @yurytut1993 @golcinho

@bigbot
Copy link

bigbot commented Jul 1, 2020

Autotagging @bigcommerce/storefront-team @davidchin

@@ -0,0 +1,3 @@
<small>
{{#if required}}{{lang 'common.required'}}{{else}}{{lang 'common.optional'}}{{/if}}
</small>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an End of Line here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

End of the line was added

@@ -0,0 +1,3 @@
<small>
{{#if required}}{{lang 'common.required'}}{{else}}{{lang 'common.optional'}}{{/if}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bc-as are we sure we want to surface Optional as a flag across all not not required fields.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@junedkazi Yes, let's add it. We can re-evaluate this into a page builder toggle if necessary

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bc-as can we create a ticket to explore the Optional being Optional via Page Builder.

@junedkazi junedkazi merged commit d89865a into bigcommerce:master Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants