Projekt

Allgemein

Profil

GX-Bug #59344 » product_box_bottom.html

Wilken Haase, 01.10.2018 17:36

 
1
{block name="snippets_product_info_product_box_bottom"}
2
	<div class="row">
3
	
4
		{$RICH_SNIPPET_ARRAY.offer_itemprop_in_stock}
5
		
6
		{if $ITEM_CONDITION === 'used'}
7
			{$RICH_SNIPPET_ARRAY.offer_itemprop_item_condition_used}
8
		{elseif $ITEM_CONDITION === 'refurbished'}
9
			{$RICH_SNIPPET_ARRAY.offer_itemprop_item_condition_refurbished}
10
		{else}
11
			{$RICH_SNIPPET_ARRAY.offer_itemprop_item_condition_new}
12
		{/if}
13
		
14
		<input type="hidden" name="products_id" id="products-id" value="{$PRODUCTS_ID}" />
15
	
16
		{block name="snippets_product_info_product_box_bottom_quantity_container"}
17
			<div class="input-number" data-type="float" data-stepping="{$QTY_STEPPING}">
18

    
19
				{block name="snippets_product_info_product_box_bottom_quantity_if"}
20
					{if $PRODUCTS_QUANTITY_UNIT}
21
						{block name="snippets_product_info_product_box_bottom_quantity"}
22
							<label class="control-label sr-only">
23
								{$PRODUCTS_QUANTITY_UNIT}
24
							</label>
25
						{/block}
26
					{/if}
27
				{/block}
28

    
29
				{block name="snippets_product_info_product_box_bottom_input"}
30
					<div class="input-group">
31
						<a class="btn btn-default btn-lg btn-minus"><span class="fa fa-minus"></span></a>
32
						<input type="text" class="form-control input-lg pull-right js-calculate-qty" value="{$QUANTITY}" id="attributes-calc-quantity" name="products_qty"{if $DISABLED_QUANTITY} disabled="disabled"{/if} />
33
						<a class="input-group-btn btn btn-default btn-lg btn-plus"><span class="fa fa-plus"></span></a>
34
					</div>
35
				{/block}
36

    
37
			</div>
38
		{/block}
39
		
40
		{block name="snippets_product_info_product_box_bottom_add_to_cart"}
41
			<div class="button-container">
42
				<input name="btn-add-to-cart" type="submit" class="btn btn-lg btn-buy btn-block js-btn-add-to-cart{if $DEACTIVATE_BUTTON == true} btn-inactive{/if}" value="{$txt.add_to_cart}" title="{$txt.add_to_cart}" />
43
				<button name="btn-add-to-cart-fake" onClick="void(0)" class="btn-add-to-cart-fake btn btn-lg btn-buy btn-block {if $DEACTIVATE_BUTTON == true} btn-inactive{/if}" value="" title="{$txt.add_to_cart}" style="display: none; margin-top: 0">{$txt.add_to_cart}</button>
44
			</div>
45
		{/block}
46
	
47
		{block name="snippets_product_info_product_box_bottom_paypal"}
48
			{$PayPalInstallments}
49
		{/block}
50

    
51
		<div class="product-info-links">
52
			{block name="snippets_product_info_product_box_bottom_wishlist_if"}
53
				{if $SHOW_WISHLIST}
54
					{block name="snippets_product_info_product_box_bottom_wishlist"}
55
						<div class="wishlist-container">
56
							<a href="#" class="btn-wishlist btn btn-block btn-sm" title="{$button.add_to_wishlist}">
57
								<span class="col-xs-2 btn-icon">
58
									<i class="fa fa-heart-o"></i> 
59
								</span>
60
								
61
								<span class="col-xs-10 btn-text">
62
									{$button.add_to_wishlist}
63
								</span>
64
							</a>
65
						</div>
66
					{/block}
67
				{/if}
68
			{/block}
69

    
70
			{block name="snippets_product_info_product_box_bottom_price_offer_if"}
71
				{if $GM_PRICE_OFFER!=''}
72
					{block name="snippets_product_info_product_box_bottom_price_offer"}
73
						<div class="price-offer-container">
74
							<a class="btn-price-offer btn btn-block btn-sm" title="{$txt.text_price_offer}">
75
								<span class="col-xs-2 btn-icon">
76
									<i class="fa fa-bullhorn"></i>
77
								</span>
78

    
79
								<span class="col-xs-10 btn-text">
80
									{$txt.text_price_offer}
81
								</span>
82
							</a>
83
						</div>
84
					{/block}
85
				{/if}
86
			{/block}
87

    
88
			{block name="snippets_product_info_product_box_bottom_tell_a_friend_if"}
89
				{if $GM_TELL_A_FRIEND!=''}
90
					{block name="snippets_product_info_product_box_bottom_tell_a_friend"}
91
						<div class="product-question-container">
92
							<a class="btn-product-question btn btn-block btn-sm" title="{$txt.text_tell_a_friend}"
93
									data-gambio-widget="product_question"
94
									data-product_question-product-id="{$PRODUCTS_ID}">
95
									<span class="col-xs-2 btn-icon">
96
										<i class="fa fa-comment-o"></i>
97
									</span>
98
									
99
									<span class="col-xs-10 btn-text">
100
										{$txt.text_tell_a_friend}
101
									</span>
102
								</a>
103
						</div>
104
					{/block}
105
				{/if}
106
			{/block}
107
		</div>
108
		
109
		{block name="snippets_product_info_product_box_bottom_text_phrases"}
110
			<script id="product-details-text-phrases" type="application/json">
111
				{literal}{{/literal}
112
					"productsInCartSuffix": "{$txt.products_in_cart_suffix}", "showCart": "{$txt.show_cart}"
113
				{literal}}{/literal}
114
			</script>
115
		{/block}
116
	</div>
117
{/block}
    (1-1/1)