-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update publishable views to Alpine (#260)
- Loading branch information
1 parent
e01badb
commit 1dd1312
Showing
4 changed files
with
34 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{{ if (variants | count) > 1 }} | ||
<select name="ss-product-variant" id="ss-product-variant" class="ss-variant-select {{ params.class }}"> | ||
<select name="ss-product-variant" class="ss-variant-select {{ params.class }}"> | ||
{{ variants }} | ||
<option value="{{ slug }}" data-in-stock="{{ if __out_of_stock }}false{{ else }}true{{ /if }}"{{ if __out_of_stock }} disabled{{ /if }}>{{ __translated_string }}</option> | ||
{{ /variants }} | ||
</select> | ||
{{ else }} | ||
<input type="hidden" name="ss-product-variant" id="ss-product-variant" value="{{ variants.0.slug }}"> | ||
<input type="hidden" name="ss-product-variant" value="{{ variants.0.slug }}"> | ||
{{ /if }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters