Skip to content

Commit

Permalink
feat: change default product options text
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomerford committed Dec 18, 2023
1 parent eae92b2 commit 628b863
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
"default_image_product": "img/ProductDefault.gif",
"default_image_gift_certificate": "img/GiftCertificate.png",
"body-font": "Google_Karla_400",
"headings-font": "Google_Old+Standard+TT_400",
"headings-font": "Google_Open+Sans_700",
"fontSize-root": 14,
"fontSize-h1": 28,
"fontSize-h2": 25,
Expand Down
6 changes: 5 additions & 1 deletion templates/components/products/options/set-radio.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<div class="form-field" data-product-attribute="set-radio" role="radiogroup" aria-labelledby="radio-group-label-{{id}}">
<label class="form-label form-label--alternate form-label--inlineSmall" id="radio-group-label-{{id}}">
{{ this.display_name }}:
{{#if this.display_name '===' 'Default'}}
Options:
{{else}}
{{this.display_name}}:
{{/if}}

{{> components/common/requireness-msg}}
</label>
Expand Down
6 changes: 5 additions & 1 deletion templates/components/products/options/set-rectangle.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<div class="form-field" data-product-attribute="set-rectangle" role="radiogroup" aria-labelledby="rectangle-group-label">
<label class="form-label form-label--alternate form-label--inlineSmall" id="rectangle-group-label">
{{this.display_name}}:
{{#if this.display_name '===' 'Default'}}
Options:
{{else}}
{{this.display_name}}:
{{/if}}
<span data-option-value></span>

{{> components/common/requireness-msg}}
Expand Down
6 changes: 5 additions & 1 deletion templates/components/products/options/set-select.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<div class="form-field" data-product-attribute="set-select">
<label class="form-label form-label--alternate form-label--inlineSmall" for="attribute_select_{{id}}">
{{ this.display_name }}:
{{#if this.display_name '===' 'Default'}}
Options:
{{else}}
{{this.display_name}}:
{{/if}}

{{> components/common/requireness-msg}}
</label>
Expand Down

0 comments on commit 628b863

Please sign in to comment.