Skip to content

Commit e9f9ae5

Browse files
Added client id variable to window
1 parent 6588a20 commit e9f9ae5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Presentation/SmartStore.Web/Views/Shared/Partials/_ClientRes.cshtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,7 @@
5656
<script>
5757
window.Res = {
5858
@foreach (var key in clientResKeys) { <text>"@(Html.Raw(key))": @(T(key).JsText),</text> }
59-
};
59+
};
60+
61+
window.ClientId = "@CommonServices.WorkContext.CurrentCustomer.CustomerGuid";
6062
</script>

0 commit comments

Comments
 (0)