-
-
Save fabian-bouche-liferay/ae634bab4c1e240cd86363ce554b0696 to your computer and use it in GitHub Desktop.
GUEST_CHECKOUT_AUTHENTICATION
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
<#if commerceOrderHttpHelper.isGuestCheckoutEnabled(request)> | |
<script> | |
if(Liferay.ThemeDisplay.isSignedIn()) { | |
window.location.replace("${commerceOrderHttpHelper.getCommerceCheckoutPortletURL(request)}"); | |
} | |
</script> | |
<@liferay_aui.script> | |
if(Liferay.ThemeDisplay.isSignedIn()) { | |
window.location.replace("${commerceOrderHttpHelper.getCommerceCheckoutPortletURL(request)}"); | |
} | |
</@> | |
<#if validator.isNotNull(Title)> | |
<h3 style="font-weight: normal">${Title.getData()}</h3> | |
</#if> | |
<#if validator.isNotNull(Description)> | |
<p>${Description.getData()}</p> | |
</#if> | |
<a class="btn btn-primary w-100" href="${commerceOrderHttpHelper.getCommerceCheckoutPortletURL(request)}"> | |
${ButtonLabel.getData()} | |
</a> | |
</#if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment