mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Show Price To Members Only
This commit is contained in:
parent
971119fdd0
commit
33a49e8ba0
@ -28,6 +28,7 @@ return [
|
||||
'popular_ads_limit',
|
||||
'ads_image_limit',
|
||||
'default_view_type',
|
||||
'show_price_to_members_only',
|
||||
'price_area_hidden',
|
||||
'hide_listing_standard_price',
|
||||
'hide_zero_price',
|
||||
|
||||
@ -443,4 +443,10 @@ return [
|
||||
'default_value' => false,
|
||||
]
|
||||
],
|
||||
'show_price_to_members_only' => [
|
||||
'type' => 'anomaly.field_type.boolean',
|
||||
'config' => [
|
||||
'default_value' => false,
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
@ -264,5 +264,8 @@ return [
|
||||
],
|
||||
'show_subcats_mobile' => [
|
||||
'name' => 'Show subcategories on mobile view',
|
||||
]
|
||||
],
|
||||
'show_price_to_members_only' => [
|
||||
'name' => 'Show Price To Members Only',
|
||||
],
|
||||
];
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<div class="slider-text">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row
|
||||
{{ setting_value('visiosoft.module.advs::show_price_to_members_only') ? (auth_check() ? false : 'd-none') : false }}">
|
||||
{% set standardPrice = adv.standard_price.value %}
|
||||
{% if standardPrice and standardPrice > 0 %}
|
||||
<div class="d-flex flex-wrap align-items-center">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user