Revision`s Differences

Transkrypt

Revision`s Differences
Dokumentacja zmian plików graficznych: rwd shoper
Wersja zmian: 5.7.1 - 5.7.2
Pliki .tpl
boxes/Bestsellers/box.tpl
30
{if $skin_settings->global->pricemode == '1' || $skin_settings->global->pricemode == '3
'}
31
32
- 33
ce()}</em>
+ 33
ce()}</em>
ntifier() != $bs_product->currency->getIdentifier()}
{if $bs_product->specialOffer}
<del>{currency value=$bs_product->defaultStock->getPrice()}</del>
<em class="color">{currency value=$bs_product->defaultStock->getSpecialOfferPri
{if $bs_product->currency}
<em class="color">{currency value=$bs_product->defaultStock->getSpecialOfferPri
{if $bs_product->currency and $currency->getIde
34
<em>({currency id=$bs_product->product->currency_id rate=1 value=$bs_produc
t->defaultStock->getCurrencySpecialOfferPrice()})</em>
35
36
37
- 38
+ 38
{/if}
{else}
<em>{currency value=$bs_product->defaultStock->getPrice()}</em>
{if $bs_product->currency}
{if $bs_product->currency and $currency->getIdentifier() != $bs_product->curren
cy->getIdentifier()}
39
<em>({currency id=$bs_product->product->currency_id rate=1 value=$bs_produc
t->defaultStock->getCurrencyPrice()})</em>
40
41
47
48
49
- 50
+ 50
51
52
53
54
- 55
+ 55
{/if}
{/if}
{/if}
{if $bs_product->specialOffer}
<del>{currency value=$bs_product->defaultStock->getPrice(true)}</del>
<em class="color">{currency value=$bs_product->defaultStock->getSpecialOffe
rPrice(true)}</em>
{if $bs_product->currency}
<em class="color">{currency value=$bs_product->defaultStock->getSpecialOffe
rPrice(true)}</em>
{if $bs_product->currency and $currency->ge
tIdentifier() != $bs_product->currency->getIdentifier()}
<em>({currency id=$bs_product->product->currency_id rate=1 value=$bs_pr
oduct->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
{/if}
{else}
<em>{currency value=$bs_product->defaultStock->getPrice(true)}</em>
{if $bs_product->currency}
{if $bs_product->currency and $currency->getIdentifier() != $bs_product->cu
Copyright © 2015 Shoper. All rights reserved.
Strona 1/17
rrency->getIdentifier()}
56
<em>({currency id=$bs_product->product->currency_id rate=1 value=$bs_pr
oduct->defaultStock->getCurrencyPrice(true)})</em>
57
58
{/if}
{/if}
boxes/NewProducts/box.tpl
31
32
33
{if $newproduct->specialOffer}
<del>{currency value=$newproduct->defaultStock->getPrice()}</del>
<em class="color">{currency value=$newproduct->defaultStock->getSpecialOfferPrice()
}</em>
- 34
+ 34
{if $newproduct->currency}
{if $newproduct->currency and $currency->getIdentifier() != $newproduct->currency->
getIdentifier()}
35
<em>({currency id=$newproduct->product->currency_id rate=1 value=$newproduct->d
efaultStock->getCurrencySpecialOfferPrice()})</em>
36
37
38
- 39
+ 39
{/if}
{else}
<em>{currency value=$newproduct->defaultStock->getPrice()}</em>
{if $newproduct->currency}
{if $newproduct->currency and $currency->getIdentifier() != $newproduct->currency->
getIdentifier()}
40
<em>({currency id=$newproduct->product->currency_id rate=1 value=$newproduct->d
efaultStock->getCurrencyPrice()})</em>
41
42
{/if}
{/if}
49
50
51
{if $newproduct->specialOffer}
<del>{currency value=$newproduct->defaultStock->getPrice(true)}</del>
<em class="color">{currency value=$newproduct->defaultStock->getSpecialOfferPri
ce(true)}</em>
- 52
+ 52
{if $newproduct->currency}
{if $newproduct->currency and $currency->getIdentifier() != $newproduct->curren
cy->getIdentifier()}
53
54
55
56
- 57
+ 57
58
59
60
<em>({currency id=$newproduct->product->currency_id rate=1 value=$newproduc
t->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
{/if}
{else}
<em>{currency value=$newproduct->defaultStock->getPrice(true)}</em>
{if $newproduct->currency}
{if $newproduct->currency and $currency->getIdentifier() != $newproduct->curren
cy->getIdentifier()}
<em>({currency id=$newproduct->product->currency_id rate=1 value=$newproduc
t->defaultStock->getCurrencyPrice(true)})</em>
{/if}
{/if}
boxes/ProductOfTheDay/box.tpl
Copyright © 2015 Shoper. All rights reserved.
Strona 2/17
24
25
26
- 27
+ 27
{if $potd->specialOffer}
<del>{currency value=$potd->defaultStock->getPrice()}</del>
<em class="color">{currency value=$potd->defaultStock->getSpecialOfferPrice()}</em>
{if $potd->currency}
{if $potd->currency and $currency->getIdentifier() != $potd->currency->getIdentifier()}
28
<em>({currency id=$potd->product->currency_id rate=1 value=$potd->defaultStock->get
CurrencySpecialOfferPrice()})</em>
29
30
31
- 32
+ 32
{/if}
{else}
<em>{currency value=$potd->defaultStock->getPrice()}</em>
{if $potd->currency}
{if $potd->currency and $currency->getIdentifier() != $potd->currency->getIdentifier()}
33
<em>({currency id=$potd->product->currency_id rate=1 value=$potd->defaultStock->get
CurrencyPrice()})</em>
34
35
{/if}
{/if}
42
43
44
{if $potd->specialOffer}
<del>{currency value=$potd->defaultStock->getPrice(true)}</del>
<em class="color">{currency value=$potd->defaultStock->getSpecialOfferPrice(true)}<
/em>
- 45
+ 45
{if $potd->currency}
{if $potd->currency and $currency->getIdentifier() != $potd->currency->getIdentifie
r()}
46
<em>({currency id=$potd->product->currency_id rate=1 value=$potd->defaultStock>getCurrencySpecialOfferPrice(true)})</em>
47
48
49
- 50
+ 50
{/if}
{else}
<em>{currency value=$potd->defaultStock->getPrice(true)}</em>
{if $potd->currency}
{if $potd->currency and $currency->getIdentifier() != $potd->currency->getIdentifie
r()}
51
<em>({currency id=$potd->product->currency_id rate=1 value=$potd->defaultStock>getCurrencyPrice(true)})</em>
52
53
{/if}
{/if}
boxes/Recent/box.tpl
25
26
27
- 28
+ 28
{if $special_product->specialOffer}
<del>{currency value=$special_product->defaultStock->getPrice()}</del>
<em class="color">{currency value=$special_product->defaultStock->getSpecialOfferPrice()}</em>
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->currency->getIde
ntifier()}
29
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_product->default
Stock->getCurrencySpecialOfferPrice()})</em>
Copyright © 2015 Shoper. All rights reserved.
Strona 3/17
30
31
32
- 33
+ 33
{/if}
{else}
<em>{currency value=$special_product->defaultStock->getPrice()}</em>
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->currency->getIde
ntifier()}
34
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_product->default
Stock->getCurrencyPrice()})</em>
35
36
{/if}
{/if}
43
44
45
{if $special_product->specialOffer}
<del>{currency value=$special_product->defaultStock->getPrice(true)}</del>
<em class="color">{currency value=$special_product->defaultStock->getSpecialOfferPrice(true)}</
em>
- 46
+ 46
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->currency->ge
tIdentifier()}
47
48
49
50
- 51
+ 51
52
53
54
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_product->def
aultStock->getCurrencySpecialOfferPrice(true)})</em>
{/if}
{else}
<em>{currency value=$special_product->defaultStock->getPrice(true)}</em>
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->currency->ge
tIdentifier()}
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_product->def
aultStock->getCurrencyPrice(true)})</em>
{/if}
{/if}
boxes/SpecialOffer/box.tpl
25
26
27
{if $special_product->specialOffer}
<del>{currency value=$special_product->defaultStock->getPrice()}</del>
<em class="color">{currency value=$special_product->defaultStock->getSpecialOfferPrice(
)}</em>
- 28
+ 28
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->curr
ency->getIdentifier()}
29
30
31
32
- 33
+ 33
34
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_prod
uct->defaultStock->getCurrencySpecialOfferPrice()})</em>
{/if}
{else}
<em>{currency value=$special_product->defaultStock->getPrice()}</em>
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->curr
ency->getIdentifier()}
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_prod
uct->defaultStock->getCurrencyPrice()})</em>
Copyright © 2015 Shoper. All rights reserved.
Strona 4/17
35
36
{/if}
{/if}
43
44
45
{if $special_product->specialOffer}
<del>{currency value=$special_product->defaultStock->getPrice(true)}</del>
<em class="color">{currency value=$special_product->defaultStock->getSpecialOfferPr
ice(true)}</em>
- 46
+ 46
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->
currency->getIdentifier()}
47
48
49
50
- 51
+ 51
52
53
54
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_
product->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
{/if}
{else}
<em>{currency value=$special_product->defaultStock->getPrice(true)}</em>
{if $special_product->currency}
{if $special_product->currency and $currency->getIdentifier() != $special_product->
currency->getIdentifier()}
<em>({currency id=$special_product->product->currency_id rate=1 value=$special_
product->defaultStock->getCurrencyPrice(true)})</em>
{/if}
{/if}
scripts/basket/address.tpl
86
87
88
- 89
+ 89
90
91
92
<div class="client-address">
<h4 class="separator">{translate key='Address details'}</h4>
<table class="address">
<table class="address address-handler">
<tbody>
{if 'user' == $mode && $user->user && count($user->user->addresses) > 0}
<tr class="select_address">
193
194
195
- 196
+ 196
197
198
199
399
400
401
- 402
</div>
<div class="client-add-info f-grid-6">
<div class="client-address-different">
<div class="client-address-different address-handler" data-diff-address="1">
<h4 class="different separator">{translate key='Different shipping address'}</h4>
<table class="address-different">
<tbody>
</div>
<script type="text/javascript">
try {literal}{{/literal} Shop.values.Country2Shipping = {$country2shipping}; Shop.values.ShippingExtraStep = {$shipping_extra_s
Copyright © 2015 Shoper. All rights reserved.
Strona 5/17
tep} {literal}}{/literal} catch(e) {literal}{ }{/literal}
try {literal}{{/literal} Shop.values.Country2Shipping = {$country2shipping}; Shop.values.ShippingExtraStep = {$shipping_extra_s
tep}; Shop.values.reverseTable = {$reverse_address_order}; {literal}}{/literal} catch(e) {literal}{ }{/literal}
403
</script>
404
{include file='footerbox.tpl'}
405
{include file='footer.tpl' force_include_cache='1' force_include_cache_tags='Logic_SkinFooterGroupList,Logic_SkinFooterLinkList,Logic_S
kinFooterGroup,Logic_SkinFooterLink'}
+ 402
scripts/basket/step3.tpl
80
81
82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
94
95
96
</p>
{/if}
103
104
105
+ 106
+ 107
+ 108
+ 109
110
111
112
</p>
{/if}
158
159
160
+ 161
+ 162
+ 163
+ 164
165
166
{if $data.name2 || $data.surname2}
<p>
{if $data.name2}
{$data.name2|escape}
{/if}
{if $data.surname2}
{$data.surname2|escape}
{/if}
</p>
{/if}
{if $data.coname2}
<p>{$data.coname2|escape}</p>
{/if}
{if $data.state2}
<p>{$data.state2|escape}</p>
{/if}
{if $data.country2}
<p>{country code=$data.country2}</p>
{/if}
<p>{translate key='Personal Identification Number'}: {$data.pesel|escape}</p>
{/if}
{if $data.state}
<p>{$data.state|escape}</p>
{/if}
{if $data.country}
<p>{country code=$data.country}</p>
Copyright © 2015 Shoper. All rights reserved.
Strona 6/17
167
{/if}
scripts/login/register.tpl
30
<span><img src="{baseDir}/public/images/1px.gif" alt="" class="px1" >{translate key="Registration"}
</span>
31
32
- 33
+ 33
34
35
36
</div>
<div class="innerbox">
<div class="innerbox address-handler">
{foreach from=$table1 item=tr}
<div>
<span class="login-label">
86
87
88
- 89
+ 89
90
91
92
</div>
{foreach from=$table2 item=tr}
<div>
<div class="{$tr.name|escape}">
<span class="adress-label">
<label for="input_{$tr.name|escape}">
{if true == $tr.obligatory}
99
100
101
<div class="input">
{if 'select' == $tr.type}
<select class="{if $tr.error} error{/if}" name="{$tr.name|escape}" id="input_{$
tr.name|escape}">
- 102
- 103
{foreach from=$tr.list item=c key=k}
<option value="{$k|escape}"{if $k == $tr.value} selected="selected"{/if
}>
- 104
+ 102
+ 103
+ 104
105
106
- 107
+ 105
106
107
108
{$c|escape}
{foreach from=$countries_logiclist item=c}
<option data-value="{$c->getIdentifier()}" data-region="{if $c->country
->regions}1{else}0{/if}"{if $c->country->isocode == $tr.value} selected="selected"{/if} value="{$c->country->isocode|escape}">
{$c->getLocalizedName()}
</option>
{/foreach}
</select>
</select>
{else}
<span class="shaded_inputwrap{if $tr.error} error{/if}">
<input type="{$tr.type|escape}" name="{$tr.name|escape}" value="{$tr.value|
escape}" size="25" id="input_{$tr.name|escape}">
scripts/panel/address-edit.tpl
42
43
<fieldset>
{include file='formantispam.tpl'}
Copyright © 2015 Shoper. All rights reserved.
Strona 7/17
44
- 45
+ 45
46
47
48
<table>
<table class="address-handler">
<tbody>
{foreach from=$table item=tr}
<tr>
58
59
60
<td class="input">
{if 'select' == $tr.type}
<select class="{if $tr.error} error{/if}" name="{$tr.name|escape}" id="inpu
t_{$tr.name|escape}">
- 61
- 62
{foreach from=$tr.list item=c key=k}
<option value="{$k|escape}"{if $k == $tr.value} selected="selected"
{/if}>
- 63
+ 61
+ 62
+ 63
64
65
66
{$c|escape}
{foreach from=$countries_logiclist item=c}
<option data-value="{$c->getIdentifier()}"{if $c->country->isocode
== $tr.value} selected="selected"{/if} data-region="{if $c->country->regions}1{else}0{/if}" value="{$c->country->isocode|escape}">
{$c->getLocalizedName()}
</option>
{/foreach}
</select>
scripts/panel/address.tpl
75
76
77
+ 78
+ 79
+ 80
+ 81
82
83
84
</p>
{/if}
{if $address->state}
<p class="state">{$address->state|escape}</p>
{/if}
{if $address->country}
<p class="country">{$address->country|escape}</p>
{/if}
scripts/panel/favourites.tpl
62
63
64
- 65
+ 65
<td class="cell-center price">
{if $product->product->specialOffer}
{currency value=$product->getSpecialOfferPrice()}
{if $product->product->currency}
{if $product->product->currency and $currency->getIdentifier() != $product->product
->currency->getIdentifier()}
66
67
68
<em class="default-currency">({currency id=$product->product->product->currency
_id rate=1 value=$product->getCurrencySpecialOfferPrice()})</em>
{/if}
{else}
Copyright © 2015 Shoper. All rights reserved.
Strona 8/17
69
- 70
+ 70
{currency value=$product->getPrice()}
{if $product->product->currency}
{if $product->product->currency and $currency->getIdentifier() != $product->product
->currency->getIdentifier()}
71
<em class="default-currency">({currency id=$product->product->product->currency
_id rate=1 value=$product->getCurrencyPrice()})</em>
72
73
{/if}
{/if}
scripts/panel/index.tpl
119
120
121
{if $address->street_1}<p>{$address->street_1|escape}</p>{/if}
{if $address->zip_code || $address->city
}<p>{if $address->zip_code}{$address->zip_code|escape}, {/if}{if $address->city}{$address->
city|escape}{/if}</p>{/if}
+ 122
123
124
125
{if $address->state}<p>{$address->state|escape}</p>{/if}
{if $address->country}<p>{$address->country|escape}</p>{/if}
{if $address->phone}<p>{$address->phone|escape}</p>{/if}
{else}
137
138
139
{if $address->street_1}<p>{$address->street_1|escape}</p>{/if}
{if $address->zip_code || $address->city
}<p>{if $address->zip_code}{$address->zip_code|escape}, {/if}{if $address->city}{$address->
city|escape}{/if}</p>{/if}
+ 140
141
142
143
{if $address->state}<p>{$address->state|escape}</p>{/if}
{if $address->country}<p>{$address->country|escape}</p>{/if}
{if $address->phone}<p>{$address->phone|escape}</p>{/if}
{else}
scripts/panel/order.tpl
136
137
138
+ 139
+ 140
+ 141
+ 142
143
144
145
194
195
196
+ 197
+ 198
+ 199
</p>
{/if}
{if $address->state}
<p>{$address->state|escape}</p>
{/if}
{if $address->country}
<p>{$address->country|escape}</p>
{/if}
</p>
{/if}
{if $address->state}
<p>{$address->state|escape}</p>
{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 9/17
+ 200
201
202
203
{if $address->country}
<p>{$address->country|escape}</p>
{/if}
scripts/product/index.tpl
78
79
80
- 81
+ 81
<span class="none" itemprop="price">
{$product->defaultStock->getSpecialOfferPrice()}
</span>
{if $product->currency}
{if $product->currency and $currency->getIdentifier() != $product->
currency->getIdentifier()}
82
83
84
<em class="default-currency">({currency id=$product->product->
currency_id rate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice()})</em>
{/if}
{else}
88
89
90
- 91
+ 91
<span class="none" itemprop="price">
{$product->defaultStock->getPrice()}
</span>
{if $product->currency}
{if $product->currency and $currency->getIdentifier() != $product->
currency->getIdentifier()}
92
93
94
<em class="default-currency">({currency id=$product->product->c
urrency_id rate=1 value=$product->defaultStock->getCurrencyPrice()})</em>
{/if}
107
108
{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>
109
<del>{currency value=$product->defaultStock->getPrice(true)}</del>
- 110
{if $product->currency}
+ 110
{if $product->currency and $currency->getIdentifier() != $product->
currency->getIdentifier()}
111
<em class="default-currency">({currency id=$product->product->
currency_id rate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
112
{/if}
113
{else}
114
<em class="main-price" {if $skin_settings->global->pricemode == '1'
}class="no-color"{/if}>{currency value=$product->defaultStock->getPrice(true) ceil=2}</em>
- 115
{if $product->currency}
+ 115
{if $product->currency and $currency->getIdentifier() != $product->
currency->getIdentifier()}
116
<em class="default-currency">({currency id=$product->product->c
urrency_id rate=1 value=$product->defaultStock->getCurrencyPrice(true)})</em>
117
{/if}
118
{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 10/17
scripts/product/related.tpl
45
46
{if $rproduct->specialOffer}
<em class="color">{currency value=$rproduct->defaultStock->getSpecialOfferPrice()}</em>
47
- 48
+ 48
<del>{currency value=$rproduct->defaultStock->getPrice()}</del>
{if $rproduct->currency}
{if $rproduct->currency and $currency->getIdentifier() != $rproduct->currency->getIdent
ifier()}
49
<em>({currency id=$rproduct->product->currency_id rate=1 value=$rproduct->defaultSt
ock->getCurrencySpecialOfferPrice()})</em>
50
51
52
- 53
+ 53
{/if}
{else}
<em>{currency value=$rproduct->defaultStock->getPrice()}</em>
{if $rproduct->currency}
{if $rproduct->currency and $currency->getIdentifier() != $rproduct->currency->getIdent
ifier()}
54
<em>({currency id=$rproduct->product->currency_id rate=1 value=$rproduct->defaultSt
ock->getCurrencyPrice()})</em>
55
56
{/if}
{/if}
63
64
65
- 66
+ 66
{if $rproduct->specialOffer}
<em>{currency value=$rproduct->defaultStock->getSpecialOfferPrice(true)}</em>
<del>{currency value=$rproduct->defaultStock->getPrice(true)}</del>
{if $rproduct->currency}
{if $rproduct->currency and $currency->getIdentifier() != $rproduct->currency->getI
dentifier()}
67
<em>({currency id=$rproduct->product->currency_id rate=1 value=$rproduct->defau
ltStock->getCurrencySpecialOfferPrice(true)})</em>
68
69
70
- 71
+ 71
{/if}
{else}
<em>{currency value=$rproduct->defaultStock->getPrice(true)}</em>
{if $rproduct->currency}
{if $rproduct->currency and $currency->getIdentifier() != $rproduct->currency->getI
dentifier()}
72
<em>({currency id=$rproduct->product->currency_id rate=1 value=$rproduct->defau
ltStock->getCurrencyPrice(true)})</em>
73
74
{/if}
{/if}
scripts/product/tableofproducts.tpl
71
72
{if $product->specialOffer}
<em class="color">{currency value=$product->defaultStock->getSpecialOfferPrice()}</
em>
73
- 74
<del>{currency value=$product->defaultStock->getPrice()}</del>
{if $product->currency}
Copyright © 2015 Shoper. All rights reserved.
Strona 11/17
+ 74
{if $product->currency and $currency->getIdentifier() != $product->currency->getIde
ntifier()}
75
81
82
<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}
{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}
89
90
91
- 92
+ 92
{if $product->specialOffer}
<em>{currency value=$product->defaultStock->getSpecialOfferPrice(true)}</em>
<del>{currency value=$product->defaultStock->getPrice(true)}</del>
{if $product->currency}
{if $product->currency and $currency->getIdentifier() != $product->currency->ge
76
77
78
- 79
+ 79
80
tIdentifier()}
93
<em class="default-currency">({currency id=$product->product->currency_id r
ate=1 value=$product->defaultStock->getCurrencySpecialOfferPrice(true)})</em>
94
{/if}
95
{else}
96
<em>{currency value=$product->defaultStock->getPrice(true)}</em>
- 97
{if $product->currency}
+ 97
{if $product->currency and $currency->getIdentifier() != $product->currency->ge
tIdentifier()}
98
<em class="default-currency">({currency id=$product->product->currency_id r
ate=1 value=$product->defaultStock->getCurrencyPrice(true)})</em>
99
{/if}
100
{/if}
207
208
209
- 210
+ 210
211
212
213
214
- 215
+ 215
216
217
{if $product->specialOffer}
<em>{currency value=$product->defaultStock->getSpecialOfferPrice()}</em>
<del>{currency value=$product->defaultStock->getPrice()}</del>
{if $product->currency}
{if $product->currency and $currency->getIdentifier() != $product->currency->getIdentifier()}
<em class="default-currency">({currency id=$product->product->currency_id rate=1 value=$pro
duct->defaultStock->getCurrencySpecialOfferPrice()})</em>
{/if}
{else}
<em>{currency value=$product->defaultStock->getPrice()}</em>
{if $product->currency}
{if $product->currency and $currency->getIdentifier() != $product->currency->getIdentifier()}
<em class="default-currency">({currency id=$product->product->currency_id rate=1 value=$pro
duct->defaultStock->getCurrencyPrice()})</em>
{/if}
Copyright © 2015 Shoper. All rights reserved.
Strona 12/17
218
{/if}
225
226
227
- 228
+ 228
{if $product->specialOffer}
<em>{currency value=$product->defaultStock->getSpecialOfferPrice(true)}</em>
<del>{currency value=$product->defaultStock->getPrice(true)}</del>
{if $product->currency}
{if $product->currency and $currency->getIdentifier() != $product->currency->getIdentifier(
)}
229
230
231
232
- 233
+ 233
234
235
236
<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}
{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}
Pliki .css
Pliki .less
styles/_basket.less
265
266
267
+ 268
269
270
271
778
779
780
+ 781
+ 782
+ 783
+ 784
785
width: 19em;
padding-left: 1em;
padding-right: 2em;
margin-bottom: 4px;
}
}
}
font-weight: bold;
}
}
}
.hide-state {
display: none;
}
Copyright © 2015 Shoper. All rights reserved.
Strona 13/17
styles/_modules.less
649
650
651
+ 652
653
654
655
880
881
882
+ 883
884
885
886
select {
width: 16em;
margin-bottom: 4px;
}
.checkbox-wrap {
select {
width: 16em;
margin-bottom: 4px;
}
}
styles/_product.less
612
613
614
+ 615
+ 616
+ 617
+ 618
+ 619
+ 620
+ 621
+ 622
+ 623
+ 624
+ 625
+ 626
+ 627
+ 628
+ 629
+ 630
+ 631
+ 632
+ 633
+ 634
+ 635
+ 636
+ 637
+ 638
+ 639
+ 640
font-size: 1em;
line-height: 40px;
}
&.loading {
.transition(all 0.4s linear);
position: relative;
&::after {
.transition(all 0.4s linear);
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 2s infinite linear;
-moz-animation: spin 2s infinite linear;
-o-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
content: "\f013";
position: absolute;
left: 50%;
top: 50%;
z-index: 99999 !important;
font-size: 2em;
Copyright © 2015 Shoper. All rights reserved.
Strona 14/17
+ 641
+ 642
+ 643
+ 644
+ 645
+ 646
+ 647
+ 648
+ 649
+ 650
+ 651
+ 652
+ 653
+ 654
+ 655
+ 656
657
658
659
}
&::before {
.transition(all 0.4s linear);
content: '' !important;
display: block;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.9);
z-index: 99999 !important;
}
}
}
}
.addtofav{
styles/_shopGallery.less
43
44
45
+ 46
47
48
49
132
133
134
+ 135
+ 136
+ 137
+ 138
+ 139
+ 140
+ 141
+ 142
+ 143
+ 144
+ 145
+ 146
+ 147
+ 148
+ 149
+ 150
.shop-gallery-img-container {
margin: 0 auto;
padding: 0 3em;
text-align: center;
.shop-gallery-img {
.transition(all 0.2s linear);
}
}
.shop-gallery-resize {
padding: 0.45em 0.65em 0.45em 0.75em;
top: -1em;
position: absolute;
cursor: pointer;
background-color: @maincolor;
color: #fff;
left: -1em;
&::before {
display: inline-block;
font-family: 'FontAwesome';
font-style: normal;
font-weight: normal;
font-size: 13px;
-webkit-font-smoothing: antialiased;
Copyright © 2015 Shoper. All rights reserved.
Strona 15/17
+ 151
+ 152
+ 153
+ 154
+ 155
+ 156
+ 157
+ 158
+ 159
+ 160
+ 161
+ 162
+ 163
+ 164
+ 165
+ 166
167
168
169
-moz-osx-font-smoothing: grayscale;
}
&.expand {
&::before {
content: "\f065";
}
}
&.collapse {
&::before {
content: "\f066"
}
}
}
.shop-gallery-preview {
overflow: hidden;
min-width: 300px;
Pliki .js
js/main.js
430
431
432
- 433
- 434
- 435
- 436
- 437
- 438
- 439
- 440
- 441
- 442
- 443
- 444
- 445
- 446
+ 433
434
435
436
1001
img.parent().off('click').on('click', function () {
var osid = $(this).find('img.productimg').attr('class').replace(/.*gallery_([0-9]+).*/, '$1');
$('a#prodimg[data-gallery="true"]' + osid).trigger('click');
});
}
},
underdescgallery: {
selector: '#box_productgallery .gallery, .innerbox.tab-content .gallery',
load: function (el, shopInstance) {
var img = $('#box_productfull .maininfo .productimg div.mainimg img.productimg');
if(!Shop.exist(img)) return;
if(img.hasClass('innerzoom') || img.hasClass('outerzoom')) return;
img.off('click').on('click', function () {
el.find('> div:first-child > a').trigger('click');
$('a#prodimg' + osid + '[data-gallery="true"]').trigger('click');
});
}
},
return (Shop.useroptions.ajaxbasket.mode === 2);
Copyright © 2015 Shoper. All rights reserved.
Strona 16/17
1002
1003
+ 1004
+ 1005
+ 1006
+ 1007
+ 1008
+ 1009
+ 1010
+ 1011
1012
1013
1014
};
Shop.AddressContainer.condition = function() {
return Shop.exist($('.address-handler'));
};
Shop.Address.condition = function() {
return true;
};
Shop.AjaxLayer.condition = function() {
return Shop.exist($('.ajaxlayer'));
};
Copyright © 2015 Shoper. All rights reserved.
Strona 17/17

Podobne dokumenty