Add buy-by-phone-form
This commit is contained in:
@@ -134,6 +134,18 @@
|
||||
{block name='product_refresh'}{/block}
|
||||
</form>
|
||||
{/block}
|
||||
|
||||
{block name='product_buy_by_phone'}
|
||||
{if $product_manufacturer->id == 3}
|
||||
<div class="buy_by_phone" id="buy_by_phone_btn">
|
||||
<button class="btn btn-primary add-to-cart" {if !$product.add_to_cart_url} disabled {/if}>
|
||||
{l s='Kup przez telefon' d='Shop.Theme.Actions'}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{include file='catalog/_partials/buy-by-phone-popup.tpl' product=$product}
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{if $product.is_customizable && count($product.customizations.fields)}
|
||||
|
||||
Reference in New Issue
Block a user