Merge: Fix for buy now links

This commit is contained in:
Hillel Coren 2018-02-14 14:12:59 +02:00
parent 2a9ec6b192
commit e5c1a19a70

View File

@ -423,7 +423,7 @@ iframe.src = '{{ rtrim(SITE_URL ,'/') }}/view/'
if (productId) { if (productId) {
@if (Utils::isNinjaProd()) @if (Utils::isNinjaProd())
var domain = '{{ $account->present()->clientPortalLink(true) }}'; var domain = '{{ $account->present()->clientPortalLink(true) }}/buy_now';
@else @else
var domain = '{{ url('/buy_now') }}'; var domain = '{{ url('/buy_now') }}';
@endif @endif