update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
|
||||
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
|
||||
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
|
||||
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
|
||||
*
|
||||
* @author Anvanto <anvantoco@gmail.com>
|
||||
@@ -16,27 +16,16 @@
|
||||
{extends file="module:an_productattributes/views/templates/front/productattributes-wrapper.tpl"}
|
||||
|
||||
{block name="an_productattributes_content"}
|
||||
|
||||
{if $config.type_view=='standart'}
|
||||
<div class="js-an_productattributes-standart">
|
||||
{include file='./product-variants.tpl'}
|
||||
</div>
|
||||
{/if}
|
||||
{if $config.type_view=='select' AND isset($productData) AND count($productData)>0}
|
||||
<div class="an_productattributes-select js-an_productattributes-select">
|
||||
{include file='./product-select.tpl'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
{if isset($configuration.is_catalog) AND !$configuration.is_catalog AND $config.display_add_to_cart=='1'}
|
||||
<div class="an_productattributes-qty-add clearfix">
|
||||
|
||||
|
||||
{if $config.display_quantity=='1'}
|
||||
<div class="an_productattributes-qty-container">
|
||||
<input type="number" name="qty" value="{$minimal_quantity|escape:'htmlall':'UTF-8'}" class="input-group form-control an_productattributes-qty" min="{$minimal_quantity|escape:'htmlall':'UTF-8'}" {if $order_out_of_stock} data-max="{$quantity|escape:'htmlall':'UTF-8'}" {/if} aria-label="Quantity" style="display: block;" >
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="an_productattributes-add">
|
||||
<button class="btn btn-primary js-an_productattributes-add-to-cart" data-button-action="add-to-cart" type="submit" {if $availableForOrder !='1'} disabled="disabled"{/if} data-status="{$availableForOrder}">
|
||||
{if $availableForOrder !='1'}
|
||||
@@ -48,4 +37,14 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $config.type_view=='standart'}
|
||||
<div class="js-an_productattributes-standart">
|
||||
{include file='./product-variants.tpl'}
|
||||
</div>
|
||||
{/if}
|
||||
{if $config.type_view=='select' AND isset($productData) AND count($productData)>0}
|
||||
<div class="an_productattributes-select js-an_productattributes-select">
|
||||
{include file='./product-select.tpl'}
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
Reference in New Issue
Block a user