Fixed Not getting sample link for file if url is selected
This commit is contained in:
parent
6f3b95811b
commit
b5163fe9b3
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue