Add buy-by-phone-form

This commit is contained in:
Roman Pyrih
2026-01-14 09:35:45 +01:00
parent 0751588e2e
commit b71ee93e55
77 changed files with 10442 additions and 27 deletions

View File

@@ -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)}