Skórka responsywna

Transkrypt

Skórka responsywna
Dokumentacja zmian plików graficznych: rwd clickshop
Wersja zmian: 1.7.10 - 1.8.0
Pliki .tpl
boxes/Bestsellers/box.tpl
31
32
33
- 34
<div class="price row">
{if $showprices}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3
'}
+ 34
35
36
37
{if $price_mode == '1' || $price_mode == '3'}
{if $bs_product->specialOffer}
<del>{currency value=$bs_product->defaultStock->getPrice()}</del>
<em class="color">{currency value=$bs_product->defaultStock->getSpecialOfferPri
ce()}</em>
{if $bs_product->currency and $currency->getIde
ntifier() != $bs_product->currency->getIdentifier()}
45
46
47
- 48
- 49
+ 48
+ 49
50
51
52
{/if}
{/if}
{if $skin_settings->global->pricemode != '3'}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '3'}
{if $price_mode != '2'}
<span class="hide price-netto">
{/if}
{if $bs_product->specialOffer}
60
<em>({currency id=$bs_product->product->currency_id rate=1 value=$bs_pr
oduct->defaultStock->getCurrencyPrice(true)})</em>
61
62
- 63
+ 63
64
65
66
{/if}
{/if}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '2'}
</span>
{/if}
{/if}
boxes/NewProducts/box.tpl
Strona 1/20
31
32
33
- 34
+ 34
35
36
37
<div class="price row">
{if $showprices}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $price_mode == '1' || $price_mode == '3'}
{if $newproduct->specialOffer}
<del>{currency value=$newproduct->defaultStock->getPrice()}</del>
<em class="color">{currency value=$newproduct->defaultStock->getSpecialOfferPrice()
}</em>
46
47
48
- 49
- 50
+ 49
+ 50
51
52
53
{/if}
{/if}
{if $skin_settings->global->pricemode != '3'}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '3'}
{if $price_mode != '2'}
<span class="hide price-netto">
{/if}
{if $newproduct->specialOffer}
62
<em>({currency id=$newproduct->product->currency_id rate=1 value=$newproduc
t->defaultStock->getCurrencyPrice(true)})</em>
63
64
- 65
+ 65
66
67
68
{/if}
{/if}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '2'}
</span>
{/if}
{/if}
boxes/Producers/box.tpl
9
10
11
- 12
+ 12
13
14
15
{dynamic}
<select class="singleselect gotourl" id="box_producers_select">
{/dynamic}
<option label="{translate key="choose"}" value=""></option>
<option label="{translate key="choose"}" value="">{translate key="choose"}</option>
{foreach from=$boxNs->$box_id->list item=producer}
{assign var='id' value=$producer->manufacturer->producer_id}
<option value="{$boxNs->$box_id->prod_links->$id}">{$producer->manufacturer->name|escape}</opti
on>
boxes/ProductOfTheDay/box.tpl
24
25
</a>
<div class="price row">
Strona 2/20
26
- 27
+ 27
28
29
30
{if $showprices}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $price_mode == '1' || $price_mode == '3'}
{if $potd->specialOffer}
<del>{currency value=$potd->defaultStock->getPrice()}</del>
<em class="color">{currency value=$potd->defaultStock->getSpecialOfferPrice()}</em>
39
40
41
- 42
- 43
+ 42
+ 43
44
45
46
{/if}
{/if}
{if $skin_settings->global->pricemode != '3'}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '3'}
{if $price_mode != '2'}
<span class="hide price-netto">
{/if}
{if $potd->specialOffer}
55
<em>({currency id=$potd->product->currency_id rate=1 value=$potd->defaultStock>getCurrencyPrice(true)})</em>
56
57
- 58
+ 58
59
60
61
{/if}
{/if}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '2'}
</span>
{/if}
{/if}
boxes/Recent/box.tpl
25
26
27
- 28
+ 28
29
30
31
40
41
42
- 43
- 44
+ 43
+ 44
45
<div class="price row">
{if $showprices}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $price_mode == '1' || $price_mode == '3'}
{if $special_product->specialOffer}
<del>{currency value=$special_product->defaultStock->getPrice()}</del>
<em class="color">{currency value=$special_product->defaultStock->getSpecialOfferPrice()}</em>
{/if}
{/if}
{if $skin_settings->global->pricemode != '3'}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '3'}
{if $price_mode != '2'}
<span class="hide price-netto">
Strona 3/20
46
47
{/if}
{if $special_product->specialOffer}
56
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_product->def
aultStock->getCurrencyPrice(true)})</em>
57
58
- 59
+ 59
60
61
62
{/if}
{/if}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '2'}
</span>
{/if}
{/if}
boxes/SpecialOffer/box.tpl
25
26
27
- 28
+ 28
29
30
31
{if $showprices}
<div class="price row">
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $price_mode == '1' || $price_mode == '3'}
{if $special_product->specialOffer}
<del>{currency value=$special_product->defaultStock->getPrice()}</del>
<em class="color">{currency value=$special_product->defaultStock->getSpecialOfferPrice(
)}</em>
40
41
42
- 43
- 44
+ 43
+ 44
45
46
47
{/if}
{/if}
{if $skin_settings->global->pricemode != '3'}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '3'}
{if $price_mode != '2'}
<span class="hide price-netto">
{/if}
{if $special_product->specialOffer}
56
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_
product->defaultStock->getCurrencyPrice(true)})</em>
57
58
- 59
+ 59
60
61
62
{/if}
{/if}
{if $skin_settings->global->pricemode != '2'}
{if $price_mode != '2'}
</span>
{/if}
{/if}
Strona 4/20
scripts/basket/index.tpl
202
203
204
- 205
+ 205
</span>
<span class="desc"><em>{translate key="Total"}:</em></span>
<span class="sum">
<em class="color">{currency value=$user->basket->sumProducts(false)}</em>
<em class="color">{currency value=$user->basket->sumProducts(false, false)}</em
>
206
207
208
</span>
</span>
</div>
219
220
221
+ 222
+ 223
+ 224
+ 225
+ 226
+ 227
+ 228
+ 229
+ 230
+ 231
+ 232
233
234
235
<span class="actions"></span>
</div>
{*
{if $additional_tax_info == '1'}
<div class="taxes">
{foreach from=$taxes item=taxAmount key=tax}
<span class="label">{translate key='VAT.'} {$tax}%:</span>
<span class="cost">{currency value=$taxAmount}</span><br>
{/foreach}
</div>
{/if}
*}
<div class="sum">
<span class="desc">
{translate key="To pay"}:
scripts/basket/shipping.tpl
96
97
98
- 99
+ 99
100
101
102
<em>{translate key="Total"}:</em>
</span>
<span class="sum">
{currency value=$user->basket->sumProducts(false)}
{currency value=$user->basket->sumProducts(false, false)}
</span>
</div>
scripts/basket/step3.tpl
196
197
198
- 199
<li class="delivery">
<span>
{translate key='Selected form of delivery'}:
<strong class="delivery">{$shipping->translation->name|escape} ({currency value=$sh
ipping->getCost()})</strong> <a href="{if $shipping_extra_step == 1}{route key='basketStep3'}{else}{route key='basket'}{/if}">({translat
Strona 5/20
e key="change"})</a>
+ 199
<strong class="delivery">{$shipping->translation->name|escape}</strong> <a href="{i
f $shipping_extra_step == 1}{route key='basketStep3'}{else}{route key='basket'}{/if}">({translate key="change"})</a>
200
</span>
201
</li>
202
207
208
209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
219
220
221
219
220
221
+ 222
+ 223
+ 224
+ 225
+ 226
+ 227
+ 228
+ 229
+ 230
+ 231
+ 232
+ 233
+ 234
</span>
</li>
{if $discount_summary > 0}
<li class="payment">
<span>
{translate key='Discounts granted'}:
<strong class="payment">{currency value=$discount_summary}</strong>
</span>
</li>
{/if}
{if $data.comment}
<li class="comment">
<span>
</div>
</div>
<div class="taxes">
<span class="label">{translate key='Shipping cost'}:</span>
<span class="cost">{currency value=$shipping->getCost()}</span><br>
{if $user->basket->getDiscount()}
<span class="label">{translate key='Discounts granted'}:</span>
<span class="cost">{currency value=$user->basket->getDiscount()}</span><br>
{/if}
{if $isLocalizedTaxDetected && !$additional_tax_info}
<span class="label">{translate key='Total (without tax)'}:</span>
<span class="cost">{currency value=$sum_net}</span><br>
<span class="label">{translate key='Taxes (recalculated for'} {if $taxBasedOn == 1}{country cod
e=$data.country2}{else}{country code=$data.country}{/if}):</span>
+ 235
<span class="cost">{currency value=$taxSum}</span><br>
+ 236
{/if}
+ 237
</div>
+ 238
+ 239
{if $additional_tax_info == '1'}
+ 240
<div class="taxes">
+ 241
<span class="label">{translate key='Total (without tax)'}:</span>
+ 242
<span class="cost">{currency value=$sum_net}</span><br>
+ 243
Strona 6/20
+ 244
+ 245
+ 246
+ 247
+ 248
+ 249
+ 250
251
252
253
{foreach from=$taxes item=taxAmount key=tax}
<span class="label">{translate key='VAT.'} {$tax}%:</span>
<span class="cost">{currency value=$taxAmount}</span><br>
{/foreach}
</div>
{/if}
<p class="sum">
<span class="label">{translate key="To pay"}:</span>
<span class="sum">{currency value=$sum}</span>
scripts/body_head.tpl
78
79
80
- 81
+ 81
82
83
84
{if 0 == $user->basket->countProducts()}
({translate key="empty"})
{else}
<b class="sum">{currency value=$user->basket->sumProducts(false)}</b>
<b class="sum">{currency value=$user->basket->sumProducts(false, false)}</b>
<b class="count">(<span>{$user->basket->countProducts()}</span>)</b>
{/if}
</b>
113
114
115
- 116
<div class="basket-summery">
<a href="{route key='basket'}">{translate key="to checkout"}</a>
<span class="basket-price{if $user->basket->sumProducts(false) !== $user->basket->sumProducts()} basket-pri
ce-discount{/if}">
+ 116
<span class="basket-price{if $user->basket->sumProducts(false, false) !== $user->basket->sumProducts()} bas
ket-price-discount{/if}">
117
118
- 119
+ 119
120
- 121
+ 121
122
123
124
<span class="price-total">
<span>{translate key="total"}:</span>
<strong class="price-products">{currency value=$user->basket->sumProducts(false)}</strong>
<strong class="price-products">{currency value=$user->basket->sumProducts(false, false)}</strong>
</span>
{if $user->basket->sumProducts(false) !== $user->basket->sumProducts()}
{if $user->basket->sumProducts(false, false) !== $user->basket->sumProducts()}
<span class="price-total-discount">
<span>{translate key="total (after discount)"}:</span>
<strong class="price-total">{currency value=$user->basket->sumProducts()}</strong>
scripts/body_head_checkout.tpl
+1
+2
3
4
5
{$snippet_pre_body}
<div class="wrap rwd">
<header class="row checkout">
<div class="logo-bar row container">
Strona 7/20
scripts/header.tpl
12
13
14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
21
22
23
<link rel="home" href="{baseDir nonempty=1}" />
<link rel="shortcut icon" href="{$path}images/favicon.png" />
<link rel="dns-prefetch" href="//themes.googleusercontent.com">
<link rel="preconnect" href="//themes.googleusercontent.com">
<link rel="preload" as="font" crossorigin="true" type="font/woff" href="//themes.googleusercontent.com/static/fonts/opensans/v7/u-W
UoqrET9fUeobQW7jkRT8E0i7KZn-EPnyo3HZu7kw.woff">
<link rel="preload" as="font" crossorigin="true" type="font/woff" href="//themes.googleusercontent.com/static/fonts/opensans/v7/k3k
702ZOKiLJc3WVjuplzBa1RVmPjeKy21_GQJaLlJI.woff">
{plugin module=shop template=pre-head}
<link id="csslink" rel="stylesheet" type="text/css" href="{sfc type='css' id=$skin_id user=$user_css gallery=0 lang=$lang_full}" />
scripts/product/index.tpl
30
31
32
- 33
+ 33
34
35
36
</h1>
</div>
<div class="innerbox" data-loading="{translate key="File upload in progress"}...">
<div class="innerbox product-main-box" data-loading="{translate key="File upload in progress"}...">
<div class="maininfo row">
<div class="f-row">
{include file='product/gallery.tpl'}
73
74
75
- 76
<em>{$product->defaultStock->loyaltyPointsPrice(true)|escape}</em>
</div>
{elseif $showprices}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemo
de == '3'}
+ 76
77
78
79
{if $price_mode == '1' || $price_mode == '3'}
<div class="price">
<span class="price-name">{translate key="Price"}:</span>
{if $product->specialOffer}
101
102
103
- 104
</div>
{/if}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemo
de == '2'}
+ 104
+ 105
+ 106
{if $product->product->unit_price_calculation}
{if $price_mode == '1' || $price_mode == '3'}
{assign var=unit value=$product->defaultStock->getUnitPriceCalculationU
nit()}
Strona 8/20
+ 107
+ 108
+ 109
<div class="unit-price-container gross">
<span class="price-name">&nbsp;</span>
<span class="container">( 1 <span class="unit">{$unit->translation>name}</span> =
+ 110
+ 111
+ 112
<span class="price">
{if $product->specialOffer}
{currency rate=1 value=$product->defaultStock->getUnitPrice
CalculationSpecialOfferPrice()}
+ 113
+ 114
{else}
{currency rate=1 value=$product->defaultStock->getUnitPrice
CalculationPrice()}
+ 115
+ 116
+ 117
+ 118
+ 119
+ 120
+ 121
+ 122
+ 123
+ 124
+ 125
{/if}
</span> )</span>
</div>
{/if}
{/if}
{if $price_mode == '1' || $price_mode == '3'}
{if $additional_tax_info == '1'}
{assign var=productTax value=$product->getTax()}
<div class="tax-additional-info tax-gross">
{if $product->defaultStock->getPrice() != $product->defaultStock->g
etPrice(true)}
+ 126
<span>{translate key="incl. %s TAX, excl. shipping costs" s1=$p
roductTax->taxValue->name}</span>
+ 127
+ 128
+ 129
+ 130
+ 131
+ 132
+ 133
+ 134
135
- 136
+ 106
107
108
109
110
111
- 112
+ 112
113
114
115
116
{else}
<span>{translate key="excl. shipping costs"}</span>
{/if}
</div>
{/if}
{/if}
{if $price_mode == '1' || $price_mode == '2'}
<div class="price-netto">
{if $skin_settings->global->pricemode == '1'}
{if $price_mode == '1'}
<span class="price-name">{translate key="Net price"}:</span>
{else}
<span class="price-name">{translate key="Price"}:</span>
{/if}
{if $product->specialOffer}
<em class="main-price" {if $skin_settings->global->pricemode == '1'
}class="no-color"{/if}>{currency value=$product->defaultStock->getSpecialOfferPrice(true) ceil=2}</em>
<em class="main-price" {if $price_mode == '1'}class="no-color"{/if}
>{currency value=$product->defaultStock->getSpecialOfferPrice(true) ceil=2}</em>
<del>{currency value=$product->defaultStock->getPrice(true)}</del>
{if $product->currency and $currency->getIdentifier() != $product->
currency->getIdentifier()}
<em class="default-currency">({currency id=$product->product->
currency_id rate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
{/if}
Strona 9/20
117
- 118
+ 118
119
120
121
{else}
<em class="main-price" {if $skin_settings->global->pricemode == '1'
}class="no-color"{/if}>{currency value=$product->defaultStock->getPrice(true) ceil=2}</em>
<em class="main-price" {if $price_mode == '1'}class="no-color"{/if}
>{currency value=$product->defaultStock->getPrice(true) ceil=2}</em>
{if $product->currency and $currency->getIdentifier() != $product->
currency->getIdentifier()}
<em class="default-currency">({currency id=$product->product->c
urrency_id rate=1 value=$product->defaultStock->getCurrencyPrice(true)})</em>
{/if}
153
154
155
+ 156
+ 157
+ 158
</div>
{/if}
{if $product->product->unit_price_calculation}
{if $price_mode == '1' || $price_mode == '2'}
{assign var=unit value=$product->defaultStock->getUnitPriceCalculationU
nit()}
+ 159
+ 160
+ 161
<div class="unit-price-container net">
<span class="price-name">&nbsp;</span>
<span class="container">( 1 <span class="unit">{$unit->translation>name}</span> =
+ 162
+ 163
+ 164
<span class="price">
{if $product->specialOffer}
{currency rate=1 value=$product->defaultStock->getUnitPrice
CalculationSpecialOfferPrice(true)}
+ 165
+ 166
{else}
{currency rate=1 value=$product->defaultStock->getUnitPrice
CalculationPrice(true)}
+ 167
+ 168
+ 169
+ 170
+ 171
+ 172
+ 173
+ 174
+ 175
+ 176
+ 177
{/if}
</span> )</span>
</div>
{/if}
{/if}
{if ($price_mode == '1' || $price_mode == '2')}
{if $additional_tax_info == '1'}
{assign var=productTax value=$product->getTax()}
<div class="tax-additional-info tax-net">
{if $product->defaultStock->getPrice() != $product->defaultStock->g
etPrice(true)}
+ 178
<span>{translate key="excl. %s TAX, excl. shipping costs" s1=$p
roductTax->taxValue->name}</span>
+ 179
+ 180
+ 181
+ 182
+ 183
+ 184
185
{else}
<span>{translate key="excl. shipping costs"}</span>
{/if}
</div>
{/if}
{/if}
{/if}
Strona 10/20
186
187
{if $product->getRichSnippetForAvailability() == 'instore_only'}
scripts/product/related.tpl
41
42
43
- 44
+ 44
45
46
{elseif $showprices}
<div class="price">
<span class="label-price">{translate key="Price"}:</span>
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $price_mode == '1' || $price_mode == '3'}
{if $rproduct->specialOffer}
<em class="color">{currency value=$rproduct->defaultStock->getSpecialOfferPrice()}</em>
47
<del>{currency value=$rproduct->defaultStock->getPrice()}</del>
56
57
58
- 59
- 60
+ 59
+ 60
61
62
63
{/if}
{/if}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '2'}
{if $skin_settings->global->pricemode == '1'}
{if $price_mode == '1' || $price_mode == '2'}
{if $price_mode == '1'}
<i class="price-netto">({translate key="net"}:
{/if}
{if $rproduct->specialOffer}
72
<em>({currency id=$rproduct->product->currency_id rate=1 value=$rproduct->defau
ltStock->getCurrencyPrice(true)})</em>
73
74
- 75
+ 75
76
77
78
+ 79
+ 80
+ 81
+ 82
+ 83
+ 84
+ 85
+ 86
+ 87
{/if}
{/if}
{if $skin_settings->global->pricemode == '1'}
{if $price_mode == '1'}
)</i>
{/if}
{/if}
{if $rproduct->product->unit_price_calculation}
{assign var=unit value=$rproduct->defaultStock->getUnitPriceCalculationUnit()}
<div class="unit-price-container">
{if $price_mode == '1' || $price_mode == '3'}
<i class="default-currency">
( 1 {$unit->translation->name} =
{if $rproduct->specialOffer}
{currency rate=1 value=$rproduct->defaultStock->getUnitPriceCalculationSpec
ialOfferPrice()}
+ 88
+ 89
{else}
{currency rate=1 value=$rproduct->defaultStock->getUnitPriceCalculationPric
e()}
Strona 11/20
+ 90
+ 91
+ 92
+ 93
+ 94
+ 95
+ 96
+ 97
{/if}
)
</i>
{elseif $price_mode == '2'}
<i class="default-currency">
( 1 {$unit->translation->name} =
{if $rproduct->specialOffer}
{currency rate=1 value=$rproduct->defaultStock->getUnitPriceCalculationSpec
ialOfferPrice(true)}
+ 98
+ 99
{else}
{currency rate=1 value=$rproduct->defaultStock->getUnitPriceCalculationPric
e(true)}
+ 100
+ 101
+ 102
+ 103
+ 104
+ 105
+ 106
+ 107
+ 108
+ 109
+ 110
{/if}
)
</i>
{/if}
</div>
{/if}
{if $additional_tax_info == '1'}
{assign var=productTax value=$rproduct->getTax()}
<div class="tax-additional-info">
{if ($price_mode == '1' || $price_mode == '3') && $rproduct->defaultStock->getPrice() !
= $rproduct->defaultStock->getPrice(true)}
+ 111
{translate key="incl. %s TAX, excl. shipping costs" s1=$productTax->taxValue->name}
+ 112
{elseif $price_mode == '2' && $rproduct->defaultStock->getPrice() != $rproduct->default
Stock->getPrice(true)}
+ 113
{translate key="excl. %s TAX, excl. shipping costs" s1=$productTax->taxValue->name}
+ 114
+ 115
+ 116
+ 117
+ 118
119
120
121
{else}
{translate key="excl. shipping costs"}
{/if}
</div>
{/if}
</div>
{/if}
scripts/product/tableofproducts.tpl
7
8
9
- 10
+ 10
11
12
{/if}
{if 'full' == $view || $view == 'desc'}
<div class="products view{$view}" {if $skin_settings->global->pricemode == '2'}data-netto="true"{/if}>
<div class="products view{$view}" {if $price_mode == '2'}data-netto="true"{/if}>
{foreach from=$products item=product name=prodlist}
<div data-product-id="{$product->product->product_id}" data-category="{$product->defaultCategory->translation->name|esc
ape}" {if $product->product->producer_id}data-producer="{$product->producer->manufacturer->name|escape}"{/if} class="oneperrow f-row pro
duct {$columnCounter}">
Strona 12/20
13
70
71
72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
+ 73
+ 74
+ 75
76
- 77
- 78
+ 75
<div class="f-row description">
{else}
{if $showprices}
<div class="price{if ($enable_availability_notifier && $product->isEnabledNotifier()) == false
&& ($enablebasket && $product->canBuyStock()) == false} noform{/if}">
<span>{translate key="Price"}:</span>
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $product->specialOffer}
<em class="color">{currency value=$product->defaultStock->getSpecialOfferPrice()}</
em>
<del>{currency value=$product->defaultStock->getPrice()}</del>
{if $product->currency and $currency->getIdentifier() != $product->currency->getIde
ntifier()}
<em class="default-currency">({currency id=$product->product->currency_id rate=
1 value=$product->defaultStock->getCurrencySpecialOfferPrice()})</em>
{/if}
{else}
<em>{currency value=$product->defaultStock->getPrice()}</em>
{if $product->currency and $currency->getIdentifier() != $product->currency->getIde
ntifier()}
<em class="default-currency">({currency id=$product->product->currency_id rate=
1 value=$product->defaultStock->getCurrencyPrice()})</em>
{/if}
{/if}
{/if}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '2'}
{if $skin_settings->global->pricemode == '1'}
<i class="price-netto">({translate key="net"}:
{/if}
<div>
<span>{translate key="Price"}:</span>
{if $price_mode == '1' || $price_mode == '3'}
{if $product->specialOffer}
<em>{currency value=$product->defaultStock->getSpecialOfferPrice(true)}</em>
<del>{currency value=$product->defaultStock->getPrice(true)}</del>
<em class="color">{currency value=$product->defaultStock->getSpecialOfferPrice(
)}</em>
+ 76
77
<del>{currency value=$product->defaultStock->getPrice()}</del>
{if $product->currency and $currency->getIdentifier() != $product->currency->ge
tIdentifier()}
- 78
+ 77
78
79
- 80
+ 80
<em class="default-currency">({currency id=$product->product->currency_id r
ate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
<em class="default-currency">({currency id=$product->product->currency_id r
ate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice()})</em>
{/if}
{else}
<em>{currency value=$product->defaultStock->getPrice(true)}</em>
<em>{currency value=$product->defaultStock->getPrice()}</em>
Strona 13/20
81
{if $product->currency and $currency->getIdentifier() != $product->currency->ge
tIdentifier()}
- 82
+ 82
83
84
- 85
- 86
87
+ 88
+ 89
+ 90
+ 91
+ 92
+ 93
+ 94
<em class="default-currency">({currency id=$product->product->currency_id r
ate=1 value=$product->defaultStock->getCurrencyPrice(true)})</em>
<em class="default-currency">({currency id=$product->product->currency_id r
ate=1 value=$product->defaultStock->getCurrencyPrice()})</em>
{/if}
{/if}
{if $skin_settings->global->pricemode == '1'}
)</i>
{/if}
{if $price_mode == '1' || $price_mode == '2'}
{if $price_mode == '1'}
<i class="price-netto">({translate key="net"}:
{/if}
{if $product->specialOffer}
<em>{currency value=$product->defaultStock->getSpecialOfferPrice(true)}</em
>
+ 95
+ 96
<del>{currency value=$product->defaultStock->getPrice(true)}</del>
{if $product->currency and $currency->getIdentifier() != $product->currency
->getIdentifier()}
+ 97
+ 98
+ 99
+ 100
+ 101
+ 102
+ 103
+ 104
+ 105
+ 106
+ 107
+ 108
+ 109
+ 110
+ 111
+ 112
+ 113
+ 114
+ 115
+ 116
+ 117
+ 118
<em class="default-currency">({currency id=$product->product->currency_
id rate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
{/if}
{else}
<em>{currency value=$product->defaultStock->getPrice(true)}</em>
{if $product->currency and $currency->getIdentifier() != $product->currency
->getIdentifier()}
<em class="default-currency">({currency id=$product->product->currency_
id rate=1 value=$product->defaultStock->getCurrencyPrice(true)})</em>
{/if}
{/if}
{if $price_mode == '1'}
)</i>
{/if}
{/if}
</div>
{if $product->product->unit_price_calculation}
{assign var=unit value=$product->defaultStock->getUnitPriceCalculationUnit()}
<div class="unit-price-container">
{if $price_mode == '1' || $price_mode == '3'}
<i class="default-currency">
( 1 {$unit->translation->name} =
{if $product->specialOffer}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationS
pecialOfferPrice()}
+ 119
+ 120
{else}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationP
rice()}
Strona 14/20
+ 121
+ 122
+ 123
+ 124
+ 125
+ 126
+ 127
+ 128
{/if}
)
</i>
{elseif $price_mode == '2'}
<i class="default-currency">
( 1 {$unit->translation->name} =
{if $product->specialOffer}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationS
pecialOfferPrice(true)}
+ 129
+ 130
{else}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationP
rice(true)}
+ 131
+ 132
+ 133
+ 134
+ 135
+ 136
+ 137
+ 138
+ 139
+ 140
+ 141
{/if}
)
</i>
{/if}
</div>
{/if}
{if $additional_tax_info == '1'}
{assign var=productTax value=$product->getTax()}
<div class="tax-additional-info">
{if ($price_mode == '1' || $price_mode == '3') && $product->defaultStock->getPrice(
) != $product->defaultStock->getPrice(true)}
+ 142
{translate key="incl. %s TAX, excl. shipping costs" s1=$productTax->taxValue->n
ame}
+ 143
{elseif $price_mode == '2' && $product->defaultStock->getPrice() != $product->defau
ltStock->getPrice(true)}
+ 144
{translate key="excl. %s TAX, excl. shipping costs" s1=$productTax->taxValue->n
ame}
+ 145
+ 146
+ 147
+ 148
149
150
151
{else}
{translate key="excl. shipping costs"}
{/if}
</div>
{/if}
</div>
{/if}
219
220
221
- 222
+ 222
223
- 224
{/foreach}
</div>
{elseif 'phot' == $view}
<div class="products view{$view} s-row" {if $skin_settings->global->pricemode == '2'}data-netto="true"{/if}>
<div class="products view{$view} s-row" {if $price_mode == '2'}data-netto="true"{/if}>
{foreach from=$products item=product name=prodlist}
<div data-product-id="{$product->product->product_id}" data-category="{$product->defaultCategory->translation->name|esc
ape}" {if $product->product->producer_id}data-producer="{$product->producer->manufacturer->name|escape}"{/if} class="product s-grid-3 pr
oduct-main-wrap">
+ 224
<div data-product-id="{$product->product->product_id}" data-category="{$product->defaultCategory->translation->name|esc
ape}" {if $product->product->producer_id}data-producer="{$product->producer->manufacturer->name|escape}"{/if} class="product s-grid-3 pr
oduct-main-wrap{if $additional_tax_info == '1'} additional-info{/if}{if $unit_price_calculation} unit-price-info{/if}">
Strona 15/20
225
226
<div class="product-inner-wrap">
<a class="prodimage f-row" href="{route function=$productRoute key=$product->product->product_id productName=$p
roduct->translation->name
227
productId=$product->product->product_id}" title="{$product->translation->name|escape}" rel="nofollow">
259
260
261
- 262
+ 262
263
264
265
<div class="price f-row">
{if $showprices}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3'}
{if $price_mode == '1' || $price_mode == '3'}
<span>{translate key="Price"}:</span>
{if $product->specialOffer}
<em>{currency value=$product->defaultStock->getSpecialOfferPrice()}</em>
275
276
277
- 278
- 279
+ 278
+ 279
280
281
282
291
292
293
- 294
+ 294
295
296
- 297
+ 297
+ 298
+ 299
+ 300
+ 301
+ 302
+ 303
+ 304
+ 305
+ 306
{/if}
{/if}
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '2'}
{if $skin_settings->global->pricemode == '1'}
{if $price_mode == '1' || $price_mode == '2'}
{if $price_mode == '1'}
<i class="price-netto">({translate key="net"}:
{/if}
{if $product->specialOffer}
<em class="default-currency">({currency id=$product->product->currency_id rate=1 value=
$product->defaultStock->getCurrencyPrice(true)})</em>
{/if}
{/if}
{if $skin_settings->global->pricemode == '1'}
{if $price_mode == '1'}
)</i>
{/if}
{/if}
{/if}
{if $product->product->unit_price_calculation}
{assign var=unit value=$product->defaultStock->getUnitPriceCalculationUnit()}
<div class="unit-price-container">
{if $price_mode == '1' || $price_mode == '3'}
<i class="default-currency">
( 1 {$unit->translation->name} =
{if $product->specialOffer}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationSpecialOfferP
rice()}
+ 307
+ 308
+ 309
{else}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationPrice()}
{/if}
Strona 16/20
+ 310
+ 311
+ 312
+ 313
+ 314
+ 315
+ 316
)
</i>
{elseif $price_mode == '2'}
<i class="default-currency">
( 1 {$unit->translation->name} =
{if $product->specialOffer}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationSpecialOfferP
rice(true)}
+ 317
+ 318
+ 319
+ 320
+ 321
+ 322
+ 323
+ 324
+ 325
+ 326
+ 327
+ 328
+ 329
+ 330
{else}
{currency rate=1 value=$product->defaultStock->getUnitPriceCalculationPrice(true)}
{/if}
)
</i>
{/if}
</div>
{/if}
{/if}
{if $additional_tax_info == '1'}
{assign var=productTax value=$product->getTax()}
<div class="tax-additional-info">
{if ($price_mode == '1' || $price_mode == '3') && $product->defaultStock->getPrice() != $product->d
efaultStock->getPrice(true)}
+ 331
+ 332
{translate key="incl. %s TAX, excl. shipping costs" s1=$productTax->taxValue->name}
{elseif $price_mode == '2' && $product->defaultStock->getPrice() != $product->defaultStock->getPric
e(true)}
+ 333
+ 334
+ 335
+ 336
+ 337
338
339
340
{translate key="excl. %s TAX, excl. shipping costs" s1=$productTax->taxValue->name}
{else}
{translate key="excl. shipping costs"}
{/if}
</div>
{/if}
</div>
scripts/switch.tpl
6
7
8
-9
+9
10
11
12
</div>
{/dynamic}
{$snippet_body}
{$snippet_post_body}
<script type="text/javascript">
{dynamic}
{if true == $user_logged}Shop.basket.shopVisitorId = '{$user->user->userinfo->user_id|escape|base64_encode}';{/if}
Pliki .css
Strona 17/20
Pliki .less
styles/_basket.less
14
15
16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
24
25
26
}
}
.shop_basket_step3 {
.taxes {
text-align: right;
margin-top: 1.5em;
}
}
.productlist{
tbody {
tr {
styles/_mixins.less
158
159
160
+ 161
+ 162
+ 163
+ 164
+ 165
+ 166
+ 167
+ 168
+ 169
+ 170
+ 171
+ 172
+ 173
+ 174
+ 175
+ 176
+ 177
+ 178
+ 179
+ 180
+ 181
+ 182
+ 183
+ 184
&::after {
clear: both;
}
}
.display-flex() {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.box-align(@align: start, @align2: @align) {
-webkit-box-align: @align;
-moz-box-align: @align;
-webkit-align-items: @align2;
-ms-flex-align: @align;
align-items: @align2;
}
.flex-justify-content(@justify: start, @justify2: @justify) {
-webkit-box-pack: @justify;
-moz-box-pack: @justify;
-webkit-justify-content: @justify2;
-ms-flex-pack: @justify;
justify-content: @justify2;
Strona 18/20
185
}
styles/_modules.less
264
265
266
- 267
+ 267
+ 268
269
270
271
973
974
975
- 976
+ 976
+ 977
+ 978
+ 979
+ 980
981
.product {
.productnamewrap{
margin: 10px 0;
min-height: 35px;
height: 60px;
overflow: hidden;
}
.price {
del {
}
.boximgsize {
display: block;
.display-flex();
.box-align(center);
.flex-justify-content(center);
height: 300px;
}
styles/_product.less
99
100
101
- 102
- 103
- 104
+ 102
+ 103
+ 104
105
106
107
157
158
159
+ 160
+ 161
+ 162
+ 163
}
.price {
position: relative;
right: 1em;
top: 0.3em;
vertical-align: middle;
margin-right: 1em;
margin-bottom: 0.5em;
}
}
&.additional-info {
height: 490px;
&.unit-price-info {
height: 515px;
}
Strona 19/20
+ 164
+ 165
+ 166
+ 167
168
169
170
}
&.unit-price-info {
height: 490px;
}
.productname {
454
455
456
- 457
+ 457
458
459
460
.basket{
margin-top: 20px;
1321
1322
1323
- 1324
1325
1326
1327
.price {
font-size: @fontsize2;
color: @maincolor;
margin-bottom: 1em;
}
1346
1347
1348
+ 1349
+ 1350
+ 1351
+ 1352
1353
1354
1355
.price, .price-netto {
.price, .price-netto, .unit-price-container {
.price-name{
font-size: 1em;
min-width: 25%;
.second {
input[name="quantity"] {
width: 3em !important;
}
> div:last-of-type {
margin-bottom: 1em;
}
}
.gallery {
Strona 20/20