Fixed Not getting sample link for file if url is selected

This commit is contained in:
jitendra 2019-09-10 15:06:34 +05:30
parent 6f3b95811b
commit b5163fe9b3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
{{ $link->title }}
</span>
@if ($link->sample_file)
@if ($link->sample_file || $link->sample_url)
<a href="{{ route('shop.downloadable.download_sample', ['type' => 'link', 'id' => $link->id]) }}" target="_blank">{{ __('shop::app.products.sample') }}</a>
@endif
</li>