templates/forms/directory/directory-type.html.twig line 1
{% if item is not empty %}
<div class="alert alert-info">
{% if purchaseItem is empty %}
<div class="float-right">
<button
type="submit"
name="action"
value="discard"
class="btn btn-link p-0"
><i class="fa fa-close"></i> Discard</button> or
<button
type="submit"
class="btn btn-link p-0"
name="action"
value="add_to_cart"
><i class="fa fa-shopping-cart"></i> Save and create new</button>
</div>
{% else %}
<div class="float-right">
<a
href="/be-part-of-the-directory"
class="btn btn-link p-0"
><i class="fa fa-plus"></i> Create New Directory</a>
</div>
{% endif %}
You are currently editing item: #{{ item.getId() }}
</div>
{% endif %}
<h1 style="color: #a41822">Be Part of the RCS Directory</h1>
<p class="mt-4">RoofersCoffeeShop.com offers monthly and annual packages to be featured in the RCS Directory. We offer directories for Products & Services, Distributors, Associations, Consultants and Manufactoers Reps. You also have the option to have featured placement, putting your directory listing on top of others in searches behind our partners.</p>
<div class="row my-3">
<div class="something-great-photo">
<img src="/uploads/media/2016/12/something-great-roofing1.jpg" alt="Be Part of Something GREAT! Be Part of the RCS Directory #1" loading='lazy'>
</div>
<div class="something-great-photo">
<img src="/uploads/media/2016/12/something-great-roofing2.jpg" alt="Be Part of Something GREAT! Be Part of the RCS Directory #2" loading='lazy'>
</div>
<div class="something-great-photo">
<img src="/uploads/media/2016/12/something-great-roofing3.jpg" alt="Be Part of Something GREAT! Be Part of the RCS Directory #3" loading='lazy'>
</div>
<div class="something-great-photo">
<img src="/uploads/media/2016/12/something-great-roofing4.jpg" alt="Be Part of Something GREAT! Be Part of the RCS Directory #4" loading='lazy'>
</div>
<div class="something-great-photo">
<img src="/uploads/media/2016/12/something-great-roofing5.jpg" alt="Be Part of Something GREAT! Be Part of the RCS Directory #5" loading='lazy'>
</div>
</div>
<h2 class="mb-3 mt-4">Step 1: Select Your Directory from the Dropdown Menu</h2>
<select required multiple id="select_type" name="directory_type[]" class="selectpicker form-control" style="margin-bottom: 20px; height: 130px;">
{% for type in directoryTypes %}
{% if type.getTitle() != "RCS Partners" %}
<option
value="{{ type.getTitle() }}"
{# {{ chosenDirectoryTypes is not empty and type.getId() in chosenDirectoryTypes ? 'selected' : '' }} #}
>{{ type.getTitle() | raw }}</option>
{% endif %}
{#
<option value="16">Associations</option>
<option value="4">Consultants</option>
<option value="8">Contractors</option>
<option value="2">Distributors</option>
<option value="32">Manufacturers Reps</option>
<option value="1">Products & Services</option>
<option value="64">RCS Partners</option>
#}
{% endfor %}
</select>
<h2 class="mt-4">Step 2: Choose Your Directory Package</h2>
<p class="mt-3 mb-4">Each directory offers the options to list your company name, logo (that links to you website), company description (with ability to make text bold, italic, add links etc.), corporate address, phone number, email address and links to your website, Facebook, Twitter, LinkedIn, Instagram and YouTube pages. You can also add unlimited keywords to be searched by in the directory and the website at large. Manufacterers Reps also has the option to list lines and partners. Choose your RCS Directory package:</p>
{#
<h3 style="color: #a41822"><strong>Premium Directory Listing Purchase</strong></h3>
<p>Listed alphabetically in the chosen directory and in directory searches behind advertiser listings. Also listed in site-wide searches on RoofersCoffeeShop.com.</p>
<label class="d-block"><input required type="radio" name="directory_subscription" value="premium-annual"> <strong>Annual</strong> option for $2000 per year{# (renewing automatically each year) # }.</label>
<label class="d-block"><input required type="radio" name="directory_subscription" value="premium-monthly"> <strong>Monthly</strong> option for $175 per month{# (renewing automatically each month) # }.</label>
<hr />
<h3 style="color: #a41822"><strong>Standard Directory Listing Purchase</strong></h3>
<p>Listed alphabetically in the chosen directory and in directory searches behind premium and advertiser listings. Also listed in site-wide searches on RoofersCoffeeShop.com.</p>
<label class="d-block"><input required type="radio" name="directory_subscription" value="standard-annual"> <strong>Annual</strong> option for $500 per year{# (renewing automatically each year) # }.</label>
<label class="d-block"><input required type="radio" name="directory_subscription" value="standard-monthly"> <strong>Monthly</strong> option for $50 per month{# (renewing automatically each month) # }.</label>
#}
{% for option in options %}
{% set product = option.product %}
{% if product %}
<label class="d-block">
<table class="table">
<tr {% if option.class is defined and option.class %}class="{{option.class}}" {% endif %}>
<td style="width: 1px">
<input
name="directory_product"
type="radio"
value="{{ product.getId() }}"
{{ item is not empty and item.getProduct() and item.getProduct.getId() == product.getId() ? 'checked' : '' }}
{{ option.disabled is defined and option.disabled ? 'disabled' : 'required' }}
/>
</td>
<td>
<h5 class="m-0 p-0">{{ product.getTitle() }}</h5>
{% if option.description is defined and option.description %}
{{ option.description|raw }}
{% else %}<br />
{{ product.getDescription()|raw }}<br />
<strong>{{ product.getFullPrice() }}</strong>
{% endif %}
{% if option.extra_info is defined and option.extra_info %}
<br><br><span style="font-weight: bold; color: black;!important">{{ option.extra_info|raw }}</span>
{% endif %}
</td>
</tr>
</table>
</label>
{% endif %}
{# logic is now handled in the controller #}
{#
{% if (product.getPrice() == 0 and app.user and app.user.getMember() == constant("App\\Entity\\User::MEMBERSHIP_COMPANY")) or (product.getPrice() > 0) %}
{% set free_product_in_use = false %}
{% if product.getPrice() == 0 %}
{% for purchase in app.user.getPurchases() %}
{% if purchase.getStatus() == constant("App\\Entity\\Purchase::STATUS_PROCESSED") %}
{% for item in purchase.getItems() %}
{% if product == item.getProduct() %}
{% set free_product_in_use = true %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if not free_product_in_use %}
<label class="d-block">
<table class="table">
<tr {% if product.getPrice() == 0 %}class="featured" {% endif %}>
<td style="width: 1px">
<input
name="directory_product"
type="radio"
value="{{ product.getId() }}"
{{ item is not empty and item.getProduct() and item.getProduct.getId() == product.getId() ? 'checked' : '' }}
required
/>
</td>
<td>
<h5 class="m-0 p-0">{{ product.getTitle() }}</h5>
{{ product.getDescription()|raw }}<br />
<strong>{{ product.getFullPrice() }}</strong>
</td>
</tr>
</table>
</label>
{% endif %}
{% endif %}
#}
{% endfor %}
<hr />
<!-- <p>*Included with R-Club Membership if you are a contractor. <a href="/rcs-club-sign-up">Sign up here</a>.</p> -->
<button type="submit" class="button alt mt-3 mb-5">Purchase Your Directory Listing</button>
<br><br>