First upload
This commit is contained in:
@@ -0,0 +1,154 @@
|
||||
[{assign var="template_title" value="MY_ACCOUNT"|oxmultilangassign}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="accountDashboardView">
|
||||
<h1 id="accountMain" class="page-header">[{oxmultilang ident="MY_ACCOUNT"}]
|
||||
"[{$oxcmp_user->oxuser__oxusername->value}]"</h1>
|
||||
|
||||
[{if $oView->getAccountDeletionStatus() === false}]
|
||||
[{assign var="statusMessage" value="DD_DELETE_MY_ACCOUNT_ERROR"|oxmultilangassign}]
|
||||
[{include file="message/error.tpl" statusMessage=$statusMessage}]
|
||||
[{/if}]
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="account_dashboard_col1"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountPassword" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_password"}]">[{oxmultilang ident="CHANGE_PASSWORD"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_password"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="CHANGE_PASSWORD"}]</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountNewsletter" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_newsletter"}]">[{oxmultilang ident="NEWSLETTER_SETTINGS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_newsletter"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="NEWSLETTER_SUBSCRIBE_CANCEL"}]</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountBillship" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_user"}]">[{oxmultilang ident="BILLING_SHIPPING_SETTINGS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_user"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="UPDATE_YOUR_BILLING_SHIPPING_SETTINGS"}]</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountOrder" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order"}]">[{oxmultilang ident="ORDER_HISTORY"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_order"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="ORDERS"}] [{$oView->getOrderCnt()}]</div>
|
||||
</div>
|
||||
[{if $oView->isEnabledDownloadableFiles()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="linkAccountDownloads" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_downloads"}]">[{oxmultilang ident="MY_DOWNLOADS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_downloads"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="MY_DOWNLOADS_DESC"}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="account_dashboard_col2"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_noticelist"}]">[{oxmultilang ident="MY_WISH_LIST"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_noticelist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="PRODUCT"}] [{if $oxcmp_user}][{$oxcmp_user->getNoticeListArtCnt()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{if $oViewConf->getShowWishlist()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_wishlist"}]">[{oxmultilang ident="MY_GIFT_REGISTRY"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_wishlist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="PRODUCT"}] [{if $oxcmp_user}][{$oxcmp_user->getWishListArtCnt()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getShowCompareList()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=compare"}]">[{oxmultilang ident="MY_PRODUCT_COMPARISON"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=compare"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="PRODUCT"}] [{if $oView->getCompareItemsCnt()}][{$oView->getCompareItemsCnt()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getShowListmania()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_recommlist"}]">[{oxmultilang ident="MY_LISTMANIA"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_recommlist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="LISTS"}] [{if $oxcmp_user->getRecommListsCount()}][{$oxcmp_user->getRecommListsCount()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $oView->isUserAllowedToManageOwnReviews()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_reviewlist"}]">[{oxmultilang ident="MY_REVIEWS"}]</a>
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_reviewlist"}]" class="btn btn-outline-dark btn-sm float-right edit-button">
|
||||
<i class="fa fa-arrow-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">[{oxmultilang ident="MY_REVIEWS"}] [{if $oView->getReviewAndRatingItemsCount()}][{$oView->getReviewAndRatingItemsCount()}][{else}]0[{/if}]</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
[{block name="account_dashboard_delete_my_account"}]
|
||||
<div class="col-6">
|
||||
[{if $oView->isUserAllowedToDeleteOwnAccount()}]
|
||||
<button
|
||||
class="btn btn-danger"
|
||||
data-toggle="modal"
|
||||
data-target="#delete_my_account_confirmation"
|
||||
>
|
||||
<i class="fa fa-trash"></i>
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT"}]
|
||||
</button>
|
||||
[{include file="page/account/delete_my_account_confirmation.tpl"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
<div class="col-6 text-right">
|
||||
<a href="[{$oViewConf->getLogoutLink()}]" class="btn btn-warning" role="getLogoutLink">
|
||||
<i class="fa fa-power-off"></i> [{oxmultilang ident="LOGOUT"}]
|
||||
</a>
|
||||
</div>
|
||||
<p> </p>
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,50 @@
|
||||
[{block name="account_delete_my_account_confirmation"}]
|
||||
<div
|
||||
class="modal fade"
|
||||
id="delete_my_account_confirmation"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
aria-labelledby="delete_my_account_modal_label"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
[{block name="account_delete_my_account_confirmation_header_message"}]
|
||||
<span class="h4 modal-title">[{oxmultilang ident="DD_DELETE_MY_ACCOUNT_CONFIRMATION_QUESTION"}]</span>
|
||||
[{/block}]
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
[{block name="account_delete_my_account_confirmation_warning_message"}]
|
||||
<div class="alert alert-danger">
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT_WARNING"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{block name="account_delete_my_account_confirmation_form"}]
|
||||
<form name="delete_my_account" action="[{$oViewConf->getSelfActionLink()}]"
|
||||
method="post" role="form">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="account">
|
||||
<input type="hidden" name="fnc" value="deleteAccount">
|
||||
</div>
|
||||
[{block name="account_delete_my_account_confirmation_form_button_set"}]
|
||||
<button type="submit" class="btn btn-danger">
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT"}]
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">
|
||||
[{oxmultilang ident="DD_DELETE_MY_ACCOUNT_CANCEL"}]
|
||||
</button>
|
||||
[{/block}]
|
||||
</form>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,51 @@
|
||||
[{block name="delete_review_confirmation_modal"}]
|
||||
<div class="modal fade"
|
||||
id="delete_review_[{$reviewCounterIteration}]"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
>
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
[{block name="delete_review_confirmation_modal_header"}]
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<span class="h4 modal-title">[{oxmultilang ident="DD_DELETE_REVIEW_CONFIRMATION_QUESTION"}]</span>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
[{block name="delete_review_confirmation_modal_body"}]
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
[{block name="delete_review_confirmation_modal_form"}]
|
||||
<form
|
||||
action="[{$oViewConf->getSslSelfLink()}]"
|
||||
method="post"
|
||||
id="remove_review_[{$reviewCounterIteration}]"
|
||||
>
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input name="pgNr" value="[{$oView->getActPage()}]" type="hidden">
|
||||
<input name="cl" value="account_reviewlist" type="hidden">
|
||||
<input name="fnc" value="deleteReviewAndRating" type="hidden">
|
||||
<input name="reviewId" value="[{$reviewId}]" type="hidden">
|
||||
<input name="ratingId" value="[{$ratingId}]" type="hidden">
|
||||
[{block name="delete_review_confirmation_modal_buttons_set"}]
|
||||
<div class="text-right">
|
||||
<button type="submit" class="btn btn-danger">
|
||||
[{oxmultilang ident="DD_DELETE"}]
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">
|
||||
[{oxmultilang ident="CANCEL"}]
|
||||
</button>
|
||||
</div>
|
||||
[{/block}]
|
||||
</form>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,52 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MY_DOWNLOADS"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MY_DOWNLOADS"}]</h1>
|
||||
[{if $oView->getOrderFilesList()|count}]
|
||||
<ol class="list-unstyled downloadList">
|
||||
[{foreach from=$oView->getOrderFilesList() item="oOrderArticle"}]
|
||||
<li>
|
||||
[{foreach from=$oOrderArticle.oxorderfiles item="oOrderFile"}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-9">
|
||||
<strong>[{$oOrderArticle.oxarticletitle}]</strong> – [{oxmultilang ident="ORDER_NUMBER"}]: [{$oOrderArticle.oxordernr}], [{$oOrderArticle.oxorderdate|date_format:"%d.%m.%Y"}]
|
||||
</div>
|
||||
<div class="col-3">
|
||||
[{if $oOrderFile->isPaid() || !$oOrderFile->oxorderfiles__oxpurchasedonly->value }]
|
||||
<a class="btn btn-success btn-sm pull-right" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=download" params="sorderfileid="|cat:$oOrderFile->getId()}]" title="[{$oOrderFile->oxorderfiles__oxfilename->value}] [{oxmultilang ident="DD_DOWNLOADS_DOWNLOAD_TOOLTIP"}]">
|
||||
<i class="fa fa-download"></i> [{oxmultilang ident="DD_DOWNLOADS_DOWNLOAD_TOOLTIP"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{if $oOrderFile->isPaid() || !$oOrderFile->oxorderfiles__oxpurchasedonly->value }]
|
||||
[{if $oOrderFile->isValid()}]
|
||||
<strong>[{oxmultilang ident="DD_FILE_ATTRIBUTES_FILENAME" suffix="COLON"}]</strong> [{$oOrderFile->oxorderfiles__oxfilename->value}]<br>
|
||||
[{include file="page/account/inc/file_attributes.tpl"}]
|
||||
[{else}]
|
||||
[{$oOrderFile->oxorderfiles__oxfilename->value}]
|
||||
[{oxmultilang ident="DOWNLOAD_LINK_EXPIRED_OR_MAX_COUNT_RECEIVED"}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<span class="downloadableFile pending">[{$oOrderFile->oxorderfiles__oxfilename->value}]</span>
|
||||
<strong>[{oxmultilang ident="DOWNLOADS_PAYMENT_PENDING"}]</strong>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ol>
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="DOWNLOADS_EMPTY"}]</p>
|
||||
[{/if}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="downloads"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,64 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{if $oView->isEnabledPrivateSales()}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{if $oView->showUpdateScreen()}]
|
||||
[{assign var="template_title" value="NEW_PASSWORD"|oxmultilangassign}]
|
||||
[{elseif $oView->updateSuccess()}]
|
||||
[{assign var="template_title" value="CHANGE_PASSWORD"|oxmultilangassign}]
|
||||
[{else}]
|
||||
[{assign var="template_title" value="FORGOT_PASSWORD"|oxmultilangassign}]
|
||||
[{/if}]
|
||||
|
||||
<h1 class="page-header">[{$template_title}]</h1>
|
||||
|
||||
[{if $oView->isExpiredLink()}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="ERROR_MESSAGE_PASSWORD_LINK_EXPIRED"}]</div>
|
||||
[{elseif $oView->showUpdateScreen()}]
|
||||
[{include file="form/forgotpwd_change_pwd.tpl"}]
|
||||
[{elseif $oView->updateSuccess()}]
|
||||
<div class="alert alert-success">[{oxmultilang ident="PASSWORD_CHANGED"}]</div>
|
||||
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="forgotpwd" method="post" role="form">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="start">
|
||||
<button id="backToShop" class="submitButton largeButton btn btn-primary" type="submit">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="BACK_TO_SHOP"}]
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
[{else}]
|
||||
[{if $oView->getForgotEmail()}]
|
||||
[{block name="page_account_forgot_email_sent"}]
|
||||
<div class="alert alert-info">[{oxmultilang ident="PASSWORD_WAS_SEND_TO"}] [{$oView->getForgotEmail()}]</div>
|
||||
<div class="bar">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" name="forgotpwd" method="post">
|
||||
<div>
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="start">
|
||||
<button id="backToShop" class="btn btn-primary submitButton largeButton" type="submit">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="BACK_TO_SHOP"}]
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{include file="form/forgotpwd_email.tpl"}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{if !$oView->isActive('PsLogin')}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
[{else}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<nav id="account_menu" class="account-menu">
|
||||
<ul class="list-group">
|
||||
[{block name="account_menu"}]
|
||||
<li class="list-group-item[{if $active_link == "password"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_password"}]" title="[{oxmultilang ident="CHANGE_PASSWORD"}]">[{oxmultilang ident="CHANGE_PASSWORD"}]</a>
|
||||
</li>
|
||||
<li class="list-group-item[{if $active_link == "newsletter"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_newsletter"}]" title="[{oxmultilang ident="NEWSLETTER_SETTINGS"}]">[{oxmultilang ident="NEWSLETTER_SETTINGS"}]</a>
|
||||
</li>
|
||||
<li class="list-group-item[{if $active_link == "billship"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=account_user"}]" title="[{oxmultilang ident="BILLING_SHIPPING_SETTINGS"}]">[{oxmultilang ident="BILLING_SHIPPING_SETTINGS"}]</a>
|
||||
</li>
|
||||
<li class="list-group-item[{if $active_link == "orderhistory"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order"}]" title="[{oxmultilang ident="ORDER_HISTORY"}]">[{oxmultilang ident="ORDER_HISTORY"}]</a>
|
||||
</li>
|
||||
[{if $oViewConf->getShowCompareList()}]
|
||||
<li class="list-group-item[{if $active_link == "compare"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=compare"}]" title="[{oxmultilang ident="MY_PRODUCT_COMPARISON"}]">[{oxmultilang ident="MY_PRODUCT_COMPARISON"}][{if $oView->getCompareItemCount() > 0}] <span class="badge">[{$oView->getCompareItemCount()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
<li class="list-group-item[{if $active_link == "noticelist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_noticelist"}]" title="[{oxmultilang ident="MY_WISH_LIST"}]">[{oxmultilang ident="MY_WISH_LIST"}][{if $oxcmp_user && $oxcmp_user->getNoticeListArtCnt() > 0}] <span class="badge">[{$oxcmp_user->getNoticeListArtCnt()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{if $oViewConf->getShowWishlist()}]
|
||||
<li class="list-group-item[{if $active_link == "wishlist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_wishlist"}]" title="[{oxmultilang ident="MY_GIFT_REGISTRY"}]">[{oxmultilang ident="MY_GIFT_REGISTRY"}][{if $oxcmp_user && $oxcmp_user->getWishListArtCnt() > 0}] <span class="badge">[{$oxcmp_user->getWishListArtCnt()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oViewConf->getShowListmania()}]
|
||||
<li class="list-group-item[{if $active_link == "recommendationlist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_recommlist"}]" title="[{oxmultilang ident="MY_LISTMANIA"}]">[{oxmultilang ident="MY_LISTMANIA"}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oView->isEnabledDownloadableFiles()}]
|
||||
<li class="list-group-item[{if $active_link == "downloads"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_downloads"}]" title="[{oxmultilang ident="MY_DOWNLOADS"}]">[{oxmultilang ident="MY_DOWNLOADS"}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{if $oView->isUserAllowedToManageOwnReviews()}]
|
||||
<li class="list-group-item[{if $active_link == "reviewlist"}] active[{/if}]">
|
||||
<a class="list-group-link" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_reviewlist"}]" title="[{oxmultilang ident="MY_REVIEWS"}]">[{oxmultilang ident="MY_REVIEWS"}]
|
||||
[{if $oView->getReviewAndRatingItemsCount() > 0}]<span class="badge">[{$oView->getReviewAndRatingItemsCount()}]</span>[{/if}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</ul>
|
||||
</nav>
|
||||
@@ -0,0 +1,19 @@
|
||||
<strong>[{oxmultilang ident="DD_FILE_ATTRIBUTES_FILESIZE" suffix="COLON"}]</strong> [{$oOrderFile->getFileSize()|oxfilesize}]
|
||||
|
||||
[{if $oOrderFile->oxorderfiles__oxdownloadcount->value == 0 && $oOrderFile->getValidUntil() != "0000-00-00 00:00" }]
|
||||
[{if $oOrderFile->oxorderfiles__oxlinkexpirationtime->value || $oOrderFile->oxorderfiles__oxdownloadxpirationtime->value}]
|
||||
<br>[{oxmultilang ident="START_DOWNLOADING_UNTIL"}] [{$oOrderFile->getValidUntil()|date_format:"%d.%m.%Y"}] [{$oOrderFile->getValidUntil()|date_format:"%H:%M:%S"}] [{oxmultilang ident="DD_FILE_ATTRIBUTES_OCLOCK"}].
|
||||
[{/if}]
|
||||
[{if $oOrderFile->oxorderfiles__oxmaxdownloadcount->value != 0}]
|
||||
<br><strong>[{oxmultilang ident="LEFT_DOWNLOADS"}]:</strong> [{$oOrderFile->getLeftDownloadCount()}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{if $oOrderFile->getValidUntil() != "0000-00-00 00:00" }]
|
||||
[{if $oOrderFile->oxorderfiles__oxlinkexpirationtime->value || $oOrderFile->oxorderfiles__oxdownloadxpirationtime->value}]
|
||||
<br><strong>[{oxmultilang ident="LINK_VALID_UNTIL"}]:</strong> [{$oOrderFile->getValidUntil()|date_format:"%d.%m.%Y"}] [{$oOrderFile->getValidUntil()|date_format:"%H:%M:%S"}] [{oxmultilang ident="DD_FILE_ATTRIBUTES_OCLOCK"}].
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{if $oOrderFile->oxorderfiles__oxmaxdownloadcount->value != 0}]
|
||||
<br><strong>[{oxmultilang ident="LEFT_DOWNLOADS"}]:</strong> [{$oOrderFile->getLeftDownloadCount()}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,10 @@
|
||||
[{assign var="template_title" value="REGISTER"|oxmultilangassign}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="accountLoginView">
|
||||
<h1 id="loginAccount" class="page-header">[{oxmultilang ident="LOGIN"}]</h1>
|
||||
[{include file="form/login_account.tpl"}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,20 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="NEWSLETTER_SETTINGS"|oxmultilangassign}]
|
||||
[{if $oView->getSubscriptionStatus() != 0}]
|
||||
[{if $oView->getSubscriptionStatus() == 1}]
|
||||
<div class="alert alert-success">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION_SUCCESS"}]</div>
|
||||
[{else}]
|
||||
<div class="alert alert-success">[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION_CANCELED"}]</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
<h1 id="newsletterSettingsHeader" class="page-header">[{oxmultilang ident="NEWSLETTER_SETTINGS"}]</h1>
|
||||
|
||||
[{include file="form/account_newsletter.tpl"}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="newsletter"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,16 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MY_WISH_LIST"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MY_WISH_LIST"}]</h1>
|
||||
|
||||
[{if $oView->getNoticeProductList()}]
|
||||
[{include file="widget/product/list.tpl" type="line" listId="noticelistProductList" title="" products=$oView->getNoticeProductList() removeFunction="tonoticelist" owishid=$oxcmp_user->oxuser__oxid->value}]
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="WISH_LIST_EMPTY"}]</p>
|
||||
[{/if}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="noticelist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
108
shop/source/Application/views/wave/tpl/page/account/order.tpl
Normal file
108
shop/source/Application/views/wave/tpl/page/account/order.tpl
Normal file
@@ -0,0 +1,108 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="ORDER_HISTORY"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="ORDER_HISTORY"}]</h1>
|
||||
|
||||
[{assign var=oOrders value=$oView->getOrderList()}]
|
||||
|
||||
[{block name="account_order_history"}]
|
||||
[{if $oOrders && !empty($oOrders)}]
|
||||
[{assign var=oArticleList value=$oView->getOrderArticleList()}]
|
||||
<ol class="list-unstyled">
|
||||
[{foreach from=$oOrders item=order}]
|
||||
<li>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="DATE" suffix="COLON"}]</strong>
|
||||
<span id="accOrderDate_[{$order->oxorder__oxordernr->value}]">[{$order->oxorder__oxorderdate->value|date_format:"%d.%m.%Y"}]</span>
|
||||
<span>[{$order->oxorder__oxorderdate->value|date_format:"%H:%M:%S"}]</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="STATUS"}]</strong>
|
||||
<span id="accOrderStatus_[{$order->oxorder__oxordernr->value}]">
|
||||
[{if $order->oxorder__oxstorno->value}]
|
||||
<span class="note">[{oxmultilang ident="ORDER_IS_CANCELED"}]</span>
|
||||
[{elseif $order->oxorder__oxsenddate->value !="-"}]
|
||||
<span>[{oxmultilang ident="SHIPPED"}]</span>
|
||||
[{else}]
|
||||
<span class="note">[{oxmultilang ident="NOT_SHIPPED_YET"}]</span>
|
||||
[{/if}]
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="ORDER_NUMBER"}]</strong>
|
||||
<span id="accOrderNo_[{$order->oxorder__oxordernr->value}]">[{$order->oxorder__oxordernr->value}]</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>[{oxmultilang ident="SHIPMENT_TO"}]</strong>
|
||||
<span id="accOrderName_[{$order->oxorder__oxordernr->value}]">
|
||||
[{if $order->oxorder__oxdellname->value}]
|
||||
[{$order->oxorder__oxdelfname->value}]
|
||||
[{$order->oxorder__oxdellname->value}]
|
||||
[{else}]
|
||||
[{$order->oxorder__oxbillfname->value}]
|
||||
[{$order->oxorder__oxbilllname->value}]
|
||||
[{/if}]
|
||||
</span>
|
||||
[{if $order->getShipmentTrackingUrl()}]
|
||||
| <strong>[{oxmultilang ident="TRACKING_ID"}]</strong>
|
||||
<span id="accOrderTrack_[{$order->oxorder__oxordernr->value}]">
|
||||
<a href="[{$order->getShipmentTrackingUrl()}]">[{oxmultilang ident="TRACK_SHIPMENT"}]</a>
|
||||
</span>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<strong>[{oxmultilang ident="CART"}]</strong>
|
||||
[{block name="account_order_history_cart_items"}]
|
||||
<ol class="list-unstyled">
|
||||
[{foreach from=$order->getOrderArticles(true) item=orderitem name=testOrderItem}]
|
||||
[{assign var=sArticleId value=$orderitem->oxorderarticles__oxartid->value}]
|
||||
[{assign var=oArticle value=$oArticleList[$sArticleId]}]
|
||||
<li id="accOrderAmount_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]">
|
||||
[{$orderitem->oxorderarticles__oxamount->value}] [{oxmultilang ident="QNT"}]
|
||||
[{if $oArticle->oxarticles__oxid->value && $oArticle->isVisible()}]
|
||||
<a id="accOrderLink_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]" href="[{$oArticle->getLink()}]">
|
||||
[{/if}]
|
||||
[{$orderitem->oxorderarticles__oxtitle->value}] [{$orderitem->oxorderarticles__oxselvariant->value}] <span class="amount"></span>
|
||||
[{if $oArticle->oxarticles__oxid->value && $oArticle->isVisible()}]
|
||||
</a>
|
||||
[{/if}]
|
||||
[{foreach key=sVar from=$orderitem->getPersParams() item=aParam}]
|
||||
[{if $aParam}]
|
||||
<br />[{oxmultilang ident="DETAILS"}]: [{$aParam}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{* Commented due to Trusted Shops precertification. Enable if needed *}]
|
||||
[{*
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{if $oArticle->isBuyable()}]
|
||||
[{if $oArticle->oxarticles__oxid->value}]
|
||||
<a id="accOrderToBasket_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order" params="fnc=tobasket&aid=`$oArticle->oxarticles__oxid->value`&am=1"}]">[{oxmultilang ident="TO_CART"}]</a>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
*}]
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ol>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ol>
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="ORDER_EMPTY_HISTORY"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="orderhistory"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,28 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="CHANGE_PASSWORD"|oxmultilangassign}]
|
||||
|
||||
[{if $oView->isPasswordChanged()}]
|
||||
<div class="alert alert-success">
|
||||
[{oxmultilang ident="MESSAGE_PASSWORD_CHANGED"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $Errors|is_array && $Errors.user|is_array && !empty($Errors.user)}]
|
||||
<div class="alert alert-danger">
|
||||
[{foreach from=$Errors.user item=oEr key=key}]
|
||||
<p>[{$oEr->getOxMessage()}]</p>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<h1 id="personalSettingsHeader" class="page-header">[{oxmultilang ident="CHANGE_PASSWORD"}]</h1>
|
||||
|
||||
[{include file="form/user_password.tpl"}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="password"}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,12 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
[{assign var="template_title" value=$product->oxarticles__oxtitle->value|cat:" "|cat:$product->oxarticles__oxvarselect->value}]
|
||||
|
||||
<h1 class="page-header">[{$template_title}]</h1>
|
||||
|
||||
[{oxid_include_dynamic file="form/recommendation_add.tpl" testid=""}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="LISTMANIA"|oxmultilangassign}]
|
||||
[{if $oView->getActiveRecommList()}]
|
||||
[{assign var="_actvrecommlist" value=$oView->getActiveRecommList()}]
|
||||
[{assign var="recommendation_head" value=$_actvrecommlist->oxrecommlists__oxtitle->value}]
|
||||
|
||||
<h1 class="page-header">[{$recommendation_head}]</h1>
|
||||
<div class="listmaniaView">
|
||||
[{include file="form/recommendation_edit.tpl" actvrecommlist=$_actvrecommlist}]
|
||||
</div>
|
||||
[{if $oView->getArticleList()}]
|
||||
[{assign var="blEdit" value=true}]
|
||||
[{include file="widget/product/list.tpl" type="line" listId="recommendProductList" products=$oView->getArticleList() recommid=$_actvrecommlist->getId() removeFunction="removeArticle"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="recommendationlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,30 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="LISTMANIA"|oxmultilangassign}]
|
||||
[{assign var="_actvrecommlist" value=$oView->getActiveRecommList()}]
|
||||
|
||||
<h1 class="page-header">[{oxmultilang ident="LISTMANIA"}]</h1>
|
||||
|
||||
[{if $oView->isSavedList()}]
|
||||
[{assign var="_statusMessage" value="LISTMANIA_LIST_SAVED"|oxmultilangassign}]
|
||||
[{include file="message/success.tpl" statusMessage=$_statusMessage}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="account_redommendationlist_content"}]
|
||||
|
||||
[{include file="form/recommendation_edit.tpl" actvrecommlist=$_actvrecommlist}]
|
||||
|
||||
<hr>
|
||||
|
||||
[{if !$oView->getActiveRecommList()}]
|
||||
[{assign var="blEdit" value=true}]
|
||||
[{include file="page/recommendations/inc/list.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="recommendationlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{if $oView->isEnabledPrivateSales()}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="OPEN_ACCOUNT"|oxmultilangassign}]
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="message/errors.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
<h1 id="openAccHeader" class="page-header">[{oxmultilang ident="OPEN_ACCOUNT"}]</h1>
|
||||
[{include file="form/register.tpl"}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
[{else}]
|
||||
[{include file="layout/page.tpl" sidebar="Right"}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,10 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MESSAGE_WELCOME_REGISTERED_USER"|oxmultilangassign}]
|
||||
<h1 id="openAccHeader" class="page-header">[{oxmultilang ident="MESSAGE_WELCOME_REGISTERED_USER"}]</h1>
|
||||
<div class="box info">
|
||||
[{oxmultilang ident="MESSAGE_ACCOUNT_REGISTRATION_CONFIRMED"}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MESSAGE_WELCOME_REGISTERED_USER"|oxmultilangassign}]
|
||||
<h1 id="openAccHeader" class="page-header">[{oxmultilang ident="MESSAGE_WELCOME_REGISTERED_USER"}]</h1>
|
||||
<div class="box info">
|
||||
[{if $oView->getRegistrationStatus() == 1}]
|
||||
[{oxmultilang ident="MESSAGE_CONFIRMING_REGISTRATION"}]
|
||||
[{elseif $oView->getRegistrationStatus() == 2}]
|
||||
[{oxmultilang ident="MESSAGE_SENT_CONFIRMATION_EMAIL"}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getRegistrationError() == 4}]
|
||||
<div>
|
||||
[{oxmultilang ident="MESSAGE_NOT_ABLE_TO_SEND_EMAIL"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{if $oView->isActive('PsLogin')}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
[{else}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,94 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{oxscript include="js/widgets/oxlistremovebutton.min.js" priority=10}]
|
||||
|
||||
[{block name="account_reviewlist_header"}]
|
||||
[{assign var="template_title" value="MY_REVIEWS"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MY_REVIEWS"}]</h1>
|
||||
[{/block}]
|
||||
|
||||
[{block name="account_reviewlist_list"}]
|
||||
<div id="review">
|
||||
[{if $oView->getReviewAndRatingItemsCount() }]
|
||||
<div class="spacer"></div>
|
||||
<div class="reviews-landscape">
|
||||
[{foreach from=$oView->getReviewList() item=review name=ReviewsCounter}]
|
||||
[{block name="account_reviewlist_item"}]
|
||||
<div class="card" id="reviewName_[{$smarty.foreach.ReviewsCounter.iteration}]" itemprop="review" itemscope itemtype="http://schema.org/Review">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-md-3 date">
|
||||
<span>
|
||||
<time itemprop="datePublished" datetime="[{$review->getCreatedAt()|date_format:"%Y-%m-%d"}]">[{$review->getCreatedAt()|date_format:"%d.%m.%Y"}]</time>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-md-5 articleTitle">
|
||||
<span itemprop="itemreviewed">[{$review->getObjectTitle()|truncate:60}]</span>
|
||||
</div>
|
||||
<div class="col-md-3 rating text-right">
|
||||
[{if $review->getRating()}]
|
||||
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
|
||||
[{section name="starRatings" start=0 loop=5}]
|
||||
[{if $review->getRating() >= $smarty.section.starRatings.iteration}]
|
||||
<i class="fas fa-star"></i>
|
||||
[{else}]
|
||||
<i class="far fa-star"></i>
|
||||
[{/if}]
|
||||
[{/section}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{block name="account_reviewlist_item_action"}]
|
||||
<div class="col-md-1 pull-right">
|
||||
<div class="actions text-center">
|
||||
<div class="btn-group">
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-danger btn-block hasTooltip"
|
||||
title="[{oxmultilang ident="DD_DELETE_REVIEW_AND_RATING"}]"
|
||||
data-toggle="modal"
|
||||
data-target="#delete_review_[{$smarty.foreach.ReviewsCounter.iteration}]"
|
||||
>
|
||||
<i class="fa fa-trash"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
[{if $review->getReviewText()}]
|
||||
<div class="card-body" id="reviewText_[{$smarty.foreach.ReviewsCounter.iteration}]" itemprop="description">[{$review->getReviewText()}]</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{include
|
||||
file="page/account/delete_review_confirmation.tpl"
|
||||
reviewId=$review->getReviewId()
|
||||
ratingId=$review->getRatingId()
|
||||
reviewCounterIteration=$smarty.foreach.ReviewsCounter.iteration
|
||||
}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{else}]
|
||||
[{block name="account_reviewlist_no_reviews_available"}]
|
||||
<div class="alert alert-info">
|
||||
[{oxmultilang ident="DD_REVIEWS_NOT_AVAILABLE"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="account_reviewlist_locator"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="reviewlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
12
shop/source/Application/views/wave/tpl/page/account/user.tpl
Normal file
12
shop/source/Application/views/wave/tpl/page/account/user.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<h1 id="addressSettingsHeader" class="page-header">[{$oView->getTitle()}]</h1>
|
||||
|
||||
[{block name="account_user_form"}]
|
||||
[{include file="form/user.tpl"}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="billship"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,41 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="MY_GIFT_REGISTRY"|oxmultilangassign}]
|
||||
[{if !$oView->getWishListUsers() && $oView->getWishListSearchParam()}]
|
||||
[{assign var="_statusMessage" value="MESSAGE_SORRY_NO_GIFT_REGISTRY"|oxmultilangassign}]
|
||||
[{include file="message/error.tpl" statusMessage=$_statusMessage}]
|
||||
[{/if}]
|
||||
[{assign var="editval" value=$oView->getEnteredData()}]
|
||||
[{if $oView->isWishListEmailSent()}]
|
||||
[{assign var="_statusMessage" value="GIFT_REGISTRY_SENT_SUCCESSFULLY"|oxmultilangassign:$editval->rec_email}]
|
||||
[{include file="message/notice.tpl" statusMessage=$_statusMessage}]
|
||||
[{/if}]
|
||||
|
||||
<h1 class="page-header">[{$oView->getTitle()}]</h1>
|
||||
|
||||
<div class="wishlist-search">
|
||||
[{include file="form/wishlist_search.tpl" searchClass="account_wishlist"}]
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="wishlist">
|
||||
[{if $oView->getWishList()}]
|
||||
[{include file="form/wishlist_publish.tpl"}]
|
||||
<hr>
|
||||
[{include file="form/wishlist_suggest.tpl"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{if $oView->getWishList()}]
|
||||
[{include file="widget/product/list.tpl" type="line" listId="wishlistProductList" title="" products=$oView->getWishProductList() removeFunction="towishlist" toBasketFunction="tobasket" owishid=$oxcmp_user->oxuser__oxid->value}]
|
||||
[{else}]
|
||||
<p class="alert alert-info">
|
||||
[{oxmultilang ident="GIFT_REGISTRY_EMPTY"}]
|
||||
</p>
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="wishlist"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
127
shop/source/Application/views/wave/tpl/page/checkout/basket.tpl
Normal file
127
shop/source/Application/views/wave/tpl/page/checkout/basket.tpl
Normal file
@@ -0,0 +1,127 @@
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{* ordering steps *}]
|
||||
[{include file="page/checkout/inc/steps.tpl" active=1}]
|
||||
|
||||
[{block name="checkout_basket_main"}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
|
||||
[{if $oView->isLowOrderPrice()}]
|
||||
[{block name="checkout_basket_loworderprice_top"}]
|
||||
<div class="alert alert-info">[{oxmultilang ident="MIN_ORDER_PRICE"}] [{$oView->getMinOrderPrice()}] [{$currency->sign}]</div>
|
||||
<div class="spacer"></div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{if !$oxcmp_basket->getProductsCount()}]
|
||||
[{block name="checkout_basket_emptyshippingcart"}]
|
||||
<div class="spacer"></div>
|
||||
<div class="alert alert-danger" id="empty-basket-warning">
|
||||
<a href="[{$oViewConf->getHomeLink()}]" title="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]" class="btn btn-outline-dark"><i class="fa fa-caret-left"></i> [{oxmultilang ident="DD_BASKET_BACK_TO_SHOP"}]</a>
|
||||
[{oxmultilang ident="BASKET_EMPTY"}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="checkout_basket_next_step_top"}]
|
||||
<div class="card bg-light cart-buttons mb-3">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="checkout_basket_backtoshop_top"}]
|
||||
[{if $oView->showBackToShop()}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" class="float-left">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="basket">
|
||||
<input type="hidden" name="fnc" value="backtoshop">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-outline-dark submitButton largeButton float-left">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="CONTINUE_SHOPPING"}]
|
||||
</button>
|
||||
</form>
|
||||
[{else}]
|
||||
<a href="[{$oViewConf->getHomeLink()}]" class="btn btn-outline-dark submitButton largeButton float-left">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="CONTINUE_SHOPPING"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
[{if !$oView->isLowOrderPrice()}]
|
||||
[{block name="basket_btn_next_top"}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" class="float-right">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary submitButton largeButton nextStep float-right">
|
||||
[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}] <i class="fa fa-caret-right"></i>
|
||||
</button>
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
<div class="lineBox">
|
||||
[{include file="page/checkout/inc/basketcontents.tpl" editable=true}]
|
||||
</div>
|
||||
|
||||
[{block name="checkout_basket_next_step_bottom"}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="checkout_basket_loworderprice_bottom"}][{/block}]
|
||||
|
||||
[{block name="checkout_basket_backtoshop_bottom"}]
|
||||
[{if $oView->showBackToShop()}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" class="float-left">
|
||||
<div class="backtoshop">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="basket">
|
||||
<input type="hidden" name="fnc" value="backtoshop">
|
||||
<button type="submit" class="btn btn-outline-dark submitButton largeButton float-left">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="CONTINUE_SHOPPING"}]
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
[{else}]
|
||||
<a href="[{$oViewConf->getHomeLink()}]" class="btn btn-outline-dark submitButton largeButton float-left">
|
||||
<i class="fa fa-caret-left"></i> [{oxmultilang ident="CONTINUE_SHOPPING"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
[{if !$oView->isLowOrderPrice()}]
|
||||
[{block name="basket_btn_next_bottom"}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" class="float-right">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary submitButton largeButton nextStep pull-right">
|
||||
[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}] <i class="fa fa-caret-right"></i>
|
||||
</button>
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{if $oView->isWrapping()}]
|
||||
[{include file="page/checkout/inc/wrapping.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,82 @@
|
||||
<div class="agb card">
|
||||
[{if !$hideButtons}]
|
||||
|
||||
[{if !$oView->isActive('PsLogin')}]
|
||||
[{if $oView->isConfirmAGBActive()}]
|
||||
[{oxifcontent ident="oxrighttocancellegend" object="oContent"}]
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{$oContent->oxcontents__oxtitle->value}]</h3>
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
[{else}]
|
||||
[{oxifcontent ident="oxrighttocancellegend2" object="oContent"}]
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{$oContent->oxcontents__oxtitle->value}]</h3>
|
||||
</div>
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
<div class="card-body">
|
||||
[{block name="checkout_order_agb_inner"}]
|
||||
[{if !$oView->isActive('PsLogin')}]
|
||||
[{if $oView->isConfirmAGBActive()}]
|
||||
[{oxifcontent ident="oxrighttocancellegend" object="oContent"}]
|
||||
<p class="agbConfirmation checkbox">
|
||||
<label>
|
||||
<input id="checkAgbTop" type="checkbox" name="ord_agb" value="1"> [{$oContent->oxcontents__oxcontent->value}]
|
||||
</label>
|
||||
</p>
|
||||
[{/oxifcontent}]
|
||||
[{else}]
|
||||
[{oxifcontent ident="oxrighttocancellegend2" object="oContent"}]
|
||||
<p class="agbConfirmation">
|
||||
[{$oContent->oxcontents__oxcontent->value}]
|
||||
</p>
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oViewConf->isFunctionalityEnabled('blEnableIntangibleProdAgreement') }]
|
||||
[{assign var="oExplanationMarks" value=$oView->getBasketContentMarkGenerator() }]
|
||||
[{if $oxcmp_basket->hasArticlesWithDownloadableAgreement() }]
|
||||
[{oxifcontent ident="oxdownloadableproductsagreement" object="oContent"}]
|
||||
<p id="noteForDownloadableArticles" class="agbConfirmation checkbox">
|
||||
<label>
|
||||
<input id="oxdownloadableproductsagreement" type="checkbox" name="oxdownloadableproductsagreement" value="1">
|
||||
[{$oExplanationMarks->getMark('downloadable')}] [{$oContent->oxcontents__oxcontent->value}]
|
||||
</label>
|
||||
</p>
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
[{if $oxcmp_basket->hasArticlesWithIntangibleAgreement() }]
|
||||
[{oxifcontent ident="oxserviceproductsagreement" object="oContent"}]
|
||||
<p id="noteForIntangibleArticles" class="agbConfirmation checkbox">
|
||||
<label>
|
||||
<input id="oxserviceproductsagreement" type="checkbox" name="oxserviceproductsagreement" value="1">
|
||||
[{$oExplanationMarks->getMark('intangible')}] [{$oContent->oxcontents__oxcontent->value}]
|
||||
</label>
|
||||
</p>
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oViewConf->isFunctionalityEnabled("blShowTSInternationalFeesMessage")}]
|
||||
[{oxifcontent ident="oxtsinternationalfees" object="oTSIFContent"}]
|
||||
<hr/>[{$oTSIFContent->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
|
||||
[{if $payment->oxpayments__oxid->value eq "oxidcashondel" && $oViewConf->isFunctionalityEnabled("blShowTSCODMessage")}]
|
||||
[{oxifcontent ident="oxtscodmessage" object="oTSCODContent"}]
|
||||
<hr/>[{$oTSCODContent->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{oxscript add="$('#checkAgbTop').click(function(){ $('input[name=ord_agb]').val($(this).is(':checked') ? '1' : '0');});"}]
|
||||
[{oxscript add="$('#oxdownloadableproductsagreement').click(function(){ $('input[name=oxdownloadableproductsagreement]').val($(this).is(':checked') ? '1' : '0');});"}]
|
||||
[{oxscript add="$('#oxserviceproductsagreement').click(function(){ $('input[name=oxserviceproductsagreement]').val($(this).is(':checked') ? '1' : '0');});"}]
|
||||
@@ -0,0 +1,283 @@
|
||||
[{* basket contents *}]
|
||||
[{*oxscript include="js/widgets/oxbasketchecks.min.js" priority=10*}]
|
||||
[{*oxscript add="$('#checkAll, #basketRemoveAll').oxBasketChecks();"*}]
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
|
||||
<form name="basket[{$basketindex}]" id="basket_form" action="[{$oViewConf->getSelfActionLink()}]" method="post">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="basket">
|
||||
<input type="hidden" name="fnc" value="changebasket">
|
||||
<input type="hidden" name="CustomError" value="basket">
|
||||
|
||||
<div class="basket" id="basketcontents_list">
|
||||
[{block name="checkout_basketcontents_list"}]
|
||||
[{include file="page/checkout/inc/basketcontents_list.tpl"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<div class="row">
|
||||
[{if $oViewConf->getShowVouchers() && $oViewConf->getActiveClassName() == 'basket'}]
|
||||
[{block name="checkout_basket_vouchers"}]
|
||||
<div id="basketVoucher" class="col-12 col-md-6">
|
||||
<form name="voucher" action="[{$oViewConf->getSelfActionLink()}]" method="post" class="js-oxValidate form-inline" role="form" novalidate="novalidate">
|
||||
<div class="couponBox" id="coupon">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="basket">
|
||||
<input type="hidden" name="fnc" value="addVoucher">
|
||||
<input type="hidden" name="CustomError" value="basket">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req sr-only voucher-label" for="input_voucherNr">[{oxmultilang ident="ENTER_COUPON_NUMBER"}]</label>
|
||||
<div class="input-group">
|
||||
<input type="text" name="voucherNr" size="30" class="form-control voucher-code js-oxValidate js-oxValidate_notEmpty" id="input_voucherNr" placeholder="[{oxmultilang ident="ENTER_COUPON_NUMBER"}]" required="required">
|
||||
<span class="input-group-append">
|
||||
<button type="submit" class="btn btn-primary submitButton"><i class="fa fa-gift"></i> [{oxmultilang ident="REDEEM_COUPON"}]</button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="help-block"></div>
|
||||
</div>
|
||||
|
||||
|
||||
[{foreach from=$Errors.basket item=oEr key=key}]
|
||||
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
|
||||
<div class="alert alert-danger">
|
||||
[{oxmultilang ident="COUPON_NOT_ACCEPTED" args=$oEr->getValue('voucherNr')}]
|
||||
<strong>[{oxmultilang ident="REASON" suffix="COLON"}]</strong>
|
||||
[{$oEr->getOxMessage()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_basketcontents_summary"}]
|
||||
|
||||
<div id="basketSummary" class="col-12 col-md-6 summary[{if $oViewConf->getShowVouchers() && $oViewConf->getActiveClassName() != 'basket'}] offset-md-6[{/if}][{if $oViewConf->getActiveClassName() == 'order'}] orderSummary[{/if}]">
|
||||
[{* basket summary *}]
|
||||
<table class="table table-bordered table-striped">
|
||||
[{block name="checkout_basketcontents_summary_table_inner"}]
|
||||
[{if !$oxcmp_basket->getDiscounts()}]
|
||||
[{block name="checkout_basketcontents_nodiscounttotalnet"}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="TOTAL_NET"}]</th>
|
||||
<td id="basketTotalProductsNetto" class="text-right">[{oxprice price=$oxcmp_basket->getNettoSum() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_nodiscountproductvats"}]
|
||||
[{foreach from=$oxcmp_basket->getProductVats(false) item=VATitem key=key}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]</th>
|
||||
<td class="text-right">[{oxprice price=$VATitem currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_nodiscounttotalgross"}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="TOTAL_GROSS" suffix="COLON"}]</th>
|
||||
<td id="basketTotalProductsGross" class="text-right">[{oxprice price=$oxcmp_basket->getBruttoSum() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{if $oxcmp_basket->isPriceViewModeNetto()}]
|
||||
[{block name="checkout_basketcontents_discounttotalnet"}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="TOTAL_NET"}]</th>
|
||||
<td id="basketTotalProductsNetto" class="text-right">[{oxprice price=$oxcmp_basket->getNettoSum() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="checkout_basketcontents_discounttotalgross"}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="TOTAL_GROSS" suffix="COLON"}]</th>
|
||||
<td id="basketTotalProductsGross" class="text-right">[{oxprice price=$oxcmp_basket->getBruttoSum() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_basketcontents_discounts"}]
|
||||
[{foreach from=$oxcmp_basket->getDiscounts() item=oDiscount name=test_Discounts}]
|
||||
<tr>
|
||||
<th class="text-right">
|
||||
<b>[{if $oDiscount->dDiscount < 0}][{oxmultilang ident="SURCHARGE"}][{else}][{oxmultilang ident="DISCOUNT"}][{/if}] </b>
|
||||
[{$oDiscount->sDiscount}]
|
||||
</th>
|
||||
<td class="text-right">
|
||||
[{oxprice price=$oDiscount->dDiscount*-1 currency=$currency}]
|
||||
</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{if !$oxcmp_basket->isPriceViewModeNetto()}]
|
||||
[{block name="checkout_basketcontents_totalnet"}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="TOTAL_NET"}]</th>
|
||||
<td id="basketTotalNetto" class="text-right">[{oxprice price=$oxcmp_basket->getNettoSum() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_basketcontents_productvats"}]
|
||||
[{foreach from=$oxcmp_basket->getProductVats(false) item=VATitem key=key}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$key}]</th>
|
||||
<td class="text-right">[{oxprice price=$VATitem currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oxcmp_basket->isPriceViewModeNetto()}]
|
||||
[{block name="checkout_basketcontents_totalgross"}]
|
||||
<tr>
|
||||
<th class="text-right">[{oxmultilang ident="TOTAL_GROSS" suffix="COLON"}]</th>
|
||||
<td id="basketTotalGross" class="text-right">[{oxprice price=$oxcmp_basket->getBruttoSum() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_voucherdiscount"}]
|
||||
[{if $oViewConf->getShowVouchers() && $oxcmp_basket->getVoucherDiscValue()}]
|
||||
[{foreach from=$oxcmp_basket->getVouchers() item=sVoucher key=key name=Voucher}]
|
||||
<tr class="couponData">
|
||||
<th class="text-right"><span><strong>[{oxmultilang ident="COUPON"}]</strong> ([{oxmultilang ident="NUMBER"}] [{$sVoucher->sVoucherNr}])</span>
|
||||
[{if $editable}]
|
||||
<a href="[{$oViewConf->getSelfLink()}]&cl=basket&fnc=removeVoucher&voucherId=[{$sVoucher->sVoucherId}]&CustomError=basket&stoken=[{$oViewConf->getSessionChallengeToken()}]" class="removeFn">[{oxmultilang ident="REMOVE"}]</a>
|
||||
[{/if}]
|
||||
</th>
|
||||
<td class="text-right"><strong>[{oxprice price=$sVoucher->dVoucherdiscount*-1 currency=$currency}]</strong></td>
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_delcosts"}]
|
||||
[{assign var="deliveryCost" value=$oxcmp_basket->getDeliveryCost()}]
|
||||
[{if $deliveryCost && ($oxcmp_basket->getBasketUser() || $oViewConf->isFunctionalityEnabled('blCalculateDelCostIfNotLoggedIn') ) }]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForDelivery') }]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="SHIPPING_NET" suffix="COLON" }]</th>
|
||||
<td id="basketDeliveryNetto" class="text-right">[{oxprice price=$deliveryCost->getNettoPrice() currency=$currency }]</td>
|
||||
</tr>
|
||||
[{if $deliveryCost->getVatValue()}]
|
||||
<tr>
|
||||
[{if $oxcmp_basket->isProportionalCalculationOn() }]
|
||||
<th class="text-right">[{oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON"}]</th>
|
||||
[{else}]
|
||||
<th class="text-right">[{oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$deliveryCost->getVat()}]</th>
|
||||
[{/if}]
|
||||
<td id="basketDeliveryVat" class="text-right">[{oxprice price=$deliveryCost->getVatValue() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="SHIPPING_COST" suffix="COLON" }]</th>
|
||||
<td id="basketDeliveryGross" class="text-right">[{oxprice price=$deliveryCost->getBruttoPrice() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_paymentcosts"}]
|
||||
[{assign var="paymentCost" value=$oxcmp_basket->getPaymentCost()}]
|
||||
[{if $paymentCost && $paymentCost->getPrice() }]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForPayCharge') }]
|
||||
<tr>
|
||||
<th class="text-right">[{if $paymentCost->getPrice() >= 0}][{ oxmultilang ident="SURCHARGE" }][{else}][{ oxmultilang ident="DEDUCTION" }][{/if}] [{ oxmultilang ident="PAYMENT_METHOD" suffix="COLON"}]</th>
|
||||
<td id="basketPaymentNetto">[{oxprice price=$paymentCost->getNettoPrice() currency=$currency }]</td>
|
||||
</tr>
|
||||
[{if $paymentCost->getVatValue()}]
|
||||
<tr>
|
||||
[{if $oxcmp_basket->isProportionalCalculationOn() }]
|
||||
<th class="text-right">[{ oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON" }]</th>
|
||||
[{else}]
|
||||
<th class="text-right">[{ oxmultilang ident="SURCHARGE_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$paymentCost->getVat() }]</th>
|
||||
[{/if}]
|
||||
<td id="basketPaymentVat">[{oxprice price=$paymentCost->getVatValue() currency=$currency }]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<tr>
|
||||
<th class="text-right">[{if $paymentCost->getPrice() >= 0}][{ oxmultilang ident="SURCHARGE" }][{else}][{ oxmultilang ident="DEDUCTION" }][{/if}] [{ oxmultilang ident="PAYMENT_METHOD" suffix="COLON" }]</th>
|
||||
<td id="basketPaymentGross">[{oxprice price=$paymentCost->getBruttoPrice() currency=$currency }]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_wrappingcosts"}]
|
||||
[{if $oViewConf->getShowGiftWrapping() }]
|
||||
|
||||
[{assign var="wrappingCost" value=$oxcmp_basket->getWrappingCost()}]
|
||||
[{if $wrappingCost && $wrappingCost->getPrice() > 0 }]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForWrapping') }]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="BASKET_TOTAL_WRAPPING_COSTS_NET" suffix="COLON" }]</th>
|
||||
<td id="basketWrappingNetto" class="text-right">[{oxprice price=$wrappingCost->getNettoPrice() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{if $oxcmp_basket->getWrappCostVat() }]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="PLUS_VAT" suffix="COLON" }]</th>
|
||||
<td id="basketWrappingVat" class="text-right">[{oxprice price=$wrappingCost->getVatValue() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="GIFT_WRAPPING" suffix="COLON" }]</th>
|
||||
<td id="basketWrappingGross" class="text-right">[{oxprice price=$wrappingCost->getBruttoPrice() currency=$currency }]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="giftCardCost" value=$oxcmp_basket->getGiftCardCost()}]
|
||||
[{if $giftCardCost && $giftCardCost->getPrice() > 0 }]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForWrapping') }]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="BASKET_TOTAL_GIFTCARD_COSTS_NET" suffix="COLON" }]</th>
|
||||
<td id="basketGiftCardNetto" class="text-right">[{oxprice price=$giftCardCost->getNettoPrice() currency=$currency }]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
[{if $oxcmp_basket->isProportionalCalculationOn() }]
|
||||
<th class="text-right">[{ oxmultilang ident="BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" suffix="COLON" }]</th>
|
||||
[{else}]
|
||||
<th class="text-right">[{ oxmultilang ident="VAT_PLUS_PERCENT_AMOUNT" suffix="COLON" args=$giftCardCost->getVat() }] </th>
|
||||
[{/if}]
|
||||
<td id="basketGiftCardVat" class="text-right">[{oxprice price=$giftCardCost->getVatValue() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{else}]
|
||||
<tr>
|
||||
<th class="text-right">[{ oxmultilang ident="GREETING_CARD" suffix="COLON" }]</th>
|
||||
<td id="basketGiftCardGross" class="text-right">[{oxprice price=$giftCardCost->getBruttoPrice() currency=$currency}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_grandtotal"}]
|
||||
<tr>
|
||||
<th class="lead text-right"><strong>[{oxmultilang ident="GRAND_TOTAL" suffix="COLON"}]</strong></th>
|
||||
<td id="basketGrandTotal" class="lead text-right"><strong>[{oxprice price=$oxcmp_basket->getPrice() currency=$currency}]</strong></td>
|
||||
</tr>
|
||||
[{/block}]
|
||||
|
||||
[{if $oxcmp_basket->hasSkipedDiscount()}]
|
||||
<tr>
|
||||
<th class="text-right"><span class="note">**</span> [{oxmultilang ident="MESSAGE_COUPON_NOT_APPLIED_FOR_ARTICLES"}]</span></th>
|
||||
<td></td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
</table>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
@@ -0,0 +1,298 @@
|
||||
<ul id="basket_list" class="cart_item-list list-unstyled[{if $oViewConf->getActiveClassName() == 'order'}] orderBasketItems[{/if}]">
|
||||
[{* basket items *}]
|
||||
[{assign var="basketitemlist" value=$oView->getBasketArticles()}]
|
||||
[{foreach key=basketindex from=$oxcmp_basket->getContents() item=basketitem name=basketContents}]
|
||||
[{block name="checkout_basketcontents_basketitem"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
[{assign var="oArticle" value=$basketitem->getArticle()}]
|
||||
[{assign var="oAttributes" value=$oArticle->getAttributesDisplayableInBasket()}]
|
||||
|
||||
<li id="list_cartItem_[{$smarty.foreach.basketContents.iteration}]">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4 col-md-2">
|
||||
[{block name="checkout_basketcontents_basketitem_image"}]
|
||||
[{* product image *}]
|
||||
[{if $editable}]<a href="[{$basketitem->getLink()}]">[{/if}]
|
||||
<img src="[{$oViewConf->getImageUrl('spinner.gif')}]" data-src="[{$basketitem->getIconUrl()}]" alt="[{$basketitem->getTitle()|strip_tags}]">
|
||||
[{if $editable}]</a>[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-8 col-md-7">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="checkout_basketcontents_basketitem_titlenumber"}]
|
||||
[{block name="checkout_basketcontents_basketitem_title"}]
|
||||
[{if $editable}]<a rel="nofllow" href="[{$basketitem->getLink()}]">[{/if}]
|
||||
<b>[{$basketitem->getTitle()}]</b>
|
||||
[{if $editable}]</a>[{/if}]
|
||||
[{if $basketitem->isSkipDiscount()}] <sup><a href="#SkipDiscounts_link" >**</a></sup>[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_artnum"}]
|
||||
<div class="small">
|
||||
[{oxmultilang ident="PRODUCT_NO"}] [{$basketproduct->oxarticles__oxartnum->value}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_attributes"}]
|
||||
<div class="small">
|
||||
[{assign var=sep value=", "}]
|
||||
[{assign var=result value=""}]
|
||||
[{foreach key="oArtAttributes" from=$oAttributes->getArray() item="oAttr" name="attributeContents"}]
|
||||
[{assign var=temp value=$oAttr->oxattribute__oxvalue->value}]
|
||||
[{assign var=result value=$result|cat:$temp|cat:$sep}]
|
||||
[{/foreach}]
|
||||
[{$result|trim:$sep}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_selectlists"}]
|
||||
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
|
||||
[{assign var="oSelections" value=$basketproduct->getSelections(null,$basketitem->getSelList())}]
|
||||
[{if $oSelections}]
|
||||
<div class="selectorsBox clear" id="cartItemSelections_[{$smarty.foreach.basketContents.iteration}]">
|
||||
[{foreach from=$oSelections item=oList name=selections}]
|
||||
[{if $oViewConf->showSelectListsInList()}]
|
||||
[{include file="widget/product/selectbox.tpl" oSelectionList=$oList sFieldName="aproducts[`$basketindex`][sel]" iKey=$smarty.foreach.selections.index blHideDefault=true sSelType="seldrop"}]
|
||||
[{else}]
|
||||
[{assign var="oActiveSelection" value=$oList->getActiveSelection()}]
|
||||
[{if $oActiveSelection}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][sel][[{$smarty.foreach.selections.index}]]" value="[{$oActiveSelection->getValue()}]">
|
||||
<div>[{$oList->getLabel()}]: [{$oActiveSelection->getName()}]</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_persparams"}]
|
||||
[{if !$editable}]
|
||||
<p class="persparamBox">
|
||||
<small>
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam name=persparams}]
|
||||
[{if !$smarty.foreach.persparams.first}]<br />[{/if}]
|
||||
[{if $smarty.foreach.persparams.first && $smarty.foreach.persparams.last}]
|
||||
[{oxmultilang ident="LABEL"}]
|
||||
[{else}]
|
||||
[{$sVar}] :
|
||||
[{/if}]
|
||||
[{$aParam}]
|
||||
[{/foreach}]
|
||||
</small>
|
||||
</p>
|
||||
[{else}]
|
||||
[{if $basketproduct->oxarticles__oxisconfigurable->value}]
|
||||
[{if $basketitem->getPersParams()}]
|
||||
<br />
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam name=persparams}]
|
||||
<p>
|
||||
<input class="textbox persParam form-control" type="text" name="aproducts[[{$basketindex}]][persparam][[{$sVar}]]" value="[{$aParam}]" placeholder="[{if $smarty.foreach.persparams.first && $smarty.foreach.persparams.last}][{oxmultilang ident="LABEL"}][{else}][{$sVar}][{/if}]">
|
||||
</p>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<p>
|
||||
<input class="textbox persParam form-control" type="text" name="aproducts[[{$basketindex}]][persparam][details]" value="" placeholder="[{oxmultilang ident="LABEL"}]">
|
||||
</p>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
[{block name="checkout_basketcontents_basketitem_wrapping"}]
|
||||
[{* product wrapping *}]
|
||||
[{if $oView->isWrapping()}]
|
||||
<div class="wrapping">
|
||||
[{if !$basketitem->getWrappingId()}]
|
||||
[{if $editable}]
|
||||
<a href="#" class="btn btn-outline-dark btn-sm" title="[{oxmultilang ident="ADD"}]" data-toggle="modal" data-target="#giftoptions">[{oxmultilang ident="WRAPPING"}] [{oxmultilang ident="ADD"}]</a>
|
||||
[{else}]
|
||||
<small>[{oxmultilang ident="WRAPPING"}]: [{oxmultilang ident="NONE"}]</small>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{assign var="oWrap" value=$basketitem->getWrapping()}]
|
||||
[{if $editable}]
|
||||
<small>[{oxmultilang ident="WRAPPING"}]:</small> <a class="btn btn-outline-dark btn-sm" href="#" title="[{oxmultilang ident="ADD"}]" data-toggle="modal" data-target="#giftoptions"><i class="fas fa-pencil-alt"></i> [{$oWrap->oxwrapping__oxname->value}]</a>
|
||||
[{else}]
|
||||
<small>[{oxmultilang ident="WRAPPING"}]: [{$oWrap->oxwrapping__oxname->value}]</small>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_unitprice"}]
|
||||
[{* product price *}]
|
||||
<span class="unitPrice">
|
||||
[{if $basketitem->getUnitPrice()}]
|
||||
<small>[{oxmultilang ident="UNIT_PRICE"}]: [{oxprice price=$basketitem->getUnitPrice() currency=$currency}]</small>
|
||||
[{/if}]
|
||||
</span>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_amount"}]
|
||||
[{* product price *}]
|
||||
<span class="amount">
|
||||
<small>
|
||||
[{if $basketitem->getFUnitPrice()}] | [{/if}]
|
||||
[{if $basketitem->oxarticles__oxunitname->value}]
|
||||
[{$basketitem->getAmount()}] [{$basketitem->oxarticles__oxunitname->value}]
|
||||
[{else}]
|
||||
[{$basketitem->getAmount()}] [{oxmultilang ident="PCS"}]
|
||||
[{/if}]
|
||||
</small>
|
||||
</span>
|
||||
[{/block}]
|
||||
[{block name="checkout_basketcontents_basketitem_vat"}]
|
||||
<div class="article-Vat">
|
||||
<small>[{$basketitem->getVatPercent()}]% [{oxmultilang ident="VAT"}]</small>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-12 col-md-3">
|
||||
[{if $editable}]
|
||||
<div class="text-right">
|
||||
<a href="#" class="toggle-actions">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-outline-dark btn-sm d-md-none" type="button" data-toggle="collapse" data-target="#basketItem-[{$smarty.foreach.basketContents.iteration}]" aria-expanded="false" aria-controls="multiCollapseExample2">
|
||||
<i class="fa fa-chevron-down"></i>
|
||||
</button>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{block name="checkout_basketcontents_basketitem_totalprice"}]
|
||||
[{* product quantity * price *}]
|
||||
<div class="totalPrice text-right">
|
||||
<strong>[{oxprice price=$basketitem->getPrice() currency=$currency}]</strong>
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row collapse mt-3" id="basketItem-[{$smarty.foreach.basketContents.iteration}]">
|
||||
<div class="col-9 col-md-3 offset-md-6 order-2">
|
||||
[{block name="checkout_basketcontents_basketitem_quantity"}]
|
||||
[{* product quantity manager *}]
|
||||
<div class="quantity">
|
||||
[{if $editable}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][aid]" value="[{$basketitem->getProductId()}]">
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][basketitemid]" value="[{$basketindex}]">
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][override]" value="1">
|
||||
[{if $basketitem->isBundle()}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][bundle]" value="1">
|
||||
[{/if}]
|
||||
|
||||
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
|
||||
<div class="input-group input-group-sm justify-content-end">
|
||||
<input id="am_[{$smarty.foreach.basketContents.iteration}]" type="number" class="textbox form-control text-center" name="aproducts[[{$basketindex}]][am]" value="[{$basketitem->getAmount()}]" size="3" min="0" style="width:60px;float:right;"[{if $oConfig->getConfigParam('blAllowUnevenAmounts')}] step="any"[{/if}]>
|
||||
<span class="input-group-append">
|
||||
<span class="input-group-text">
|
||||
[{if $basketitem->oxarticles__oxunitname->value}]
|
||||
[{$basketitem->oxarticles__oxunitname->value}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="PCS"}]
|
||||
[{/if}]
|
||||
</span>
|
||||
<button class="btn btn-sm btn-warning float-right" id="basketUpdate-[{$smarty.foreach.basketContents.iteration}]" type="submit" name="updateBtn" title="[{oxmultilang ident="UPDATE"}]">
|
||||
<i class="fas fa-sync"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{$basketitem->getAmount()}]
|
||||
[{/if}]
|
||||
[{if $basketitem->getdBundledAmount() > 0 && ($basketitem->isBundle() || $basketitem->isDiscountArticle())}]
|
||||
+[{$basketitem->getdBundledAmount()}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="col-3 order-1">
|
||||
[{block name="checkout_basketcontents_basketitem_removecheckbox"}]
|
||||
[{if $editable}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][remove]" id="aproducts_[{$basketindex}]_remove" value="0">
|
||||
<button type="submit" name="removeBtn" class="btn btn-sm btn-outline-danger" onclick="document.getElementById( 'aproducts_[{$basketindex}]_remove' ).value = '1';">× [{oxmultilang ident="REMOVE"}]</button>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{block name="checkout_basketcontents_basketitem_end"}][{/block}]
|
||||
<hr/>
|
||||
</li>
|
||||
[{/block}]
|
||||
|
||||
[{* packing unit *}]
|
||||
|
||||
[{block name="checkout_basketcontents_itemerror"}]
|
||||
[{foreach from=$Errors.basket item=oEr key=key}]
|
||||
[{if $oEr->getErrorClassType() == 'oxOutOfStockException'}]
|
||||
[{* display only the exceptions for the current article *}]
|
||||
[{if $basketindex == $oEr->getValue('basketIndex')}]
|
||||
<tr class="basketError">
|
||||
[{if $editable}]<td></td>[{/if}]
|
||||
<td colspan="5">
|
||||
<span class="inlineError">[{$oEr->getOxMessage()}] <strong>[{$oEr->getValue('remainingAmount')}]</strong></span>
|
||||
</td>
|
||||
[{if $oView->isWrapping()}]<td></td>[{/if}]
|
||||
<td></td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{if $oEr->getErrorClassType() == 'oxArticleInputException'}]
|
||||
[{if $basketitem->getProductId() == $oEr->getValue('productId')}]
|
||||
<tr class="basketError">
|
||||
[{if $editable}]<td></td>[{/if}]
|
||||
<td colspan="5">
|
||||
<span class="inlineError">[{$oEr->getOxMessage()}]</span>
|
||||
</td>
|
||||
[{if $oView->isWrapping()}]<td></td>[{/if}]
|
||||
<td></td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{* basket items end *}]
|
||||
[{/foreach}]
|
||||
|
||||
[{block name="checkout_basketcontents_giftwrapping"}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{assign var="oCard" value=$oxcmp_basket->getCard()}]
|
||||
[{if $oCard}]
|
||||
<tr>
|
||||
[{if $editable}]<td></td>[{/if}]
|
||||
<td id="orderCardTitle" colspan="3">[{oxmultilang ident="GREETING_CARD"}] "[{$oCard->oxwrapping__oxname->value}]"
|
||||
<br>
|
||||
<b>[{oxmultilang ident="YOUR_MESSAGE"}]</b>
|
||||
<br>
|
||||
<div id="orderCardText">[{$oxcmp_basket->getCardMessage()|nl2br}]</div>
|
||||
</td>
|
||||
<td id="orderCardPrice">[{$oCard->getFPrice()}] [{$currency->sign}]</td>
|
||||
<td>
|
||||
[{if $oxcmp_basket->isProportionalCalculationOn()}]
|
||||
[{oxmultilang ident="PROPORTIONALLY_CALCULATED"}]
|
||||
[{else}]
|
||||
[{if $oxcmp_basket->getGiftCardCostVat()}][{$oxcmp_basket->getGiftCardCostVatPercent()}]%[{/if}]
|
||||
[{/if}]
|
||||
</td>
|
||||
<td id="orderCardTotalPrice" align="right">[{$oCard->getFPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketfunctions"}][{/block}]
|
||||
</ul>
|
||||
@@ -0,0 +1,299 @@
|
||||
<table id="basket_table" class="table table-bordered table-striped basketitems[{if $oViewConf->getActiveClassName() == 'order'}] orderBasketItems[{/if}]">
|
||||
<colgroup>
|
||||
[{if $editable}]<col class="editCol">[{/if}]
|
||||
<col class="thumbCol">
|
||||
[{if $oView->isWrapping()}]<col class="wrappingCol">[{/if}]
|
||||
<col class="coutCol">
|
||||
<col class="priceCol">
|
||||
<col class="vatCol">
|
||||
<col class="totalCol">
|
||||
</colgroup>
|
||||
[{* basket header *}]
|
||||
<thead>
|
||||
<tr>
|
||||
[{if $editable}]<th></th>[{/if}]
|
||||
<th>[{oxmultilang ident="PRODUCT"}]</th>
|
||||
[{if $oView->isWrapping()}]
|
||||
<th>[{oxmultilang ident="WRAPPING"}]</th>
|
||||
[{/if}]
|
||||
<th>[{oxmultilang ident="QUANTITY"}]</th>
|
||||
<th class="unitPrice">[{oxmultilang ident="UNIT_PRICE"}]</th>
|
||||
<th class="vatPercent">[{oxmultilang ident="VAT"}]</th>
|
||||
<th class="totalPrice">[{oxmultilang ident="TOTAL"}]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
[{* basket items *}]
|
||||
<tbody class="cart_item">
|
||||
[{assign var="basketitemlist" value=$oView->getBasketArticles()}]
|
||||
[{foreach key=basketindex from=$oxcmp_basket->getContents() item=basketitem name=basketContents}]
|
||||
[{block name="checkout_basketcontents_basketitem"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
[{assign var="oArticle" value=$basketitem->getArticle()}]
|
||||
[{assign var="oAttributes" value=$oArticle->getAttributesDisplayableInBasket()}]
|
||||
|
||||
<tr id="table_cartItem_[{$smarty.foreach.basketContents.iteration}]">
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_removecheckbox"}]
|
||||
[{if $editable}]
|
||||
<td class="checkactive checkbox text-center" style="display:table-cell;margin:0;padding:0;vertical-align:middle;">
|
||||
<input type="checkbox" name="aproducts[[{$basketindex}]][remove]" value="1" style="margin:0;float:none;">
|
||||
</td>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_titlenumber"}]
|
||||
[{* product title & number *}]
|
||||
<td>
|
||||
[{block name="checkout_basketcontents_basketitem_image"}]
|
||||
[{* product image *}]
|
||||
<div class="float-left basketImage cart_item-img">
|
||||
[{if $editable}]<a href="[{$basketitem->getLink()}]">[{/if}]
|
||||
<img src="[{$oViewConf->getImageUrl('spinner.gif')}]" data-src="[{$basketitem->getIconUrl()}]" alt="[{$basketitem->getTitle()|strip_tags}]">
|
||||
[{if $editable}]</a>[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
<div class="basketItemDesc cart_item-shortdesc">
|
||||
[{block name="dd_checkout_inc_basketcontents_table_item_desc"}]
|
||||
[{block name="checkout_basketcontents_basketitem_title"}]
|
||||
[{if $editable}]<a rel="nofllow" href="[{$basketitem->getLink()}]">[{/if}]
|
||||
<b>[{$basketitem->getTitle()}]</b>
|
||||
[{if $editable}]</a>[{/if}]
|
||||
[{if $basketitem->isSkipDiscount()}] <sup><a href="#SkipDiscounts_link" >**</a></sup>[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_artnum"}]
|
||||
<div class="small">
|
||||
[{oxmultilang ident="PRODUCT_NO"}] [{$basketproduct->oxarticles__oxartnum->value}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_attributes"}]
|
||||
<div class="small">
|
||||
[{assign var=sep value=", "}]
|
||||
[{assign var=result value=""}]
|
||||
[{foreach key=oArtAttributes from=$oAttributes->getArray() item=oAttr name=attributeContents}]
|
||||
[{assign var=temp value=$oAttr->oxattribute__oxvalue->value}]
|
||||
[{assign var=result value=$result$temp$sep}]
|
||||
[{/foreach}]
|
||||
[{$result|trim:$sep}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_selectlists"}]
|
||||
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
|
||||
[{assign var="oSelections" value=$basketproduct->getSelections(null,$basketitem->getSelList())}]
|
||||
[{if $oSelections}]
|
||||
<div class="selectorsBox clear" id="cartItemSelections_[{$smarty.foreach.basketContents.iteration}]">
|
||||
[{foreach from=$oSelections item=oList name=selections}]
|
||||
[{if $oViewConf->showSelectListsInList()}]
|
||||
[{include file="widget/product/selectbox.tpl" oSelectionList=$oList sFieldName="aproducts[`$basketindex`][sel]" iKey=$smarty.foreach.selections.index blHideDefault=true sSelType="seldrop"}]
|
||||
[{else}]
|
||||
[{assign var="oActiveSelection" value=$oList->getActiveSelection()}]
|
||||
[{if $oActiveSelection}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][sel][[{$smarty.foreach.selections.index}]]" value="[{$oActiveSelection->getValue()}]">
|
||||
<div>[{$oList->getLabel()}]: [{$oActiveSelection->getName()}]</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_persparams"}]
|
||||
[{if !$editable}]
|
||||
<p class="persparamBox">
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam name=persparams}]
|
||||
[{if !$smarty.foreach.persparams.first}]<br />[{/if}]
|
||||
<strong>
|
||||
[{if $smarty.foreach.persparams.first && $smarty.foreach.persparams.last}]
|
||||
[{oxmultilang ident="LABEL"}]
|
||||
[{else}]
|
||||
[{$sVar}] :
|
||||
[{/if}]
|
||||
</strong> [{$aParam}]
|
||||
[{/foreach}]
|
||||
</p>
|
||||
[{else}]
|
||||
[{if $basketproduct->oxarticles__oxisconfigurable->value}]
|
||||
[{if $basketitem->getPersParams()}]
|
||||
<br />
|
||||
[{foreach key=sVar from=$basketitem->getPersParams() item=aParam name=persparams}]
|
||||
<p>
|
||||
<label class="persParamLabel">
|
||||
[{if $smarty.foreach.persparams.first && $smarty.foreach.persparams.last}]
|
||||
[{oxmultilang ident="LABEL"}]
|
||||
[{else}]
|
||||
[{$sVar}]:
|
||||
[{/if}]
|
||||
</label>
|
||||
<input class="textbox persParam" type="text" name="aproducts[[{$basketindex}]][persparam][[{$sVar}]]" value="[{$aParam}]">
|
||||
</p>
|
||||
[{/foreach}]
|
||||
[{else}]
|
||||
<p>[{oxmultilang ident="LABEL"}] <input class="textbox persParam" type="text" name="aproducts[[{$basketindex}]][persparam][details]" value=""></p>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</td>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_wrapping"}]
|
||||
[{* product wrapping *}]
|
||||
[{if $oView->isWrapping()}]
|
||||
<td align="center">
|
||||
[{if !$basketitem->getWrappingId()}]
|
||||
[{if $editable}]
|
||||
<a href="#" class="btn btn-outline-dark btn-sm" title="[{oxmultilang ident="ADD"}]" data-toggle="modal" data-target="#giftoptions">[{oxmultilang ident="ADD"}]</a>
|
||||
[{else}]
|
||||
[{oxmultilang ident="NONE"}]
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{assign var="oWrap" value=$basketitem->getWrapping()}]
|
||||
[{if $editable}]
|
||||
<a class="btn btn-outline-dark btn-sm" href="#" title="[{oxmultilang ident="ADD"}]" data-toggle="modal" data-target="#giftoptions"><i class="fas fa-pencil-alt"></i> [{$oWrap->oxwrapping__oxname->value}]</a>
|
||||
[{else}]
|
||||
[{$oWrap->oxwrapping__oxname->value}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</td>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_quantity"}]
|
||||
[{* product quantity manager *}]
|
||||
<td class="quantity">
|
||||
[{if $editable}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][aid]" value="[{$basketitem->getProductId()}]">
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][basketitemid]" value="[{$basketindex}]">
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][override]" value="1">
|
||||
[{if $basketitem->isBundle()}]
|
||||
<input type="hidden" name="aproducts[[{$basketindex}]][bundle]" value="1">
|
||||
[{/if}]
|
||||
|
||||
[{if !$basketitem->isBundle() || !$basketitem->isDiscountArticle()}]
|
||||
<p>
|
||||
<input id="am_[{$smarty.foreach.basketContents.iteration}]" type="number" class="textbox" name="aproducts[[{$basketindex}]][am]" value="[{$basketitem->getAmount()}]" size="3" min="0"[{if $oConfig->getConfigParam('blAllowUnevenAmounts')}] step="any"[{/if}]>
|
||||
</p>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
[{$basketitem->getAmount()}]
|
||||
[{/if}]
|
||||
[{if $basketitem->getdBundledAmount() > 0 && ($basketitem->isBundle() || $basketitem->isDiscountArticle())}]
|
||||
+[{$basketitem->getdBundledAmount()}]
|
||||
[{/if}]
|
||||
</td>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_unitprice"}]
|
||||
[{* product price *}]
|
||||
<td class="unitPrice">
|
||||
[{if $basketitem->getUnitPrice()}][{oxprice price=$basketitem->getUnitPrice() currency=$currency}][{/if}]
|
||||
[{if !$basketitem->isBundle()}]
|
||||
[{assign var=dRegUnitPrice value=$basketitem->getRegularUnitPrice()}]
|
||||
[{assign var=dUnitPrice value=$basketitem->getUnitPrice()}]
|
||||
[{if $dRegUnitPrice->getPrice() > $dUnitPrice->getPrice()}]
|
||||
<br><del class="text-danger">[{oxprice price=$basketitem->getRegularUnitPrice() currency=$currency}]</del>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</td>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_vat"}]
|
||||
[{* product VAT percent *}]
|
||||
<td class="vatPercent">
|
||||
[{$basketitem->getVatPercent()}]%
|
||||
</td>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_basketcontents_basketitem_totalprice"}]
|
||||
[{* product quantity * price *}]
|
||||
<td class="totalPrice">
|
||||
[{oxprice price=$basketitem->getPrice() currency=$currency}]
|
||||
</td>
|
||||
[{/block}]
|
||||
</tr>
|
||||
[{/block}]
|
||||
|
||||
[{* packing unit *}]
|
||||
|
||||
[{block name="checkout_basketcontents_itemerror"}]
|
||||
[{foreach from=$Errors.basket item=oEr key=key}]
|
||||
[{if $oEr->getErrorClassType() == 'oxOutOfStockException'}]
|
||||
[{* display only the exceptions for the current article *}]
|
||||
[{if $basketindex == $oEr->getValue('basketIndex')}]
|
||||
<tr class="basketError">
|
||||
[{if $editable}]<td></td>[{/if}]
|
||||
<td colspan="5">
|
||||
<span class="inlineError">[{$oEr->getOxMessage()}] <strong>[{$oEr->getValue('remainingAmount')}]</strong></span>
|
||||
</td>
|
||||
[{if $oView->isWrapping()}]<td></td>[{/if}]
|
||||
<td></td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{if $oEr->getErrorClassType() == 'oxArticleInputException'}]
|
||||
[{if $basketitem->getProductId() == $oEr->getValue('productId')}]
|
||||
<tr class="basketError">
|
||||
[{if $editable}]<td></td>[{/if}]
|
||||
<td colspan="5">
|
||||
<span class="inlineError">[{$oEr->getOxMessage()}]</span>
|
||||
</td>
|
||||
[{if $oView->isWrapping()}]<td></td>[{/if}]
|
||||
<td></td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{/block}]
|
||||
[{* basket items end *}]
|
||||
[{/foreach}]
|
||||
|
||||
[{block name="checkout_basketcontents_giftwrapping"}]
|
||||
[{if $oViewConf->getShowGiftWrapping()}]
|
||||
[{assign var="oCard" value=$oxcmp_basket->getCard()}]
|
||||
[{if $oCard}]
|
||||
<tr>
|
||||
[{if $editable}]<td></td>[{/if}]
|
||||
<td id="orderCardTitle" colspan="3">[{oxmultilang ident="GREETING_CARD"}] "[{$oCard->oxwrapping__oxname->value}]"
|
||||
<br>
|
||||
<b>[{oxmultilang ident="YOUR_MESSAGE"}]</b>
|
||||
<br>
|
||||
<div id="orderCardText">[{$oxcmp_basket->getCardMessage()|nl2br}]</div>
|
||||
</td>
|
||||
<td id="orderCardPrice">[{$oCard->getFPrice()}] [{$currency->sign}]</td>
|
||||
<td>
|
||||
[{if $oxcmp_basket->isProportionalCalculationOn()}]
|
||||
[{oxmultilang ident="PROPORTIONALLY_CALCULATED"}]
|
||||
[{else}]
|
||||
[{if $oxcmp_basket->getGiftCardCostVat()}][{$oxcmp_basket->getGiftCardCostVatPercent()}]%[{/if}]
|
||||
[{/if}]
|
||||
</td>
|
||||
<td id="orderCardTotalPrice" align="right">[{$oCard->getFPrice()}] [{$currency->sign}]</td>
|
||||
</tr>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</tbody>
|
||||
|
||||
[{block name="checkout_basketcontents_basketfunctions"}]
|
||||
[{if $editable}]
|
||||
<tfoot id="basketFn" class="basketFunctions">
|
||||
<tr>
|
||||
<td class="text-center" style="display:table-cell;vertical-align:middle;">
|
||||
<input type="checkbox" name="checkAll" id="checkAll" title="[{oxmultilang ident="ALL"}]">
|
||||
</td>
|
||||
<td colspan="[{if $oView->isWrapping()}]6[{else}]5[{/if}]">
|
||||
<button name="removeAllBtn" class="btn btn-sm" id="basketRemoveAll" type="button">[{oxmultilang ident="ALL"}]</button>
|
||||
<button name="removeBtn" class="btn btn-sm btn-danger" id="basketRemove" type="submit">[{oxmultilang ident="REMOVE"}]</button>
|
||||
<button name="updateBtn" class="btn btn-sm btn-warning" id="basketUpdate" type="submit">[{oxmultilang ident="UPDATE"}]</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</table>
|
||||
@@ -0,0 +1,76 @@
|
||||
[{block name="checkout_user_options"}]
|
||||
[{oxscript include="js/widgets/oxequalizer.min.js" priority=10}]
|
||||
[{oxscript add="$(window).on('load', function(){ if( !isMobileDevice() ) { oxEqualizer.equalHeight( $( '.checkoutOptions .card-body' ) ); } });"}]
|
||||
|
||||
[{assign var="sColClass" value="col-lg-6"}]
|
||||
[{if $oView->getShowNoRegOption()}]
|
||||
[{assign var="sColClass" value="col-lg-4"}]
|
||||
[{/if}]
|
||||
|
||||
<div class="checkoutOptions">
|
||||
<div class="card-deck">
|
||||
[{block name="checkout_options_noreg"}]
|
||||
[{if $oView->getShowNoRegOption()}]
|
||||
<div class="card">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" id="optionNoRegistration">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="PURCHASE_WITHOUT_REGISTRATION"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="option" value="1">
|
||||
</div>
|
||||
[{block name="checkout_options_noreg_text"}]
|
||||
<p>[{oxmultilang ident="DO_NOT_WANT_CREATE_ACCOUNT"}]</p>
|
||||
[{if $oView->isDownloadableProductWarning()}]
|
||||
<p class="errorMsg">[{oxmultilang ident="MESSAGE_DOWNLOADABLE_PRODUCT"}]</p>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="card-footer text-right">
|
||||
<button class="btn btn-primary submitButton nextStep" type="submit">[{oxmultilang ident="NEXT"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_options_reg"}]
|
||||
<div class="card">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" id="optionRegistration">
|
||||
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{oxmultilang ident="OPEN_ACCOUNT"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
<input type="hidden" name="option" value="3">
|
||||
</div>
|
||||
|
||||
[{block name="checkout_options_reg_text"}]
|
||||
[{oxifcontent ident="oxregistrationdescription" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="card-footer text-right">
|
||||
<button class="btn btn-primary submitButton nextStep" type="submit">[{oxmultilang ident="NEXT"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_options_login"}]
|
||||
[{include file="form/login.tpl"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,40 @@
|
||||
<dl>
|
||||
<dt>
|
||||
<input id="payment_[{$sPaymentID}]" type="radio" name="paymentid" value="[{$sPaymentID}]" [{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
||||
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
||||
</dt>
|
||||
<dd class="payment-option[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}] activePayment[{/if}]">
|
||||
[{if $paymentmethod->getPrice()}]
|
||||
[{assign var="oPaymentPrice" value=$paymentmethod->getPrice() }]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForPayCharge') }]
|
||||
[{strip}]
|
||||
([{oxprice price=$oPaymentPrice->getNettoPrice() currency=$currency}]
|
||||
[{if $oPaymentPrice->getVatValue() > 0}]
|
||||
[{oxmultilang ident="PLUS_VAT"}] [{oxprice price=$oPaymentPrice->getVatValue() currency=$currency}]
|
||||
[{/if}])
|
||||
[{/strip}]
|
||||
[{else}]
|
||||
([{oxprice price=$oPaymentPrice->getBruttoPrice() currency=$currency}])
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{foreach from=$paymentmethod->getDynValues() item=value name=PaymentDynValues}]
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3" for="[{$sPaymentID}]_[{$smarty.foreach.PaymentDynValues.iteration}]">[{$value->name}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input id="[{$sPaymentID}]_[{$smarty.foreach.PaymentDynValues.iteration}]" type="text" class="form-control textbox" size="20" maxlength="64" name="dynvalue[[{$value->name}]]" value="[{$value->value}]">
|
||||
</div>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
[{block name="checkout_payment_longdesc"}]
|
||||
[{if $paymentmethod->oxpayments__oxlongdesc->value|strip_tags|trim}]
|
||||
<div class="desc">
|
||||
[{$paymentmethod->oxpayments__oxlongdesc->getRawValue()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -0,0 +1,27 @@
|
||||
<dl>
|
||||
<dt>
|
||||
<input id="payment_[{$sPaymentID}]" type="radio" name="paymentid" value="[{$sPaymentID}]" [{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
||||
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
||||
</dt>
|
||||
<dd class="payment-option[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}] activePayment[{/if}]">
|
||||
[{if $paymentmethod->getPrice()}]
|
||||
[{assign var="oPaymentPrice" value=$paymentmethod->getPrice()}]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForPayCharge')}]
|
||||
([{oxprice price=$oPaymentPrice->getNettoPrice() currency=$currency}]
|
||||
[{if $oPaymentPrice->getVatValue() > 0}]
|
||||
[{oxmultilang ident="PLUS_VAT"}] [{oxprice price=$oPaymentPrice->getVatValue() currency=$currency}]
|
||||
[{/if}])
|
||||
[{else}]
|
||||
([{oxprice price=$oPaymentPrice->getBruttoPrice() currency=$currency}])
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_payment_longdesc"}]
|
||||
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
||||
<div class="desc">
|
||||
[{$paymentmethod->oxpayments__oxlongdesc->getRawValue()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -0,0 +1,93 @@
|
||||
[{assign var="dynvalue" value=$oView->getDynValue()}]
|
||||
<dl>
|
||||
<dt>
|
||||
<input id="payment_[{$sPaymentID}]" type="radio" name="paymentid" value="[{$sPaymentID}]" [{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
||||
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
||||
</dt>
|
||||
<dd class="payment-option[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}] activePayment[{/if}]">
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="CREDITCARD"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<select name="dynvalue[kktype]" class="form-control" required="required">
|
||||
<option value="mcd" [{if ($dynvalue.kktype == "mcd" || !$dynvalue.kktype)}]selected[{/if}]>[{oxmultilang ident="CARD_MASTERCARD"}]</option>
|
||||
<option value="vis" [{if $dynvalue.kktype == "vis"}]selected[{/if}]>[{oxmultilang ident="CARD_VISA"}]</option>
|
||||
<!--
|
||||
<option value="amx" [{if $dynvalue.kktype == "amx"}]selected[{/if}]>American Express</option>
|
||||
<option value="dsc" [{if $dynvalue.kktype == "dsc"}]selected[{/if}]>Discover</option>
|
||||
<option value="dnc" [{if $dynvalue.kktype == "dnc"}]selected[{/if}]>Diners Club</option>
|
||||
<option value="jcb" [{if $dynvalue.kktype == "jcb"}]selected[{/if}]>JCB</option>
|
||||
<option value="swi" [{if $dynvalue.kktype == "swi"}]selected[{/if}]>Switch</option>
|
||||
<option value="dlt" [{if $dynvalue.kktype == "dlt"}]selected[{/if}]>Delta</option>
|
||||
<option value="enr" [{if $dynvalue.kktype == "enr"}]selected[{/if}]>EnRoute</option>
|
||||
-->
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="NUMBER"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" class="form-control js-oxValidate js-oxValidate_notEmpty" size="20" maxlength="64" name="dynvalue[kknumber]" value="[{$dynvalue.kknumber}]" required="required">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="BANK_ACCOUNT_HOLDER"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" size="20" class="form-control js-oxValidate js-oxValidate_notEmpty" maxlength="64" name="dynvalue[kkname]" value="[{if $dynvalue.kkname}][{$dynvalue.kkname}][{else}][{$oxcmp_user->oxuser__oxfname->value}] [{$oxcmp_user->oxuser__oxlname->value}][{/if}]" required="required">
|
||||
<span class="help-block">[{oxmultilang ident="IF_DIFFERENT_FROM_BILLING_ADDRESS"}]</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-12 col-lg-3">[{oxmultilang ident="VALID_UNTIL"}]</label>
|
||||
<div class="col-6 col-lg-2">
|
||||
<select name="dynvalue[kkmonth]" class="form-control" required="required">
|
||||
<option [{if $dynvalue.kkmonth == "01"}]selected[{/if}]>01</option>
|
||||
<option [{if $dynvalue.kkmonth == "02"}]selected[{/if}]>02</option>
|
||||
<option [{if $dynvalue.kkmonth == "03"}]selected[{/if}]>03</option>
|
||||
<option [{if $dynvalue.kkmonth == "04"}]selected[{/if}]>04</option>
|
||||
<option [{if $dynvalue.kkmonth == "05"}]selected[{/if}]>05</option>
|
||||
<option [{if $dynvalue.kkmonth == "06"}]selected[{/if}]>06</option>
|
||||
<option [{if $dynvalue.kkmonth == "07"}]selected[{/if}]>07</option>
|
||||
<option [{if $dynvalue.kkmonth == "08"}]selected[{/if}]>08</option>
|
||||
<option [{if $dynvalue.kkmonth == "09"}]selected[{/if}]>09</option>
|
||||
<option [{if $dynvalue.kkmonth == "10"}]selected[{/if}]>10</option>
|
||||
<option [{if $dynvalue.kkmonth == "11"}]selected[{/if}]>11</option>
|
||||
<option [{if $dynvalue.kkmonth == "12"}]selected[{/if}]>12</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-6 col-lg-2">
|
||||
<select name="dynvalue[kkyear]" class="form-control">
|
||||
[{foreach from=$oView->getCreditYears() item=year}]
|
||||
<option [{if $dynvalue.kkyear == $year}]selected[{/if}]>[{$year}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-3"></div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="CARD_SECURITY_CODE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" class="form-control js-oxValidate js-oxValidate_notEmpty" size="20" maxlength="64" name="dynvalue[kkpruef]" value="[{$dynvalue.kkpruef}]" required="required">
|
||||
<span class="help-block">[{oxmultilang ident="CARD_SECURITY_CODE_DESCRIPTION"}]</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
[{block name="checkout_payment_longdesc"}]
|
||||
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9 offset-lg-3">
|
||||
<div class="alert alert-info desc">
|
||||
[{$paymentmethod->oxpayments__oxlongdesc->getRawValue()}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -0,0 +1,45 @@
|
||||
[{assign var="dynvalue" value=$oView->getDynValue()}]
|
||||
<dl>
|
||||
<dt>
|
||||
<input id="payment_[{$sPaymentID}]" type="radio" name="paymentid" value="[{$sPaymentID}]" [{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}]checked[{/if}]>
|
||||
<label for="payment_[{$sPaymentID}]"><b>[{$paymentmethod->oxpayments__oxdesc->value}]</b></label>
|
||||
</dt>
|
||||
<dd class="payment-option[{if $oView->getCheckedPaymentId() == $paymentmethod->oxpayments__oxid->value}] activePayment[{/if}]">
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="BANK"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input id="payment_[{$sPaymentID}]_1" class="form-control js-oxValidate js-oxValidate_notEmpty" type="text" size="20" maxlength="64" name="dynvalue[lsbankname]" value="[{$dynvalue.lsbankname}]" required="required">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="BANK_CODE"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" class="form-control js-oxValidate js-oxValidate_notEmpty" size="20" maxlength="64" name="dynvalue[lsblz]" value="[{$dynvalue.lsblz}]" required="required">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="BANK_ACCOUNT_NUMBER"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" class="form-control js-oxValidate js-oxValidate_notEmpty" size="20" maxlength="64" name="dynvalue[lsktonr]" value="[{$dynvalue.lsktonr}]" required="required">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="req control-label col-lg-3">[{oxmultilang ident="BANK_ACCOUNT_HOLDER"}]</label>
|
||||
<div class="col-lg-9">
|
||||
<input type="text" class="form-control js-oxValidate js-oxValidate_notEmpty" size="20" maxlength="64" name="dynvalue[lsktoinhaber]" value="[{if $dynvalue.lsktoinhaber}][{$dynvalue.lsktoinhaber}][{else}][{$oxcmp_user->oxuser__oxfname->value}] [{$oxcmp_user->oxuser__oxlname->value}][{/if}]" required="required">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="checkout_payment_longdesc"}]
|
||||
[{if $paymentmethod->oxpayments__oxlongdesc->value}]
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9 offset-lg-3">
|
||||
<div class="alert alert-info desc">
|
||||
[{$paymentmethod->oxpayments__oxlongdesc->getRawValue()}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -0,0 +1,79 @@
|
||||
[{block name="checkout_steps_main"}]
|
||||
<ol class="checkoutSteps checkout-steps row">
|
||||
[{if $oxcmp_basket->getProductsCount()}]
|
||||
[{assign var=showStepLinks value=true}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_steps_basket"}]
|
||||
<li class="step step1[{if $active == 1}] active [{elseif $active > 1}] passed [{/if}]">
|
||||
[{if $showStepLinks}]<a href="[{oxgetseourl ident=$oViewConf->getBasketLink()}]">[{/if}]
|
||||
<div class="num">1</div>
|
||||
<div class="text">
|
||||
[{oxmultilang ident="STEPS_BASKET"}]
|
||||
</div>
|
||||
[{if $showStepLinks}]</a>[{/if}]
|
||||
</li>
|
||||
[{/block}]
|
||||
|
||||
[{assign var=showStepLinks value=false}]
|
||||
[{if !$oView->isLowOrderPrice() && $oxcmp_basket->getProductsCount()}]
|
||||
[{assign var=showStepLinks value=true}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_steps_send"}]
|
||||
<li class="col step step2[{if $active == 2}] active [{elseif $active > 2}] passed [{/if}]">
|
||||
[{if $showStepLinks}]<a href="[{oxgetseourl ident=$oViewConf->getOrderLink()}]">[{/if}]
|
||||
<div class="num">2</div>
|
||||
<div class="text">
|
||||
[{oxmultilang ident="STEPS_SEND"}]
|
||||
</div>
|
||||
[{if $showStepLinks}]</a>[{/if}]
|
||||
</li>
|
||||
[{/block}]
|
||||
|
||||
[{assign var=showStepLinks value=false}]
|
||||
[{if $active != 1 && $oxcmp_user && !$oView->isLowOrderPrice() && $oxcmp_basket->getProductsCount()}]
|
||||
[{assign var=showStepLinks value=true}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_steps_pay"}]
|
||||
<li class="col step step3[{if $active == 3}] active [{elseif $active > 3}] passed [{/if}]">
|
||||
[{if $showStepLinks}]<a [{if $oViewConf->getActiveClassName() == "user"}]id="paymentStep"[{/if}] href="[{oxgetseourl ident=$oViewConf->getPaymentLink()}]">[{/if}]
|
||||
<div class="num">3</div>
|
||||
<div class="text">
|
||||
[{oxmultilang ident="STEPS_PAY"}]
|
||||
</div>
|
||||
[{if $showStepLinks}]</a>[{/if}]
|
||||
</li>
|
||||
[{*[{oxscript add="$('#paymentStep').click( function() { $('#userNextStepBottom').click();return false;});"}]*}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var=showStepLinks value=false}]
|
||||
[{if $active != 1 && $oxcmp_user && $oxcmp_basket->getProductsCount() && $oView->getPaymentList() && !$oView->isLowOrderPrice()}]
|
||||
[{assign var=showStepLinks value=true}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_steps_order"}]
|
||||
<li class="col step step4[{if $active == 4}] active [{elseif $active > 4}] passed [{/if}]">
|
||||
[{if $showStepLinks}]<a [{if $oViewConf->getActiveClassName() == "payment"}]id="orderStep"[{/if}] href="[{if $oViewConf->getActiveClassName() == "payment"}]javascript:document.forms.order.submit();[{else}][{oxgetseourl ident=$oViewConf->getOrderConfirmLink()}][{/if}]">[{/if}]
|
||||
<div class="num">4</div>
|
||||
<div class="text">
|
||||
[{oxmultilang ident="STEPS_ORDER"}]
|
||||
</div>
|
||||
[{if $showStepLinks}]</a>[{/if}]
|
||||
</li>
|
||||
[{*[{oxscript add="$('#orderStep').click( function() { $('#paymentNextStepBottom').click();return false;});"}]*}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_steps_laststep"}]
|
||||
<li class="col step step5[{if $active == 5}] activeLast [{else}] defaultLast [{/if}] last">
|
||||
<div class="num">5</div>
|
||||
<div class="text">
|
||||
[{oxmultilang ident="READY"}]
|
||||
</div>
|
||||
</li>
|
||||
[{/block}]
|
||||
</ol>
|
||||
<div class="clearfix"></div>
|
||||
<div class="spacer"></div>
|
||||
[{/block}]
|
||||
@@ -0,0 +1,181 @@
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
|
||||
<div class="modal fade gift-options" id="giftoptions" tabindex="-1" role="dialog" aria-labelledby="giftoptions_modal_label" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
[{block name="checkout_wrapping_header"}]
|
||||
<span class="h4 modal-title float-left" id="giftoptions_modal_label">[{oxmultilang ident="GIFT_OPTION"}]</span>
|
||||
[{/block}]
|
||||
|
||||
<button type="button" class="close float-right" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<img src="[{$oViewConf->getImageUrl('gift-wrapping.jpg')}]" alt="[{oxmultilang ident="ADD_WRAPPING"}]" class="img-thumbnail">
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<p>[{oxmultilang ident="WRAPPING_DESCRIPTION"}]</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="checkout_wrapping_contents"}]
|
||||
<h3 class="page-header blockHead">[{oxmultilang ident="ADD_WRAPPING"}]</h3>
|
||||
|
||||
[{if !$oxcmp_basket->getProductsCount()}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="BASKET_EMPTY"}]</div>
|
||||
[{else}]
|
||||
<form name="basket" action="[{$oViewConf->getSelfActionLink()}]" method="post" role="form" id="giftoptions_modal_form">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="basket">
|
||||
<input type="hidden" name="fnc" value="changewrapping">
|
||||
</div>
|
||||
|
||||
[{assign var="oWrapList" value=$oView->getWrappingList()}]
|
||||
[{if $oWrapList->count()}]
|
||||
[{* basket items *}]
|
||||
[{assign var="icounter" value="0"}]
|
||||
[{assign var="basketitemlist" value=$oView->getBasketArticles()}]
|
||||
[{foreach key=basketindex from=$oxcmp_basket->getContents() item=basketitem name=wrappArt}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
[{block name="checkout_wrapping_item"}]
|
||||
[{assign var="basketproduct" value=$basketitemlist.$basketindex}]
|
||||
|
||||
<div class="col-4">
|
||||
<img src="[{$basketproduct->getIconUrl()}]" alt="[{$basketitem->getTitle()|strip_tags}]" class="img-thumbnail img-fluid">
|
||||
</div>
|
||||
|
||||
<div class="col-8">
|
||||
<p class="lead">[{$basketitem->getTitle()}]</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div id="wrapp_[{$smarty.foreach.wrappArt.iteration}]" class="row">
|
||||
<div class="col-12">
|
||||
<div class="row">
|
||||
<div class="col-3"></div>
|
||||
<div class="col-9 offset-sm-3">
|
||||
<div class="form-group">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input class="radiobox" type="radio" name="wrapping[[{$basketindex}]]" id="wrapping_[{$basketindex}]" value="0" [{if !$basketitem->getWrappingId()}]CHECKED[{/if}]>
|
||||
[{oxmultilang ident="NONE"}] <strong>0,00 [{$currency->sign}]</strong>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{assign var="ictr" value="1"}]
|
||||
[{foreach from=$oView->getWrappingList() item=wrapping name=Wraps}]
|
||||
<div class="col-md-12">
|
||||
[{if $wrapping->oxwrapping__oxpic->value}]
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<img src="[{$wrapping->getPictureUrl()}]" alt="[{$wrapping->oxwrapping__oxname->value}]" class="img-thumbnail">
|
||||
</div>
|
||||
<div class="col-9">
|
||||
[{else}]
|
||||
<div class="col-12">
|
||||
[{/if}]
|
||||
<div class="form-group">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input class="radiobox" type="radio" name="wrapping[[{$basketindex}]]" id="wrapping_[{$wrapping->oxwrapping__oxid->value}]" value="[{$wrapping->oxwrapping__oxid->value}]" [{if $basketitem->getWrappingId() == $wrapping->oxwrapping__oxid->value}]CHECKED[{/if}]>
|
||||
[{$wrapping->oxwrapping__oxname->value}] <strong>[{$wrapping->getFPrice()}] [{$currency->sign}]</strong>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{assign var="ictr" value="`$ictr+1`"}]
|
||||
[{/foreach}]
|
||||
[{oxscript add="$( '#wrapp_`$smarty.foreach.wrappArt.iteration` img' ).click(function(){ $(this).parent().parent().find('input').click(); });"}]
|
||||
</div>
|
||||
|
||||
[{assign var="icounter" value="`$icounter+1`"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
|
||||
[{assign var="oCardList" value=$oView->getCardList()}]
|
||||
[{if $oCardList->count()}]
|
||||
[{block name="checkout_wrapping_cards"}]
|
||||
<h3 class="page-header blockHead">[{oxmultilang ident="GREETING_CARD"}]</h3>
|
||||
<div class="wrappingCard clear" id="wrappCard">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
<div class="col-sm-9 offset-sm-3">
|
||||
<div class="form-group">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" class="radiobox" name="chosencard" id="chosencard" value="0" [{if !$oxcmp_basket->getCardId()}]CHECKED[{/if}]> [{oxmultilang ident="NO_GREETING_CARD"}]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{assign var="icounter" value="0"}]
|
||||
[{counter start=0 print=false}]
|
||||
[{assign var="icounter" value="0"}]
|
||||
[{foreach from=$oCardList item=card name=GreetCards}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="row">
|
||||
[{if $card->oxwrapping__oxpic->value}]
|
||||
<div class="col-3">
|
||||
<img src="[{$card->getPictureUrl()}]" alt="[{$card->oxwrapping__oxname->value}]" class="img-thumbnail">
|
||||
</div>
|
||||
<div class="col-9">
|
||||
[{else}]
|
||||
<div class="col-12">
|
||||
[{/if}]
|
||||
<div class="form-group">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input class="radiobox" type="radio" name="chosencard" id="chosen_[{$card->oxwrapping__oxid->value}]" value="[{$card->oxwrapping__oxid->value}]" [{if $oxcmp_basket->getCardId() == $card->oxwrapping__oxid->value}]CHECKED[{/if}]> [{$card->oxwrapping__oxname->value}] <strong>[{$card->getFPrice()}] [{$currency->sign}]</strong>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{assign var="icounter" value="`$icounter+1`"}]
|
||||
[{/foreach}]
|
||||
[{oxscript add="$( '#wrappCard img' ).click(function(){ $(this).parent().siblings().find('input').click(); });"}]
|
||||
</div>
|
||||
|
||||
[{/block}]
|
||||
[{block name="checkout_wrapping_comment"}]
|
||||
<div class="form-group wrappingComment">
|
||||
<label for="giftmessage" class="control-label">[{oxmultilang ident="GREETING_MESSAGE"}]</label>
|
||||
<textarea cols="102" rows="5" name="giftmessage" id="giftmessage" class="form-control">[{$oxcmp_basket->getCardMessage()}]</textarea>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</form>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
[{block name="checkout_wrapping_submit"}]
|
||||
<button type="button" class="btn btn-outline-dark" data-dismiss="modal">[{oxmultilang ident="CANCEL"}]</button>
|
||||
<button type="submit" class="btn btn-primary" onclick="window.giftoptions_modal_form.submit();return false;">[{oxmultilang ident="APPLY"}]</button>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
294
shop/source/Application/views/wave/tpl/page/checkout/order.tpl
Normal file
294
shop/source/Application/views/wave/tpl/page/checkout/order.tpl
Normal file
@@ -0,0 +1,294 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{block name="checkout_order_errors"}]
|
||||
[{if $oView->isConfirmAGBActive() && $oView->isConfirmAGBError() == 1}]
|
||||
[{include file="message/error.tpl" statusMessage="READ_AND_CONFIRM_TERMS"|oxmultilangassign}]
|
||||
[{/if}]
|
||||
[{assign var="iError" value=$oView->getAddressError()}]
|
||||
[{if $iError == 1}]
|
||||
[{include file="message/error.tpl" statusMessage="ERROR_DELIVERY_ADDRESS_WAS_CHANGED_DURING_CHECKOUT"|oxmultilangassign}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{* ordering steps *}]
|
||||
[{include file="page/checkout/inc/steps.tpl" active=4}]
|
||||
|
||||
[{block name="checkout_order_main"}]
|
||||
[{if !$oView->showOrderButtonOnTop()}]
|
||||
<div class="alert alert-info">[{oxmultilang ident="MESSAGE_SUBMIT_BOTTOM"}]</div>
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_order_details"}]
|
||||
[{if !$oxcmp_basket->getProductsCount() }]
|
||||
[{block name="checkout_order_emptyshippingcart"}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="BASKET_EMPTY"}]</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
|
||||
[{block name="checkout_order_next_step_top"}]
|
||||
[{if $oView->isLowOrderPrice()}]
|
||||
[{block name="checkout_order_loworderprice_top"}]
|
||||
<div class="alert alert-info">[{oxmultilang ident="MIN_ORDER_PRICE"}] [{$oView->getMinOrderPrice()}] [{$currency->sign}]</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{if $oView->showOrderButtonOnTop()}]
|
||||
<div class="card">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getPaymentLink()}]" class="btn btn-outline-dark prevStep submitButton largeButton">[{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_order_vouchers"}]
|
||||
[{if $oViewConf->getShowVouchers() && $oxcmp_basket->getVouchers()}]
|
||||
[{oxmultilang ident="USED_COUPONS"}]
|
||||
[{foreach from=$Errors.basket item=oEr key=key}]
|
||||
[{if $oEr->getErrorClassType() == 'oxVoucherException'}]
|
||||
<div class="alert alert-danger">
|
||||
[{oxmultilang ident="PAGE_CHECKOUT_ORDER_COUPONNOTACCEPTED1"}] [{$oEr->getValue('voucherNr')}] [{oxmultilang ident="PAGE_CHECKOUT_ORDER_COUPONNOTACCEPTED2"}]<br>
|
||||
[{oxmultilang ident="REASON"}]
|
||||
[{$oEr->getOxMessage()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
<div class="alert alert-info">
|
||||
[{foreach from=$oxcmp_basket->getVouchers() item=sVoucher key=key name=aVouchers}]
|
||||
[{$sVoucher->sVoucherNr}]<br>
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_order_address"}]
|
||||
<div id="orderAddress" class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="BILLING_ADDRESS"}]
|
||||
<button type="submit" class="btn btn-sm btn-warning float-right submitButton Button edit-button" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{include file="widget/address/billing_address.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="SHIPPING_ADDRESS"}]
|
||||
<button type="submit" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{block name="checkout_order_address_inner"}]
|
||||
[{assign var="oDelAdress" value=$oView->getDelAddress()}]
|
||||
[{if $oDelAdress}]
|
||||
[{include file="widget/address/shipping_address.tpl" delivadr=$oDelAdress}]
|
||||
[{else}]
|
||||
[{include file="widget/address/billing_address.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="shippingAndPayment"}]
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6" id="orderShipping">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="payment">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="SHIPPING_CARRIER"}]
|
||||
<button type="submit" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{assign var="oShipSet" value=$oView->getShipSet()}]
|
||||
[{$oShipSet->oxdeliveryset__oxtitle->value}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-12 col-md-6" id="orderPayment">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="payment">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="PAYMENT_METHOD"}]
|
||||
<button type="submit" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{assign var="payment" value=$oView->getPayment()}]
|
||||
[{$payment->oxpayments__oxdesc->value}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_order_remark"}]
|
||||
[{if $oView->getOrderRemark()}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="user">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
</div>
|
||||
|
||||
<div class="card orderRemarks">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="WHAT_I_WANTED_TO_SAY"}]
|
||||
<button type="submit" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{$oView->getOrderRemark()|@nl2br}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_order_agb"}]
|
||||
[{if !$oView->isLowOrderPrice()}]
|
||||
<div id="orderAgbTop">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" id="orderConfirmAgbTop">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="order">
|
||||
<input type="hidden" name="fnc" value="[{$oView->getExecuteFnc()}]">
|
||||
<input type="hidden" name="challenge" value="[{$challenge}]">
|
||||
<input type="hidden" name="sDeliveryAddressMD5" value="[{$oView->getDeliveryAddressMD5()}]">
|
||||
|
||||
[{include file="page/checkout/inc/agb.tpl"}]
|
||||
</form>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
<div id="orderEditCart">
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="basket">
|
||||
<input type="hidden" name="fnc" value="">
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
[{oxmultilang ident="CART"}]
|
||||
<button type="submit" class="btn btn-sm btn-warning float-right submitButton largeButton edit-button" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{block name="order_basket"}]
|
||||
<div class="lineBox">
|
||||
[{include file="page/checkout/inc/basketcontents.tpl" editable=false}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_order_next_step_bottom"}]
|
||||
[{if $oView->isLowOrderPrice()}]
|
||||
[{block name="checkout_order_loworderprice_bottom"}]
|
||||
<div class="alert alert-info">
|
||||
<div>[{oxmultilang ident="MIN_ORDER_PRICE"}] [{$oView->getMinOrderPrice()}] [{$currency->sign}]</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{else}]
|
||||
[{block name="checkout_order_btn_confirm_bottom"}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" method="post" id="orderConfirmAgbBottom" class="form-horizontal">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="order">
|
||||
<input type="hidden" name="fnc" value="[{$oView->getExecuteFnc()}]">
|
||||
<input type="hidden" name="challenge" value="[{$challenge}]">
|
||||
<input type="hidden" name="sDeliveryAddressMD5" value="[{$oView->getDeliveryAddressMD5()}]">
|
||||
|
||||
[{if $oView->isActive('PsLogin') || !$oView->isConfirmAGBActive()}]
|
||||
<input type="hidden" name="ord_agb" value="1">
|
||||
[{else}]
|
||||
<input type="hidden" name="ord_agb" value="0">
|
||||
[{/if}]
|
||||
<input type="hidden" name="oxdownloadableproductsagreement" value="0">
|
||||
<input type="hidden" name="oxserviceproductsagreement" value="0">
|
||||
</div>
|
||||
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
|
||||
[{block name="checkout_order_btn_submit_bottom"}]
|
||||
<button type="submit" class="btn btn-lg btn-primary float-right submitButton nextStep largeButton">
|
||||
<i class="fa fa-check"></i> [{oxmultilang ident="SUBMIT_ORDER"}]
|
||||
</button>
|
||||
[{/block}]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{assign var="template_title" value="REVIEW_YOUR_ORDER"|oxmultilangassign}]
|
||||
[{include file="layout/page.tpl" title=$template_title location=$template_title}]
|
||||
175
shop/source/Application/views/wave/tpl/page/checkout/payment.tpl
Normal file
175
shop/source/Application/views/wave/tpl/page/checkout/payment.tpl
Normal file
@@ -0,0 +1,175 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{* ordering steps *}]
|
||||
[{include file="page/checkout/inc/steps.tpl" active=3}]
|
||||
|
||||
[{block name="checkout_payment_main"}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
[{block name="change_shipping"}]
|
||||
[{if $oView->getAllSets()}]
|
||||
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" name="shipping" id="shipping" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="changeshipping">
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">[{if $oView->getAllSetsCnt() > 1}][{oxmultilang ident="SELECT_SHIPPING_METHOD"}][{else}][{oxmultilang ident="SELECTED_SHIPPING_CARRIER"}][{/if}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{block name="act_shipping"}]
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="sShipSet" onchange="this.form.submit();">
|
||||
[{foreach key=sShipID from=$oView->getAllSets() item=oShippingSet name=ShipSetSelect}]
|
||||
<option value="[{$sShipID}]" [{if $oShippingSet->blSelected}]SELECTED[{/if}]>[{$oShippingSet->oxdeliveryset__oxtitle->value}]</option>
|
||||
[{/foreach}]
|
||||
</select>
|
||||
</div>
|
||||
<noscript>
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-success submitButton largeButton">[{oxmultilang ident="UPDATE_SHIPPING_CARRIER"}]</button>
|
||||
</div>
|
||||
</noscript>
|
||||
[{/block}]
|
||||
|
||||
[{assign var="oDeliveryCostPrice" value=$oxcmp_basket->getDeliveryCost()}]
|
||||
[{if $oDeliveryCostPrice && $oDeliveryCostPrice->getPrice() > 0}]
|
||||
[{if $oViewConf->isFunctionalityEnabled('blShowVATForDelivery') }]
|
||||
<div id="shipSetCost">
|
||||
<b>[{oxmultilang ident="CHARGES" suffix="COLON"}] [{oxprice price=$oDeliveryCostPrice->getNettoPrice() currency=$currency}]
|
||||
([{oxmultilang ident="PLUS_VAT"}] [{oxprice price=$oDeliveryCostPrice->getVatValue() currency=$currency}])
|
||||
</b>
|
||||
</div>
|
||||
[{else}]
|
||||
<div id="shipSetCost">
|
||||
<b>[{oxmultilang ident="CHARGES" suffix="COLON"}] [{oxprice price=$oDeliveryCostPrice->getBruttoPrice() currency=$currency}]</b>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_payment_errors"}]
|
||||
[{assign var="iPayError" value=$oView->getPaymentError()}]
|
||||
|
||||
[{if $iPayError == 1}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="ERROR_MESSAGE_COMPLETE_FIELDS_CORRECTLY"}]</div>
|
||||
[{elseif $iPayError == 2}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_AUTHORIZATION_FAILED"}]</div>
|
||||
[{elseif $iPayError == 4}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_UNAVAILABLE_SHIPPING_METHOD"}]</div>
|
||||
[{elseif $iPayError == 5}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_AUTHORIZATION_FAILED"}]</div>
|
||||
[{elseif $iPayError >= 6}]
|
||||
<!--Add custom error message here-->
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_AUTHORIZATION_FAILED"}]</div>
|
||||
[{elseif $iPayError == -1}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_UNAVAILABLE_PAYMENT_ERROR"}] "[{$oView->getPaymentErrorText()}]").</div>
|
||||
[{elseif $iPayError == -2}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_NO_SHIPPING_METHOD_FOUND"}]</div>
|
||||
[{elseif $iPayError == -3}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_SELECT_ANOTHER_PAYMENT"}]</div>
|
||||
[{elseif $iPayError == -4}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_BANK_CODE_INVALID"}]</div>
|
||||
[{elseif $iPayError == -5}]
|
||||
<div class="alert alert-danger">[{oxmultilang ident="MESSAGE_PAYMENT_ACCOUNT_NUMBER_INVALID"}]</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="change_payment"}]
|
||||
[{oxscript include="js/widgets/oxpayment.min.js" priority=10}]
|
||||
[{oxscript add="$( '#payment' ).oxPayment();"}]
|
||||
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
|
||||
<form action="[{$oViewConf->getSslSelfLink()}]" class="form-horizontal js-oxValidate payment" id="payment" name="order" method="post" novalidate="novalidate">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="validatepayment">
|
||||
</div>
|
||||
|
||||
[{if $oView->getPaymentList()}]
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 id="paymentHeader" class="card-title">[{oxmultilang ident="PAYMENT_METHOD"}]</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{assign var="inptcounter" value="-1"}]
|
||||
[{foreach key=sPaymentID from=$oView->getPaymentList() item=paymentmethod name=PaymentSelect}]
|
||||
[{assign var="inptcounter" value="`$inptcounter+1`"}]
|
||||
[{block name="select_payment"}]
|
||||
<div class="well well-sm">
|
||||
[{if $sPaymentID == "oxidcashondel"}]
|
||||
[{include file="page/checkout/inc/payment_oxidcashondel.tpl"}]
|
||||
[{elseif $sPaymentID == "oxidcreditcard"}]
|
||||
[{include file="page/checkout/inc/payment_oxidcreditcard.tpl"}]
|
||||
[{elseif $sPaymentID == "oxiddebitnote"}]
|
||||
[{include file="page/checkout/inc/payment_oxiddebitnote.tpl"}]
|
||||
[{else}]
|
||||
[{include file="page/checkout/inc/payment_other.tpl"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{block name="checkout_payment_nextstep"}]
|
||||
[{if $oView->isLowOrderPrice()}]
|
||||
<div class="alert alert-info">
|
||||
<b>[{oxmultilang ident="MIN_ORDER_PRICE"}] [{$oView->getMinOrderPrice()}] [{$currency->sign}]</b>
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getOrderLink()}]" class="btn btn-outline-dark float-left prevStep submitButton largeButton" id="paymentBackStepBottom"><i class="fa fa-caret-left"></i> [{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
<button type="submit" name="userform" class="btn btn-primary pull-right submitButton nextStep largeButton" id="paymentNextStepBottom">[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{elseif $oView->getEmptyPayment()}]
|
||||
[{block name="checkout_payment_nopaymentsfound"}]
|
||||
<div class="lineBlock"></div>
|
||||
<h3 id="paymentHeader" class="blockHead">[{oxmultilang ident="PAYMENT_INFORMATION"}]</h3>
|
||||
[{oxifcontent ident="oxnopaymentmethod" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
<input type="hidden" name="paymentid" value="oxempty">
|
||||
<div class="lineBox clear">
|
||||
<div class="card bg-light cart-buttons">
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=user"}]" class="btn btn-outline-dark float-left prevStep submitButton largeButton"><i class="fa fa-caret-left"></i> [{oxmultilang ident="PREVIOUS_STEP"}]</a>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-right">
|
||||
<button type="submit" name="userform" class="btn btn-primary pull-right submitButton nextStep largeButton" id="paymentNextStepBottom">[{oxmultilang ident="CONTINUE_TO_NEXT_STEP"}] <i class="fa fa-caret-right"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</form>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,46 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{* ordering steps *}]
|
||||
[{include file="page/checkout/inc/steps.tpl" active=5}]
|
||||
|
||||
[{block name="checkout_thankyou_main"}]
|
||||
[{assign var="order" value=$oView->getOrder()}]
|
||||
[{assign var="basket" value=$oView->getBasket()}]
|
||||
|
||||
<div id="thankyouPage">
|
||||
<h3 class="blockHead">[{oxmultilang ident="THANK_YOU"}]</h3>
|
||||
|
||||
[{block name="checkout_thankyou_info"}]
|
||||
[{oxmultilang ident="THANK_YOU_FOR_ORDER"}] [{$oxcmp_shop->oxshops__oxname->value}]. <br>
|
||||
[{oxmultilang ident="REGISTERED_YOUR_ORDER" args=$order->oxorder__oxordernr->value}] <br>
|
||||
[{if !$oView->getMailError()}]
|
||||
[{oxmultilang ident="MESSAGE_YOU_RECEIVED_ORDER_CONFIRM"}]<br>
|
||||
[{else}]<br>
|
||||
[{oxmultilang ident="MESSAGE_CONFIRMATION_NOT_SUCCEED"}]<br>
|
||||
[{/if}]
|
||||
<br>
|
||||
[{oxmultilang ident="MESSAGE_WE_WILL_INFORM_YOU"}]<br><br>
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_thankyou_proceed"}]
|
||||
[{oxmultilang ident="YOU_CAN_GO"}]
|
||||
<a id="backToShop" rel="nofollow" href="[{oxgetseourl ident=$oViewConf->getHomeLink()}]" class="link">[{oxmultilang ident="BACK_TO_START_PAGE"}]</a>
|
||||
[{if $oxcmp_user->oxuser__oxpassword->value}]
|
||||
[{oxmultilang ident="OR"}]
|
||||
<a id="orderHistory" rel="nofollow" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order"}]" class="link">[{oxmultilang ident="CHECK_YOUR_ORDER_HISTORY"}]</a>.
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_thankyou_partners"}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oView->getAlsoBoughtTheseProducts()}]
|
||||
<br><br>
|
||||
<h1 class="page-header">[{oxmultilang ident="WHO_BOUGHT_ALSO_BOUGHT"}]</h1>
|
||||
[{include file="widget/product/list.tpl" type=$oView->getListDisplayType() listId="alsoBoughtThankyou" products=$oView->getAlsoBoughtTheseProducts() blDisableToCart=true}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,33 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value=""}]
|
||||
|
||||
[{* ordering steps *}]
|
||||
[{include file="page/checkout/inc/steps.tpl" active=2}]
|
||||
|
||||
[{block name="checkout_user_main"}]
|
||||
[{if !$oxcmp_user && !$oView->getLoginOption()}]
|
||||
[{include file="page/checkout/inc/options.tpl"}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="checkout_user_noregistration"}]
|
||||
[{if !$oxcmp_user && $oView->getLoginOption() == 1}]
|
||||
[{include file="form/user_checkout_noregistration.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_user_registration"}]
|
||||
[{if !$oxcmp_user && $oView->getLoginOption() == 3}]
|
||||
[{include file="form/user_checkout_registration.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="checkout_user_change"}]
|
||||
[{if $oxcmp_user}]
|
||||
[{include file="form/user_checkout_change.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,71 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="COMPARE"|oxmultilangassign}]
|
||||
|
||||
[{$oView->setNoPaging()}]
|
||||
|
||||
[{assign var="articleList" value=$oView->getCompArtList()}]
|
||||
[{assign var="atributeList" value=$oView->getAttributeList()}]
|
||||
|
||||
[{*oxscript include="js/pages/compare.min.js"*}]
|
||||
|
||||
<h1 id="productComparisonHeader" class="page-header">[{$template_title}]</h1>
|
||||
[{if $oView->getCompareItemsCnt() >= 1}]
|
||||
<div id="comparePlayground" class="compare">
|
||||
<div id="compareLandscape" class="table-responsive">
|
||||
<table class="table-bordered">
|
||||
<tbody>
|
||||
<tr class="compare-products">
|
||||
[{foreach from=$articleList key=iProdNr item="product" name="compareArticles"}]
|
||||
[{if $smarty.foreach.compareArticles.first}]
|
||||
<th class="attrib-title no-border" scope="row"> </th>
|
||||
[{/if}]
|
||||
|
||||
<td class="item-wrapper text-center compare-item-wrapper">
|
||||
<div class="move-controls btn-group">
|
||||
[{if !$product->hidePrev}]
|
||||
<a id="compareLeft_[{$product->oxarticles__oxid->value}]" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getActiveClassName() params="fnc=moveleft&aid=`$product->oxarticles__oxnid->value`&pgNr="|cat:$oView->getActPage()}]" class="btn btn-outline-dark movePrev">«</a>
|
||||
[{/if}]
|
||||
|
||||
<a href="javascript:;" class="btn btn-outline-dark disabled">[{oxmultilang ident="MOVE"}]</a>
|
||||
|
||||
[{if !$product->hideNext}]
|
||||
<a id="compareRight_[{$product->oxarticles__oxid->value}]" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getActiveClassName() params="fnc=moveright&aid=`$product->oxarticles__oxnid->value`&pgNr="|cat:$oView->getActPage()}]" class="btn btn-outline-dark moveNext">»</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{include file="page/compare/inc/compareitem.tpl" product=$product testid=$smarty.foreach.comparelist.iteration}]
|
||||
</td>
|
||||
[{/foreach}]
|
||||
</tr>
|
||||
[{foreach from=$atributeList key=iProdNr item="oAttrib" name="compareAttributes"}]
|
||||
<tr>
|
||||
<th class="attrib-title" scope="row">[{$oAttrib->title}]:</th>
|
||||
|
||||
[{foreach from=$articleList key="iProdNr" item="product" name="compareArticles"}]
|
||||
<td class="attrib-text">
|
||||
[{if $oAttrib->aProd.$iProdNr && $oAttrib->aProd.$iProdNr->value}]
|
||||
[{$oAttrib->aProd.$iProdNr->value}]
|
||||
[{else}]
|
||||
-
|
||||
[{/if}]
|
||||
</td>
|
||||
[{/foreach}]
|
||||
</tr>
|
||||
[{/foreach}]
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
[{else}]
|
||||
<p class="alert alert-danger">[{oxmultilang ident="MESSAGE_SELECT_AT_LEAST_ONE_PRODUCT"}]</p>
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{if !$oxcmp_user->oxuser__oxpassword->value}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
[{else}]
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{include file="page/account/inc/account_menu.tpl" active_link="compare"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,163 @@
|
||||
<div class="item compare-item">
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
[{if $showMainLink}]
|
||||
[{assign var='_productLink' value=$product->getMainLink()}]
|
||||
[{else}]
|
||||
[{assign var='_productLink' value=$product->getLink()}]
|
||||
[{/if}]
|
||||
|
||||
<div class="row picture">
|
||||
<div class="col-12">
|
||||
<a href="[{$_productLink}]" [{if $oView->noIndex()}]rel="nofollow"[{/if}]>
|
||||
<img src="[{if $size=='big'}][{$product->getPictureUrl(1)}][{elseif $size=='thinest'}][{$product->getIconUrl()}][{else}][{$product->getThumbnailUrl()}][{/if}]" alt="[{$product->oxarticles__oxtitle->value|strip_tags}] [{$product->oxarticles__oxvarselect->value|default:''}]" class="img-fluid">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<strong class="title">
|
||||
<a class="fn" href="[{$_productLink}]" [{if $oView->noIndex()}]rel="nofollow"[{/if}]>[{$product->oxarticles__oxtitle->value}] [{$product->oxarticles__oxvarselect->value}]</a>
|
||||
</strong><br/>
|
||||
<span class="identifier">
|
||||
[{if $product->oxarticles__oxweight->value}]
|
||||
<div>
|
||||
<span title="weight">[{oxmultilang ident="WEIGHT"}]</span>
|
||||
<span class="value">[{$product->oxarticles__oxweight->value}] [{oxmultilang ident="KG"}]</span>
|
||||
</div>
|
||||
[{/if}]
|
||||
<small class="text-muted" title="sku">[{oxmultilang ident="PRODUCT_NO" suffix="COLON"}]</small>
|
||||
<small class="value text-muted">[{$product->oxarticles__oxartnum->value}]</small>
|
||||
</span>
|
||||
|
||||
[{if $size=='thin' || $size=='thinest'}]
|
||||
<span class="flag [{if $product->getStockStatus() == -1}]red[{elseif $product->getStockStatus() == 1}]orange[{elseif $product->getStockStatus() == 0}]green[{/if}]"> </span>
|
||||
[{/if}]
|
||||
|
||||
[{assign var="aVariantSelections" value=$product->getVariantSelections(null,null,1)}]
|
||||
[{assign var="blShowToBasket" value=true}] [{* tobasket or more info ? *}]
|
||||
[{if $product->isNotBuyable()||($aVariantSelections&&$aVariantSelections.selections)||$product->hasMdVariants()||($oViewConf->showSelectListsInList() && $product->getSelections(1))||$product->getVariants()}]
|
||||
[{assign var="blShowToBasket" value=false}]
|
||||
[{/if}]
|
||||
|
||||
<form name="tobasket.[{$testid}]" [{if $blShowToBasket}]action="[{$oViewConf->getSelfActionLink()}]" method="post"[{else}]action="[{$_productLink}]" method="get"[{/if}]>
|
||||
<div class="variants">
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{if $blShowToBasket}]
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
[{if $owishid}]
|
||||
<input type="hidden" name="owishid" value="[{$owishid}]">
|
||||
[{/if}]
|
||||
[{if $toBasketFunction}]
|
||||
<input type="hidden" name="fnc" value="[{$toBasketFunction}]">
|
||||
[{else}]
|
||||
<input type="hidden" name="fnc" value="tobasket">
|
||||
[{/if}]
|
||||
<input type="hidden" name="aid" value="[{$product->oxarticles__oxid->value}]">
|
||||
[{if $altproduct}]
|
||||
<input type="hidden" name="anid" value="[{$altproduct}]">
|
||||
[{else}]
|
||||
<input type="hidden" name="anid" value="[{$product->oxarticles__oxnid->value}]">
|
||||
[{/if}]
|
||||
[{if $recommid}]
|
||||
<input type="hidden" name="recommid" value="[{$recommid}]">
|
||||
[{/if}]
|
||||
<input type="hidden" name="pgNr" value="[{$oView->getActPage()}]">
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
</div>
|
||||
|
||||
<div class="tobasket add-to-basket">
|
||||
[{oxhasrights ident="SHOWARTICLEPRICE"}]
|
||||
[{assign var=tprice value=$product->getTPrice()}]
|
||||
[{assign var=price value=$product->getPrice()}]
|
||||
<p class="oldPrice">
|
||||
[{if $tprice && $tprice->getBruttoPrice() > $price->getBruttoPrice()}]
|
||||
<strong>[{oxmultilang ident="REDUCED_FROM"}] <del>[{$product->getFTPrice()}] [{$currency->sign}]</del></strong>
|
||||
[{else}]
|
||||
|
||||
[{/if}]
|
||||
</p>
|
||||
[{/oxhasrights}]
|
||||
<div class="tobasketFunction clear">
|
||||
[{oxhasrights ident="SHOWARTICLEPRICE"}]
|
||||
<span id="productPrice_[{$testid}]" class="price lead[{if $tprice && $tprice->getBruttoPrice() > $price->getBruttoPrice()}] text-danger[{/if}]">[{$product->getFPrice()}] [{$currency->sign}] [{if $blShowToBasket}]*[{/if}]</span>
|
||||
[{if $product->loadAmountPriceInfo()}]
|
||||
[{include file="page/details/inc/priceinfo.tpl" oDetailsProduct=$product}]
|
||||
[{/if}]
|
||||
|
||||
[{/oxhasrights}]
|
||||
[{if $blShowToBasket}]
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
<div class="input-group">
|
||||
<input type="text" name="am" value="1" size="3" autocomplete="off" class="form-control" title="[{oxmultilang ident="QUANTITY"}]">
|
||||
<span class="input-group-append">
|
||||
<button type="submit" class="btn btn-primary hasTooltip" title="[{oxmultilang ident="TO_CART"}]">
|
||||
<i class="fa fa-shopping-cart"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
[{/oxhasrights}]
|
||||
[{else}]
|
||||
<span >
|
||||
<a id="variantMoreInfo_[{$testid}]" class="btn btn-primary btn-block" href="[{$_productLink}]" onclick="oxid.mdVariants.getMdVariantUrl('mdVariant_[{$testid}]'); return false;">[{oxmultilang ident="MORE_INFO"}]</a>
|
||||
</span>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{* additional info *}]
|
||||
<div class="additionalInfo clear">
|
||||
[{assign var="oUnitPrice" value=$product->getUnitPrice()}]
|
||||
[{if $oUnitPrice}]
|
||||
<span id="productPriceUnit">[{oxprice price=$oUnitPrice currency=$currency}]/[{$product->getUnitName()}]</span>
|
||||
[{/if}]
|
||||
|
||||
[{if $product->getStockStatus() == -1}]
|
||||
<span class="stockFlag notOnStock">
|
||||
[{if $product->oxarticles__oxnostocktext->value}]
|
||||
[{$product->oxarticles__oxnostocktext->value}]
|
||||
[{elseif $oViewConf->getStockOffDefaultMessage()}]
|
||||
<span class="text-danger">[{oxmultilang ident="MESSAGE_NOT_ON_STOCK"}]</span>
|
||||
[{/if}]
|
||||
[{if $product->getDeliveryDate()}]
|
||||
<span class="text-info">[{oxmultilang ident="AVAILABLE_ON"}] [{$product->getDeliveryDate()}]</span>
|
||||
[{/if}]
|
||||
</span>
|
||||
[{elseif $product->getStockStatus() == 1}]
|
||||
<span class="stockFlag lowStock">
|
||||
<span class="text-warning">[{oxmultilang ident="LOW_STOCK"}]</span>
|
||||
</span>
|
||||
[{elseif $product->getStockStatus() == 0}]
|
||||
<span class="stockFlag">
|
||||
[{if $product->oxarticles__oxstocktext->value}]
|
||||
[{$product->oxarticles__oxstocktext->value}]
|
||||
[{elseif $oViewConf->getStockOnDefaultMessage()}]
|
||||
<span class="text-success">[{oxmultilang ident="READY_FOR_SHIPPING"}]</span>
|
||||
[{/if}]
|
||||
</span>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
||||
<input type="hidden" name="fnc" value="tocomparelist">
|
||||
<input type="hidden" name="aid" value="[{$product->oxarticles__oxid->value}]">
|
||||
<input type="hidden" name="anid" value="[{$product->oxarticles__oxnid->value}]">
|
||||
<input type="hidden" name="pgNr" value="0">
|
||||
<input type="hidden" name="am" value="1">
|
||||
<input type="hidden" name="removecompare" value="1">
|
||||
</div>
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
<button class="btn btn-danger btn-sm" id="remove_cmp_[{$product->oxarticles__oxid->value}]" type="submit" title="[{oxmultilang ident="REMOVE"}]" name="send">
|
||||
<i class="fa fa-trash"></i> [{oxmultilang ident="REMOVE"}]
|
||||
</button>
|
||||
[{/oxhasrights}]
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
[{assign var="oDetailsProduct" value=$oView->getProduct()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
[{assign var="oPictureProduct" value=$oView->getPicturesProduct()}]
|
||||
|
||||
[{block name="fullproductinfo_init_details_page"}][{/block}]
|
||||
|
||||
[{*[{oxscript add="$( '#variants' ).oxArticleVariant();"}]*}]
|
||||
[{include file="page/details/inc/fullproductinfo.tpl"}]
|
||||
|
||||
[{oxscript}]
|
||||
@@ -0,0 +1,14 @@
|
||||
[{assign var="oDetailsProduct" value=$oView->getProduct()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
[{assign var="oPictureProduct" value=$oView->getPicturesProduct()}]
|
||||
|
||||
[{block name="productmain_init_details_page"}][{/block}]
|
||||
|
||||
[{if $oView->showZoomPics()}]
|
||||
[{oxscript add="if( !window.isMobileDevice() ) $('.cloud-zoom, .cloud-zoom-gallery').CloudZoom();"}]
|
||||
[{/if}]
|
||||
|
||||
[{oxscript add="$( '#variants' ).oxArticleVariant();"}]
|
||||
[{include file="page/details/inc/productmain.tpl"}]
|
||||
|
||||
[{oxscript widget=$oView->getClassName()}]
|
||||
@@ -0,0 +1,76 @@
|
||||
[{if !$blWorkaroundInclude}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{if $oxcmp_user}]
|
||||
[{assign var="force_sid" value=$oView->getSidForWidget()}]
|
||||
[{/if}]
|
||||
[{oxid_include_widget cl="oxwArticleDetails" _parent=$oView->getClassName() nocookie=1 force_sid=$force_sid _navurlparams=$oViewConf->getNavUrlParams() _object=$oView->getProduct() anid=$oViewConf->getActArticleId() iPriceAlarmStatus=$oView->getPriceAlarmStatus() sorting=$oView->getSortingParameters() skipESIforUser=1}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
[{else}]
|
||||
[{assign var="oDetailsProduct" value=$oView->getProduct()}]
|
||||
[{assign var="oPictureProduct" value=$oView->getPicturesProduct()}]
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
[{assign var="sPageHeadTitle" value=$oDetailsProduct->oxarticles__oxtitle->value|cat:' '|cat:$oDetailsProduct->oxarticles__oxvarselect->value}]
|
||||
|
||||
[{if $oView->getPriceAlarmStatus() == 1}]
|
||||
[{assign var="_statusMessage1" value="PAGE_DETAILS_THANKYOUMESSAGE1"|oxmultilangassign|cat:" "|cat:$oxcmp_shop->oxshops__oxname->value}]
|
||||
[{assign var="_statusMessage2" value="PAGE_DETAILS_THANKYOUMESSAGE2"|oxmultilangassign|cat:" "}]
|
||||
[{assign var="_statusMessage3" value="PAGE_DETAILS_THANKYOUMESSAGE3"|oxmultilangassign|cat:" "|cat:$oView->getBidPrice()|cat:" "|cat:$currency->sign|cat:" "}]
|
||||
[{assign var="_statusMessage4" value="PAGE_DETAILS_THANKYOUMESSAGE4"|oxmultilangassign}]
|
||||
[{include file="message/success.tpl" statusMessage=`$_statusMessage1``$_statusMessage2``$_statusMessage3``$_statusMessage4`}]
|
||||
[{elseif $oView->getPriceAlarmStatus() == 2}]
|
||||
[{assign var="_statusMessage" value="MESSAGE_WRONG_VERIFICATION_CODE"|oxmultilangassign}]
|
||||
[{include file="message/error.tpl" statusMessage=$_statusMessage}]
|
||||
[{elseif $oView->getPriceAlarmStatus() === 0}]
|
||||
[{assign var="_statusMessage1" value="MESSAGE_NOT_ABLE_TO_SEND_EMAIL"|oxmultilangassign|cat:"<br> "}]
|
||||
[{assign var="_statusMessage2" value="MESSAGE_VERIFY_YOUR_EMAIL"|oxmultilangassign}]
|
||||
[{include file="message/error.tpl" statusMessage=`$_statusMessage1``$_statusMessage2`}]
|
||||
[{/if}]
|
||||
|
||||
<div id="details_container" class="details">
|
||||
[{if $oView->getSearchTitle()}]
|
||||
[{assign var="detailsLocation" value=$oView->getSearchTitle()}]
|
||||
[{else}]
|
||||
[{foreach from=$oView->getCatTreePath() item=oCatPath name="detailslocation"}]
|
||||
[{if $smarty.foreach.detailslocation.last}]
|
||||
[{assign var="detailsLocation" value=$oCatPath->oxcategories__oxtitle->value}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
|
||||
[{* details locator *}]
|
||||
[{assign var="actCategory" value=$oView->getActiveCategory()}]
|
||||
<div class="row details-pager" id="detailsItemsPager">
|
||||
<div class="col-3 details-pager-overview">
|
||||
<a href="[{$actCategory->toListLink}]" class="details-pager-link">
|
||||
<i class="fa fa-bars"></i> [{oxmultilang ident="BACK_TO_OVERVIEW"}]
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-3 details-pager-prev">
|
||||
[{if $actCategory->prevProductLink}]
|
||||
<a id="linkPrevArticle" class="details-pager-link" href="[{$actCategory->prevProductLink}]">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
[{oxmultilang ident="PREVIOUS_PRODUCT"}]
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
<div class="col-3 text-center details-pager-current-page">
|
||||
[{if $actCategory->iProductPos}]
|
||||
[{oxmultilang ident="PRODUCT"}] [{$actCategory->iProductPos}] [{oxmultilang ident="OF"}] [{$actCategory->iCntOfProd}]
|
||||
[{/if}]
|
||||
</div>
|
||||
<div class="col-3 text-right details-pager-next">
|
||||
[{if $actCategory->nextProductLink}]
|
||||
<a id="linkNextArticle" class="details-pager-link" href="[{$actCategory->nextProductLink}]">
|
||||
[{oxmultilang ident="NEXT_PRODUCT"}] <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{* RDFa offering*}]
|
||||
<div class="details-product-info" id="productinfo" itemscope itemtype="http://schema.org/Product">
|
||||
[{include file="page/details/inc/fullproductinfo.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,6 @@
|
||||
<dl class="attributes dl-horizontal">
|
||||
[{foreach from=$oView->getAttributes() item=oAttr name=attribute}]
|
||||
<dt id="attrTitle_[{$smarty.foreach.attribute.iteration}]" class="hasTooltip" title="[{$oAttr->title}]" data-placement="right" >[{$oAttr->title}]</dt>
|
||||
<dd id="attrValue_[{$smarty.foreach.attribute.iteration}]">[{$oAttr->value}]</dd>
|
||||
[{/foreach}]
|
||||
</dl>
|
||||
@@ -0,0 +1,5 @@
|
||||
[{if $_compare_in_list}]
|
||||
<a id="removeFromCompare[{$_compare_testid}]" class="compare remove [{$_compare_class}]" data-aid="[{$_compare_aid}]" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getTopActiveClassName() params="am=1&removecompare=1&fnc=tocomparelist&aid=`$_compare_aid`&anid=`$_compare_anid`&pgNr=`$_compare_page`"|cat:$oViewConf->getNavUrlParams()}]">[{oxmultilang ident=$_compare_text_from_id}]</a>
|
||||
[{else}]
|
||||
<a id="addToCompare[{$_compare_testid}]" class="compare add [{$_compare_class}]" data-aid="[{$_compare_aid}]" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getTopActiveClassName() params="am=1&addcompare=1&fnc=tocomparelist&aid=`$_compare_aid`&anid=`$_compare_anid`&pgNr=`$_compare_page`"|cat:$oViewConf->getNavUrlParams()}]">[{oxmultilang ident=$_compare_text_to_id}]</a>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,16 @@
|
||||
[{if $oDetailsProduct->oxarticles__oxmindeltime->value || $oDetailsProduct->oxarticles__oxmaxdeltime->value}]
|
||||
<span class="deliverytime">
|
||||
[{oxmultilang ident="DELIVERYTIME_DELIVERYTIME" suffix="COLON"}]
|
||||
[{if $oDetailsProduct->oxarticles__oxmindeltime->value && $oDetailsProduct->oxarticles__oxmindeltime->value != $oDetailsProduct->oxarticles__oxmaxdeltime->value}]
|
||||
[{$oDetailsProduct->oxarticles__oxmindeltime->value}] -
|
||||
[{/if}]
|
||||
[{if $oDetailsProduct->oxarticles__oxmaxdeltime->value}]
|
||||
[{assign var="unit" value=$oDetailsProduct->oxarticles__oxdeltimeunit->value}]
|
||||
[{assign var="ident" value=$unit}]
|
||||
[{if $oDetailsProduct->oxarticles__oxmaxdeltime->value > 1}]
|
||||
[{assign var="ident" value=$ident|cat:"S"}]
|
||||
[{/if}]
|
||||
[{$oDetailsProduct->oxarticles__oxmaxdeltime->value}] [{oxmultilang ident=$ident}]
|
||||
[{/if}]
|
||||
</span>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,18 @@
|
||||
<div id="detailsMain">
|
||||
[{include file="page/details/inc/productmain.tpl"}]
|
||||
</div>
|
||||
|
||||
<div id="detailsRelated" class="details-related">
|
||||
<div class="details-related-info[{if !$oView->getSimilarProducts() && !$oView->getCrossSelling() && !$oView->getAccessoires()}] details-related-info-full[{/if}]">
|
||||
[{include file="page/details/inc/tabs.tpl"}]
|
||||
|
||||
[{if $oView->isReviewActive()}]
|
||||
<div class="reviews">
|
||||
<div class="h2 reviews-header">[{oxmultilang ident="WRITE_PRODUCT_REVIEW"}]</div>
|
||||
[{include file="widget/reviews/reviews.tpl"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
[{include file="page/details/inc/related_products.tpl"}]
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{if $oDetailsProduct->oxarticles__oxfile->value}]
|
||||
<a id="productFile" href="[{$oConfig->getPictureUrl('media/')}][{$oDetailsProduct->oxarticles__oxfile->value}]">[{$oDetailsProduct->oxarticles__oxfile->value}]</a>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->getMediaFiles()}]
|
||||
[{foreach from=$oView->getMediaFiles() item="oMediaUrl" name="mediaURLs"}]
|
||||
[{assign var="sUrl" value=$oMediaUrl->oxmediaurls__oxurl->value}]
|
||||
[{assign var="blIsYouTubeMedia" value=false}]
|
||||
[{if $sUrl|strpos:'youtube.com' || $sUrl|strpos:'youtu.be'}]
|
||||
[{assign var="blIsYouTubeMedia" value=true}]
|
||||
[{/if}]
|
||||
|
||||
[{if !$smarty.foreach.mediaURLs.first}]
|
||||
<hr/>
|
||||
[{/if}]
|
||||
<div class="[{if $blIsYouTubeMedia}]embed-responsive embed-responsive-4by3[{/if}]">
|
||||
[{$oMediaUrl->getHtml()}]
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
@@ -0,0 +1,24 @@
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
|
||||
[{if $oView->morePics()}]
|
||||
[{assign var="iMorePics" value=$oView->getIcons()|@count}]
|
||||
[{if $iMorePics > 4}]
|
||||
[{oxscript include="js/libs/jquery.flexslider.min.js" priority=2}]
|
||||
[{oxstyle include="css/libs/jquery.flexslider.min.css"}]
|
||||
[{/if}]
|
||||
|
||||
<div class="details-picture-more[{if $iMorePics > 4}] flexslider[{/if}]" id="morePicsContainer">
|
||||
<ul class="[{if $iMorePics > 4}]slides[{else}]details-picture-more-list[{/if}]">
|
||||
[{oxscript add="var aMorePic=new Array();"}]
|
||||
[{foreach from=$oView->getIcons() key="iPicNr" item="oArtIcon" name="sMorePics"}]
|
||||
[{assign var="sPictureName" value=$oPictureProduct->getPictureFieldValue("oxpic", $iPicNr)}]
|
||||
[{assign var="aPictureInfo" value=$oConfig->getMasterPicturePath("product/`$iPicNr`/`$sPictureName`")|@getimagesize}]
|
||||
<li class="details-picture-more-list-item">
|
||||
<a id="morePics_[{$smarty.foreach.sMorePics.iteration}]" class="details-picture-more-link[{if $smarty.foreach.sMorePics.first}] selected[{/if}]" href="[{$oPictureProduct->getPictureUrl($iPicNr)}]" data-num="[{$smarty.foreach.sMorePics.iteration}]"[{if $aPictureInfo}] data-width="[{$aPictureInfo.0}]" data-height="[{$aPictureInfo.1}]"[{/if}] data-zoom-url="[{$oPictureProduct->getMasterZoomPictureUrl($iPicNr)}]">
|
||||
<img class="details-picture-more-img" src="[{$oPictureProduct->getIconUrl($iPicNr)}]" alt="morepic-[{$smarty.foreach.sMorePics.iteration}]">
|
||||
</a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,52 @@
|
||||
[{* Root element of PhotoSwipe. Must have class pswp. *}]
|
||||
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
[{* Background of PhotoSwipe.
|
||||
It's a separate element as animating opacity is faster than rgba(). *}]
|
||||
<div class="pswp__bg"></div>
|
||||
|
||||
[{* Slides wrapper with overflow:hidden. *}]
|
||||
<div class="pswp__scroll-wrap">
|
||||
[{* Container that holds slides.
|
||||
PhotoSwipe keeps only 3 of them in the DOM to save memory.
|
||||
Don't modify these 3 pswp__item elements, data is added later on. *}]
|
||||
<div class="pswp__container">
|
||||
<div class="pswp__item"></div>
|
||||
<div class="pswp__item"></div>
|
||||
<div class="pswp__item"></div>
|
||||
</div>
|
||||
|
||||
[{* Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. *}]
|
||||
<div class="pswp__ui pswp__ui--hidden">
|
||||
<div class="pswp__top-bar">
|
||||
[{* Controls are self-explanatory. Order can be changed. *}]
|
||||
<div class="pswp__counter"></div>
|
||||
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
|
||||
<button class="pswp__button pswp__button--share" title="Share"></button>
|
||||
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
|
||||
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
|
||||
|
||||
[{* Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR *}]
|
||||
[{* element will get class pswp__preloader--active when preloader is running *}]
|
||||
<div class="pswp__preloader">
|
||||
<div class="pswp__preloader__icn">
|
||||
<div class="pswp__preloader__cut">
|
||||
<div class="pswp__preloader__donut"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
|
||||
<div class="pswp__share-tooltip"></div>
|
||||
</div>
|
||||
|
||||
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button>
|
||||
|
||||
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button>
|
||||
|
||||
<div class="pswp__caption">
|
||||
<div class="pswp__caption__center"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,46 @@
|
||||
[{assign var="currency" value=$oView->getActCurrency()}]
|
||||
<div class="clearfix" style="clear:both;">
|
||||
<a href="#modal_priceinfo_[{$oDetailsProduct->oxarticles__oxid->value|regex_replace:"/[^a-zA-Z0-9]/":""}]" role="button" class="btn btn-info btn-staffel freeButton" data-toggle="modal" title="[{oxmultilang ident="BLOCK_PRICE"}]">[{oxmultilang ident="BLOCK_PRICE"}]</a>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="modal_priceinfo_[{$oDetailsProduct->oxarticles__oxid->value|regex_replace:"/[^a-zA-Z0-9]/":""}]">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<span class="h4 modal-title">[{oxmultilang ident="BLOCK_PRICE"}]</span>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<dl class="dl-horizontal">
|
||||
[{foreach from=$oDetailsProduct->loadAmountPriceInfo() item=priceItem name=amountPrice}]
|
||||
<dt class="staffel-dt">[{oxmultilang ident="FROM"}] [{$priceItem->oxprice2article__oxamount->value}] [{oxmultilang ident="PCS"}]</dt>
|
||||
<dd class="staffel-dd">
|
||||
[{if $priceItem->oxprice2article__oxaddperc->value}]
|
||||
[{$priceItem->oxprice2article__oxaddperc->value}]% [{oxmultilang ident="DISCOUNT"}]
|
||||
[{else}]
|
||||
[{block name="details_productmain_price"}]
|
||||
[{if $oView->isVatIncluded()}]
|
||||
<strong>[{$priceItem->fbrutprice}] [{$currency->sign}]</strong>
|
||||
[{if $oDetailsProduct->getUnitName() and $priceItem->fbrutamountprice}]
|
||||
([{$priceItem->fbrutamountprice}] [{$currency->sign}] / [{$oDetailsProduct->getUnitName()}])
|
||||
[{/if}]
|
||||
[{else}]
|
||||
<strong>[{$priceItem->fnetprice}] [{$currency->sign}]</strong>
|
||||
[{if $oDetailsProduct->getUnitName() and $priceItem->fnetamountprice}]
|
||||
([{$priceItem->fnetamountprice}] [{$currency->sign}] / [{$oDetailsProduct->getUnitName()}])
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
</dd>
|
||||
[{/foreach}]
|
||||
</dl>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">[{oxmultilang ident="CLOSE"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -0,0 +1,382 @@
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{assign var="oManufacturer" value=$oView->getManufacturer()}]
|
||||
[{assign var="aVariantSelections" value=$oView->getVariantSelections()}]
|
||||
|
||||
[{if $aVariantSelections && $aVariantSelections.rawselections}]
|
||||
[{assign var="_sSelectionHashCollection" value=""}]
|
||||
[{foreach from=$aVariantSelections.rawselections item=oSelectionList key=iKey}]
|
||||
[{assign var="_sSelectionHash" value=""}]
|
||||
[{foreach from=$oSelectionList item=oListItem key=iPos}]
|
||||
[{assign var="_sSelectionHash" value=$_sSelectionHash|cat:$iPos|cat:":"|cat:$oListItem.hash|cat:"|"}]
|
||||
[{/foreach}]
|
||||
[{if $_sSelectionHash}]
|
||||
[{if $_sSelectionHashCollection}][{assign var="_sSelectionHashCollection" value=$_sSelectionHashCollection|cat:","}][{/if}]
|
||||
[{assign var="_sSelectionHashCollection" value=$_sSelectionHashCollection|cat:"'`$_sSelectionHash`'"}]
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
[{oxscript add="oxVariantSelections = [`$_sSelectionHashCollection`];"}]
|
||||
|
||||
<form class="js-oxWidgetReload" action="[{$oView->getWidgetLink()}]" method="get">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oView->getClassName()}]">
|
||||
<input type="hidden" name="oxwparent" value="[{$oViewConf->getTopActiveClassName()}]">
|
||||
<input type="hidden" name="listtype" value="[{$oView->getListType()}]">
|
||||
<input type="hidden" name="nocookie" value="1">
|
||||
<input type="hidden" name="cnid" value="[{$oView->getCategoryId()}]">
|
||||
<input type="hidden" name="anid" value="[{if !$oDetailsProduct->oxarticles__oxparentid->value}][{$oDetailsProduct->oxarticles__oxid->value}][{else}][{$oDetailsProduct->oxarticles__oxparentid->value}][{/if}]">
|
||||
<input type="hidden" name="actcontrol" value="[{$oViewConf->getTopActiveClassName()}]">
|
||||
[{if $oConfig->getRequestParameter('preview')}]
|
||||
<input type="hidden" name="preview" value="[{$oConfig->getRequestParameter('preview')}]">
|
||||
[{/if}]
|
||||
</form>
|
||||
[{/if}]
|
||||
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
<form class="js-oxProductForm" action="[{$oViewConf->getSelfActionLink()}]" method="post">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
[{$oViewConf->getNavFormParams()}]
|
||||
<input type="hidden" name="cl" value="[{$oViewConf->getTopActiveClassName()}]">
|
||||
<input type="hidden" name="aid" value="[{$oDetailsProduct->oxarticles__oxid->value}]">
|
||||
<input type="hidden" name="anid" value="[{$oDetailsProduct->oxarticles__oxnid->value}]">
|
||||
<input type="hidden" name="parentid" value="[{if !$oDetailsProduct->oxarticles__oxparentid->value}][{$oDetailsProduct->oxarticles__oxid->value}][{else}][{$oDetailsProduct->oxarticles__oxparentid->value}][{/if}]">
|
||||
<input type="hidden" name="panid" value="">
|
||||
[{if !$oDetailsProduct->isNotBuyable()}]
|
||||
<input type="hidden" name="fnc" value="tobasket">
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/oxhasrights}]
|
||||
|
||||
<div class="details-info">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-4 details-col-left">
|
||||
[{* article picture with zoom *}]
|
||||
[{block name="details_productmain_zoom"}]
|
||||
[{oxscript include="js/libs/photoswipe.min.js" priority=8}]
|
||||
[{oxscript include="js/libs/photoswipe-ui-default.min.js" priority=8}]
|
||||
[{oxscript add="\$( document ).ready( function() { Wave.initDetailsEvents(); });"}]
|
||||
|
||||
[{* Wird ausgeführt, wenn es sich um einen AJAX-Request handelt *}]
|
||||
[{if $blWorkaroundInclude}]
|
||||
[{oxscript add="$( document ).ready( function() { Wave.initEvents();});"}]
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->showZoomPics()}]
|
||||
[{* ToDo: This logical part should be ported into a core function. *}]
|
||||
[{if $oConfig->getConfigParam('sAltImageUrl') || $oConfig->getConfigParam('sSSLAltImageUrl')}]
|
||||
[{assign var="aPictureInfo" value=$oPictureProduct->getMasterZoomPictureUrl(1)|@getimagesize}]
|
||||
[{else}]
|
||||
[{assign var="sPictureName" value=$oPictureProduct->oxarticles__oxpic1->value}]
|
||||
[{assign var="aPictureInfo" value=$oConfig->getMasterPicturePath("product/1/`$sPictureName`")|@getimagesize}]
|
||||
[{/if}]
|
||||
|
||||
<div class="picture details-picture">
|
||||
<a class="details-picture-link" href="[{$oPictureProduct->getMasterZoomPictureUrl(1)}]" id="zoom1"[{if $aPictureInfo}] data-width="[{$aPictureInfo.0}]" data-height="[{$aPictureInfo.1}]"[{/if}]>
|
||||
<img src="[{$oView->getActPicture()}]" alt="[{$oPictureProduct->oxarticles__oxtitle->value|strip_tags}] [{$oPictureProduct->oxarticles__oxvarselect->value|strip_tags}]" itemprop="image" class="img-fluid">
|
||||
</a>
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="picture details-picture">
|
||||
<img src="[{$oView->getActPicture()}]" alt="[{$oPictureProduct->oxarticles__oxtitle->value|strip_tags}] [{$oPictureProduct->oxarticles__oxvarselect->value|strip_tags}]" itemprop="image" class="img-fluid">
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_productmain_morepics"}]
|
||||
[{include file="page/details/inc/morepics.tpl"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-sm-8 col-md-5 col-lg-6 details-col-middle">
|
||||
[{block name="details_productmain_title"}]
|
||||
<h1 id="productTitle" class="details-title" itemprop="name">
|
||||
[{$oDetailsProduct->oxarticles__oxtitle->value}] [{$oDetailsProduct->oxarticles__oxvarselect->value}]
|
||||
</h1>
|
||||
[{/block}]
|
||||
|
||||
[{* article number *}]
|
||||
[{block name="details_productmain_artnumber"}]
|
||||
<span class="small text-muted" itemprop="sku" content="[{$oDetailsProduct->oxarticles__oxartnum->value}]">[{oxmultilang ident="ARTNUM" suffix="COLON"}] [{$oDetailsProduct->oxarticles__oxartnum->value}]</span>
|
||||
[{/block}]
|
||||
|
||||
[{* ratings *}]
|
||||
[{if $oView->ratingIsActive()}]
|
||||
[{block name="details_productmain_ratings"}]
|
||||
[{include file="widget/reviews/rating.tpl" itemid="anid=`$oDetailsProduct->oxarticles__oxnid->value`" sRateUrl=$oDetailsProduct->getLink()}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{* short description *}]
|
||||
[{block name="details_productmain_shortdesc"}]
|
||||
[{oxhasrights ident="SHOWSHORTDESCRIPTION"}]
|
||||
[{if $oDetailsProduct->oxarticles__oxshortdesc->rawValue}]
|
||||
<p class="details-shortdesc" id="productShortdesc" itemprop="description">[{$oDetailsProduct->oxarticles__oxshortdesc->rawValue}]</p>
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
[{/block}]
|
||||
|
||||
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
|
||||
[{* article main info block *}]
|
||||
<div class="details-information[{if $oManufacturer->oxmanufacturers__oxicon->value}] hasBrand[{/if}]">
|
||||
<span class="hidden" itemprop="url" content="[{$oDetailsProduct->getMainLink()}]"></span>
|
||||
|
||||
[{* additional info *}]
|
||||
[{oxhasrights ident="SHOWARTICLEPRICE"}]
|
||||
[{assign var="oUnitPrice" value=$oDetailsProduct->getUnitPrice()}]
|
||||
[{block name="details_productmain_priceperunit"}]
|
||||
[{if $oUnitPrice}]
|
||||
<div class="details-additional-information">
|
||||
<span id="productPriceUnit">[{oxprice price=$oUnitPrice currency=$currency}]/[{$oDetailsProduct->getUnitName()}]</span>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/oxhasrights}]
|
||||
|
||||
[{if $oDetailsProduct->oxarticles__oxweight->value}]
|
||||
<div class="weight">
|
||||
[{block name="details_productmain_weight"}]
|
||||
[{oxmultilang ident="WEIGHT" suffix="COLON"}] [{$oDetailsProduct->oxarticles__oxweight->value}] [{oxmultilang ident="KG"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{block name="details_productmain_vpe"}]
|
||||
[{if $oDetailsProduct->oxarticles__oxvpe->value > 1}]
|
||||
<span class="vpe small">[{oxmultilang ident="DETAILS_VPE_MESSAGE_1"}] [{$oDetailsProduct->oxarticles__oxvpe->value}] [{oxmultilang ident="DETAILS_VPE_MESSAGE_2"}]</span>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="blCanBuy" value=true}]
|
||||
[{* variants | md variants *}]
|
||||
[{block name="details_productmain_variantselections"}]
|
||||
[{if $aVariantSelections && $aVariantSelections.selections}]
|
||||
[{oxscript include="js/widgets/oxajax.min.js" priority=10 }]
|
||||
[{oxscript include="js/widgets/oxarticlevariant.min.js" priority=10 }]
|
||||
[{oxscript add="$( '#variants' ).oxArticleVariant();"}]
|
||||
[{assign var="blCanBuy" value=$aVariantSelections.blPerfectFit}]
|
||||
[{if !$blHasActiveSelections}]
|
||||
[{if !$blCanBuy && !$oDetailsProduct->isParentNotBuyable()}]
|
||||
[{assign var="blCanBuy" value=true}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
<div id="variants" class="selectorsBox variant-dropdown js-fnSubmit">
|
||||
[{assign var="blHasActiveSelections" value=false}]
|
||||
[{foreach from=$aVariantSelections.selections item=oList key=iKey}]
|
||||
[{if $oList->getActiveSelection()}]
|
||||
[{assign var="blHasActiveSelections" value=true}]
|
||||
[{/if}]
|
||||
[{include file="widget/product/selectbox.tpl" oSelectionList=$oList iKey=$iKey blInDetails=true}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{* selection lists *}]
|
||||
[{block name="details_productmain_selectlists"}]
|
||||
[{if $oViewConf->showSelectLists()}]
|
||||
[{assign var="oSelections" value=$oDetailsProduct->getSelections()}]
|
||||
[{if $oSelections}]
|
||||
<div class="selectorsBox variant-dropdown js-fnSubmit clear" id="productSelections">
|
||||
[{foreach from=$oSelections item=oList name=selections}]
|
||||
[{include file="widget/product/selectbox.tpl" oSelectionList=$oList sFieldName="sel" iKey=$smarty.foreach.selections.index blHideDefault=true sSelType="seldrop"}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
<div class="price-wrapper">
|
||||
[{block name="details_productmain_tprice"}]
|
||||
[{oxhasrights ident="SHOWARTICLEPRICE"}]
|
||||
[{if $oDetailsProduct->getTPrice()}]
|
||||
<del class="price-old">[{oxprice price=$oDetailsProduct->getTPrice() currency=$currency}]</del>
|
||||
<br />
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_productmain_watchlist"}][{/block}]
|
||||
|
||||
[{block name="details_productmain_price"}]
|
||||
[{oxhasrights ident="SHOWARTICLEPRICE"}]
|
||||
[{block name="details_productmain_price_value"}]
|
||||
[{if $oDetailsProduct->getFPrice()}]
|
||||
<label id="productPrice" class="price-label">
|
||||
[{assign var="sFrom" value=""}]
|
||||
[{assign var="oPrice" value=$oDetailsProduct->getPrice()}]
|
||||
[{if $oDetailsProduct->isParentNotBuyable()}]
|
||||
[{assign var="oPrice" value=$oDetailsProduct->getVarMinPrice()}]
|
||||
[{if $oDetailsProduct->isRangePrice()}]
|
||||
[{assign var="sFrom" value="PRICE_FROM"|oxmultilangassign}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
<span[{if $oDetailsProduct->getTPrice()}] class="text-danger"[{/if}]>
|
||||
<span class="price-from">[{$sFrom}]</span>
|
||||
<span class="price">[{oxprice price=$oPrice currency=$currency}]</span>
|
||||
[{if $oView->isVatIncluded()}]
|
||||
<span class="price-markup">*</span>
|
||||
[{/if}]
|
||||
<span class="d-none">
|
||||
<span itemprop="price">[{$oPrice->getPrice()}]</span>
|
||||
<span itemprop="priceCurrency">[{$currency->name}]</span>
|
||||
</span>
|
||||
</span>
|
||||
</label>
|
||||
[{/if}]
|
||||
[{if $oDetailsProduct->loadAmountPriceInfo()}]
|
||||
[{include file="page/details/inc/priceinfo.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/oxhasrights}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tobasket">
|
||||
[{* pers params *}]
|
||||
[{block name="details_productmain_persparams"}]
|
||||
[{if $oView->isPersParam()}]
|
||||
<div class="persparamBox clear form-group">
|
||||
<label for="persistentParam" class="control-label">[{oxmultilang ident="LABEL"}]</label>
|
||||
<input type="text" id="persistentParam" name="persparam[details]" value="[{$oDetailsProduct->aPersistParam.text}]" size="35" class="form-control">
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_productmain_tobasket"}]
|
||||
<div class="tobasketFunction tobasket-function">
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{if !$oDetailsProduct->isNotBuyable()}]
|
||||
<div class="input-group tobasket-input-group">
|
||||
<input id="amountToBasket" type="text" name="am" value="1" autocomplete="off" class="form-control">
|
||||
<div class="input-group-append">
|
||||
<button id="toBasket" type="submit" [{if !$blCanBuy}]disabled="disabled"[{/if}] class="btn btn-primary submitButton" data-disabledtext="[{oxmultilang ident="TO_CART_NOVARIANT"}]"><i class="fa fa-shopping-cart"></i> [{oxmultilang ident="TO_CART"}]</button>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_productmain_stockstatus"}]
|
||||
[{if $oDetailsProduct->getStockStatus() == -1}]
|
||||
<span class="stockFlag notOnStock">
|
||||
<i class="fa fa-circle text-danger"></i>
|
||||
[{if $oDetailsProduct->oxarticles__oxnostocktext->value}]
|
||||
<link itemprop="availability" href="http://schema.org/OutOfStock"/>
|
||||
[{$oDetailsProduct->oxarticles__oxnostocktext->value}]
|
||||
[{elseif $oViewConf->getStockOffDefaultMessage()}]
|
||||
<link itemprop="availability" href="http://schema.org/OutOfStock"/>
|
||||
[{oxmultilang ident="MESSAGE_NOT_ON_STOCK"}]
|
||||
[{/if}]
|
||||
[{if $oDetailsProduct->getDeliveryDate()}]
|
||||
<link itemprop="availability" href="http://schema.org/PreOrder"/>
|
||||
[{oxmultilang ident="AVAILABLE_ON"}] [{$oDetailsProduct->getDeliveryDate()}]
|
||||
[{/if}]
|
||||
</span>
|
||||
[{elseif $oDetailsProduct->getStockStatus() == 1}]
|
||||
<link itemprop="availability" href="http://schema.org/InStock"/>
|
||||
<span class="stockFlag lowStock">
|
||||
<i class="fa fa-circle text-warning"></i> [{oxmultilang ident="LOW_STOCK"}]
|
||||
</span>
|
||||
[{elseif $oDetailsProduct->getStockStatus() == 0}]
|
||||
<span class="stockFlag">
|
||||
<link itemprop="availability" href="http://schema.org/InStock"/>
|
||||
<i class="fa fa-circle text-success"></i>
|
||||
[{if $oDetailsProduct->oxarticles__oxstocktext->value}]
|
||||
[{$oDetailsProduct->oxarticles__oxstocktext->value}]
|
||||
[{elseif $oViewConf->getStockOnDefaultMessage()}]
|
||||
[{oxmultilang ident="READY_FOR_SHIPPING"}]
|
||||
[{/if}]
|
||||
</span>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
[{if $oDetailsProduct->isBuyable()}]
|
||||
[{block name="details_productmain_deliverytime"}]
|
||||
[{include file="page/details/inc/deliverytime.tpl"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
|
||||
[{block name="details_productmain_social"}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-sm-4 col-md-3 col-lg-2 details-col-right">
|
||||
[{if $oManufacturer}]
|
||||
<div class="brandLogo">
|
||||
[{block name="details_productmain_manufacturersicon"}]
|
||||
<a href="[{$oManufacturer->getLink()}]" title="[{$oManufacturer->oxmanufacturers__oxtitle->value}]">
|
||||
[{if $oManufacturer->oxmanufacturers__oxicon->value}]
|
||||
<img src="[{$oManufacturer->getIconUrl()}]" alt="[{$oManufacturer->oxmanufacturers__oxtitle->value}]" class="img-fluid">
|
||||
[{/if}]
|
||||
</a>
|
||||
<span itemprop="brand" class="d-none">[{$oManufacturer->oxmanufacturers__oxtitle->value}]</span>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{block name="details_productmain_productlinksselector"}]
|
||||
[{block name="details_productmain_productlinks"}]
|
||||
<ul class="list-unstyled details-action-links">
|
||||
|
||||
[{if $oViewConf->getShowCompareList()}]
|
||||
<li>
|
||||
[{oxid_include_dynamic file="page/details/inc/compare_links.tpl" testid="" type="compare" aid=$oDetailsProduct->oxarticles__oxid->value anid=$oDetailsProduct->oxarticles__oxnid->value in_list=$oDetailsProduct->isOnComparisonList() page=$oView->getActPage() text_to_id="COMPARE" text_from_id="REMOVE_FROM_COMPARE_LIST"}]
|
||||
</li>
|
||||
[{/if}]
|
||||
|
||||
|
||||
[{if $oViewConf->getShowSuggest()}]
|
||||
<li>
|
||||
<a id="suggest" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=suggest" params="anid=`$oDetailsProduct->oxarticles__oxnid->value`"|cat:$oViewConf->getNavUrlParams()}]">[{oxmultilang ident="RECOMMEND"}]</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
|
||||
|
||||
[{if $oViewConf->getShowListmania()}]
|
||||
<li>
|
||||
[{if $oxcmp_user}]
|
||||
<a id="recommList" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=recommadd" params="aid=`$oDetailsProduct->oxarticles__oxnid->value`&anid=`$oDetailsProduct->oxarticles__oxnid->value`"|cat:$oViewConf->getNavUrlParams()|cat:"&stoken="|cat:$oViewConf->getSessionChallengeToken()}]">[{oxmultilang ident="ADD_TO_LISTMANIA_LIST"}]</a>
|
||||
[{else}]
|
||||
<a id="loginToRecommlist" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account" params="anid=`$oDetailsProduct->oxarticles__oxnid->value`"|cat:"&sourcecl="|cat:$oViewConf->getTopActiveClassName()|cat:$oViewConf->getNavUrlParams()}]">[{oxmultilang ident="ADD_TO_LISTMANIA_LIST"}]</a>
|
||||
[{/if}]
|
||||
</li>
|
||||
[{/if}]
|
||||
|
||||
<li>
|
||||
[{if $oxcmp_user}]
|
||||
<a id="linkToNoticeList" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getTopActiveClassName() params="aid=`$oDetailsProduct->oxarticles__oxnid->value`&anid=`$oDetailsProduct->oxarticles__oxnid->value`&fnc=tonoticelist&am=1"|cat:$oViewConf->getNavUrlParams()|cat:"&stoken="|cat:$oViewConf->getSessionChallengeToken()}]">[{oxmultilang ident="ADD_TO_WISH_LIST"}]</a>
|
||||
[{else}]
|
||||
<a id="loginToNotice" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account" params="anid=`$oDetailsProduct->oxarticles__oxnid->value`"|cat:"&sourcecl="|cat:$oViewConf->getTopActiveClassName()|cat:$oViewConf->getNavUrlParams()}]">[{oxmultilang ident="ADD_TO_WISH_LIST"}]</a>
|
||||
[{/if}]
|
||||
</li>
|
||||
|
||||
[{if $oViewConf->getShowWishlist()}]
|
||||
<li>
|
||||
[{if $oxcmp_user}]
|
||||
<a id="linkToWishList" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getTopActiveClassName() params="aid=`$oDetailsProduct->oxarticles__oxnid->value`&anid=`$oDetailsProduct->oxarticles__oxnid->value`&fnc=towishlist&am=1"|cat:$oViewConf->getNavUrlParams()|cat:"&stoken="|cat:$oViewConf->getSessionChallengeToken()}]">[{oxmultilang ident="ADD_TO_GIFT_REGISTRY"}]</a>
|
||||
[{else}]
|
||||
<a id="loginToWish" href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account" params="anid=`$oDetailsProduct->oxarticles__oxnid->value`"|cat:"&sourcecl="|cat:$oViewConf->getTopActiveClassName()|cat:$oViewConf->getNavUrlParams()}]">[{oxmultilang ident="ADD_TO_GIFT_REGISTRY"}]</a>
|
||||
[{/if}]
|
||||
</li>
|
||||
[{/if}]
|
||||
|
||||
<li>
|
||||
[{mailto extra='id="questionMail"' address=$oDetailsProduct->oxarticles__oxquestionemail->value|default:$oxcmp_shop->oxshops__oxinfoemail->value subject='QUESTIONS_ABOUT_THIS_PRODUCT'|oxmultilangassign|cat:" "|cat:$oDetailsProduct->oxarticles__oxartnum->value text='QUESTIONS_ABOUT_THIS_PRODUCT'|oxmultilangassign}]
|
||||
</li>
|
||||
</ul>
|
||||
[{/block}]
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{oxhasrights ident="TOBASKET"}]
|
||||
</form>
|
||||
[{/oxhasrights}]
|
||||
@@ -0,0 +1,35 @@
|
||||
[{block name="details_relatedproducts_also_bought"}]
|
||||
[{if $oView->getAlsoBoughtTheseProducts()}]
|
||||
[{include file="widget/product/list.tpl" type="grid" listId="alsoBought" head="CUSTOMERS_ALSO_BOUGHT"|oxmultilangassign subhead="PAGE_DETAILS_CUSTOMERS_ALSO_BOUGHT_SUBHEADER"|oxmultilangassign products=$oView->getAlsoBoughtTheseProducts()}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_relatedproducts_accessoires"}]
|
||||
[{if $oView->getAccessoires()}]
|
||||
[{capture append="oxidBlock_productbar"}]
|
||||
[{include file="widget/product/list.tpl" type="grid" listId="accessories" products=$oView->getAccessoires() head="ACCESSORIES"|oxmultilangassign subhead="WIDGET_PRODUCT_RELATED_PRODUCTS_ACCESSORIES_SUBHEADER"|oxmultilangassign}]
|
||||
[{/capture}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_relatedproducts_similarproducts"}]
|
||||
[{if $oView->getSimilarProducts()}]
|
||||
[{include file="widget/product/list.tpl" type="grid" listId="similar" products=$oView->getSimilarProducts() head="SIMILAR_PRODUCTS"|oxmultilangassign subhead="WIDGET_PRODUCT_RELATED_PRODUCTS_SIMILAR_SUBHEADER"|oxmultilangassign}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_relatedproducts_crossselling"}]
|
||||
[{if $oView->getCrossSelling()}]
|
||||
[{capture append="oxidBlock_productbar"}]
|
||||
[{include file="widget/product/list.tpl" type="grid" listId="cross" products=$oView->getCrossSelling() head="HAVE_YOU_SEEN"|oxmultilangassign subhead="WIDGET_PRODUCT_RELATED_PRODUCTS_CROSSSELING_SUBHEADER"|oxmultilangassign}]
|
||||
[{/capture}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oxidBlock_productbar}]
|
||||
<div id="relProducts" class="relatedProducts">
|
||||
[{foreach from=$oxidBlock_productbar item="_block"}]
|
||||
[{$_block}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,86 @@
|
||||
[{assign var="blFirstTab" value=true}]
|
||||
|
||||
[{block name="details_tabs_longdescription"}]
|
||||
[{oxhasrights ident="SHOWLONGDESCRIPTION"}]
|
||||
[{assign var="oLongdesc" value=$oDetailsProduct->getLongDescription()}]
|
||||
[{if $oLongdesc->value}]
|
||||
[{capture append="tabs"}]<a class="nav-link[{if $blFirstTab}] active[{/if}]" href="#description" data-toggle="tab">[{oxmultilang ident="DESCRIPTION"}]</a>[{/capture}]
|
||||
[{capture append="tabsContent"}]
|
||||
<div id="description" class="tab-pane[{if $blFirstTab}] active[{/if}]" itemprop="description">
|
||||
[{oxeval var=$oLongdesc}]
|
||||
[{if $oDetailsProduct->oxarticles__oxexturl->value}]
|
||||
<a id="productExturl" class="js-external" href="[{$oDetailsProduct->oxarticles__oxexturl->value}]">
|
||||
[{if $oDetailsProduct->oxarticles__oxurldesc->value}]
|
||||
[{$oDetailsProduct->oxarticles__oxurldesc->value}]
|
||||
[{else}]
|
||||
[{$oDetailsProduct->oxarticles__oxexturl->value}]
|
||||
[{/if}]
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{assign var="blFirstTab" value=false}]
|
||||
[{/if}]
|
||||
[{/oxhasrights}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_tabs_attributes"}]
|
||||
[{if $oView->getAttributes()}]
|
||||
[{capture append="tabs"}]<a class="nav-link[{if $blFirstTab}] active[{/if}]" href="#attributes" data-toggle="tab">[{oxmultilang ident="SPECIFICATION"}]</a>[{/capture}]
|
||||
[{capture append="tabsContent"}]
|
||||
<div id="attributes" class="tab-pane[{if $blFirstTab}] active[{/if}]">[{include file="page/details/inc/attributes.tpl"}]</div>
|
||||
[{assign var="blFirstTab" value=false}]
|
||||
[{/capture}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oViewConf->getViewThemeParam('bl_showPriceAlarm')}]
|
||||
[{block name="details_tabs_pricealarm"}]
|
||||
[{if $oView->isPriceAlarm() && !$oDetailsProduct->isParentNotBuyable()}]
|
||||
[{capture append="tabs"}]<a class="nav-link[{if $blFirstTab}] active[{/if}]" href="#pricealarm" data-toggle="tab">[{oxmultilang ident="PRICE_ALERT"}]</a>[{/capture}]
|
||||
[{capture append="tabsContent"}]
|
||||
<div id="pricealarm" class="tab-pane[{if $blFirstTab}] active[{/if}]">[{include file="form/pricealarm.tpl"}]</div>
|
||||
[{assign var="blFirstTab" value=false}]
|
||||
[{/capture}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
|
||||
[{block name="details_tabs_tags"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_tabs_media"}]
|
||||
[{if $oView->getMediaFiles() || $oDetailsProduct->oxarticles__oxfile->value}]
|
||||
[{capture append="tabs"}]<a class="nav-link[{if $blFirstTab}] active[{/if}]" href="#media" data-toggle="tab">[{oxmultilang ident="MEDIA"}]</a>[{/capture}]
|
||||
[{capture append="tabsContent"}]
|
||||
<div id="media" class="tab-pane[{if $blFirstTab}] active[{/if}]">[{include file="page/details/inc/media.tpl"}]</div>
|
||||
[{assign var="blFirstTab" value=false}]
|
||||
[{/capture}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_tabs_comments"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_tabs_invite"}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="details_tabs_main"}]
|
||||
[{if $tabs}]
|
||||
<div class="details-tabs">
|
||||
<ul class="nav nav-tabs">
|
||||
[{foreach from=$tabs item="tab" name="tabs"}]
|
||||
<li class="nav-item">[{$tab}]</li>
|
||||
[{/foreach}]
|
||||
[{block name="details_tabs_social_navigation"}][{/block}]
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
[{foreach from=$tabsContent item="tabContent" name="tabsContent"}]
|
||||
[{$tabContent}]
|
||||
[{/foreach}]
|
||||
[{block name="details_tabs_social_content"}][{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value=$oView->getTitle()}]
|
||||
<h1 class="page-header">[{$oView->getTitle()}]</h1>
|
||||
<div class="cmsContent">
|
||||
<p>
|
||||
[{oxifcontent ident="oxcookiesexplanation" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
</p>
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
58
shop/source/Application/views/wave/tpl/page/info/contact.tpl
Normal file
58
shop/source/Application/views/wave/tpl/page/info/contact.tpl
Normal file
@@ -0,0 +1,58 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{if $oView->getContactSendStatus()}]
|
||||
[{assign var="_statusMessage" value="PAGE_DETAILS_THANKYOUMESSAGE1"|oxmultilangassign|cat:" "|cat:$oxcmp_shop->oxshops__oxname->value}]
|
||||
[{assign var="_statusMessageSuffix" value="PAGE_DETAILS_THANKYOUMESSAGE2"|oxmultilangassign}]
|
||||
[{include file="message/notice.tpl" statusMessage=$_statusMessage|cat:$_statusMessageSuffix}]
|
||||
[{/if}]
|
||||
<h1 class="page-header">[{oxmultilang ident="DD_CONTACT_PAGE_HEADING"}]</h1>
|
||||
|
||||
[{assign var="sGoogleMapsAddr" value=$oViewConf->getViewThemeParam('sGoogleMapsAddr')}]
|
||||
[{if $sGoogleMapsAddr}]
|
||||
[{*oxscript include="js/libs/pages/contact.min.js" priority=10*}]
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="google-maps">
|
||||
<figure>
|
||||
<iframe width="100%" height="400" style="width:100%;" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.de/maps?t=m&q=[{$sGoogleMapsAddr|urlencode}]&ie=UTF8&hq=[{$sGoogleMapsAddr|urlencode}]&output=embed"></iframe>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-3 pull-right">
|
||||
<h2 class="page-header">[{oxmultilang ident="ADDRESS"}]</h2>
|
||||
<div itemscope itemtype="http://schema.org/Organization">
|
||||
<address>
|
||||
<strong itemprop="name">[{$oxcmp_shop->oxshops__oxcompany->value}]</strong><br>
|
||||
<span class="d-block" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
|
||||
<span itemprop="streetAddress">[{$oxcmp_shop->oxshops__oxstreet->value}]</span><br>
|
||||
<span itemprop="postalCode">[{$oxcmp_shop->oxshops__oxzip->value}]</span> [{$oxcmp_shop->oxshops__oxcity->value}]<br>
|
||||
[{$oxcmp_shop->oxshops__oxcountry->value}]<br>
|
||||
<span class="hidden" itemprop="addressLocality">[{$oxcmp_shop->oxshops__oxcity->value}], [{$oxcmp_shop->oxshops__oxcountry->value}]</span>
|
||||
</span>
|
||||
[{if $oxcmp_shop->oxshops__oxtelefon->value}]
|
||||
<strong>[{oxmultilang ident="PHONE" suffix="COLON"}]</strong> <span itemprop="telephone">[{$oxcmp_shop->oxshops__oxtelefon->value}]</span><br>
|
||||
[{/if}]
|
||||
[{if $oxcmp_shop->oxshops__oxtelefax->value}]
|
||||
<strong>[{oxmultilang ident="FAX" suffix="COLON"}]</strong> <span itemprop="faxNumber">[{$oxcmp_shop->oxshops__oxtelefax->value}]</span><br>
|
||||
[{/if}]
|
||||
[{if $oxcmp_shop->oxshops__oxinfoemail->value}]
|
||||
<strong>[{oxmultilang ident="EMAIL" suffix="COLON"}]</strong> <span itemprop="email">[{oxmailto address=$oxcmp_shop->oxshops__oxinfoemail->value}]</span><br>
|
||||
[{/if}]
|
||||
<span class="hidden" itemprop="url">[{$oViewConf->getHomeLink()}]</span>
|
||||
</address>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-9">
|
||||
<h2 class="page-header">[{oxmultilang ident="DD_CONTACT_FORM_HEADING"}]</h2>
|
||||
[{include file="form/contact.tpl"}]
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
14
shop/source/Application/views/wave/tpl/page/info/content.tpl
Normal file
14
shop/source/Application/views/wave/tpl/page/info/content.tpl
Normal file
@@ -0,0 +1,14 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="oContent" value=$oView->getContent()}]
|
||||
[{assign var="tpl" value=$oViewConf->getActTplName()}]
|
||||
[{assign var="oxloadid" value=$oViewConf->getActContentLoadId()}]
|
||||
[{assign var="template_title" value=$oView->getTitle()}]
|
||||
|
||||
<h1 class="page-header">[{$template_title}]</h1>
|
||||
<article class="cmsContent">
|
||||
[{$oView->getParsedContent()}]
|
||||
</article>
|
||||
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,10 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="oContent" value=$oView->getContent()}]
|
||||
[{assign var="template_title" value=$oView->getTitle()}]
|
||||
[{assign var="tpl" value=$oViewConf->getActTplName()}]
|
||||
[{assign var="oxloadid" value=$oViewConf->getActContentLoadId()}]
|
||||
<h1 class="page-header">[{$template_title}]</h1>
|
||||
[{$oView->getParsedContent()}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
24
shop/source/Application/views/wave/tpl/page/info/links.tpl
Normal file
24
shop/source/Application/views/wave/tpl/page/info/links.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="LINKS"|oxmultilangassign}]
|
||||
<h1 class="page-header">[{oxmultilang ident="LINKS"}]</h1>
|
||||
|
||||
[{assign var="aLinkList" value=$oView->getLinksList()}]
|
||||
[{if $aLinkList|@count > 0}]
|
||||
<ul class="list-unstyled">
|
||||
[{foreach from=$oView->getLinksList() item=link name=linksList}]
|
||||
<li>
|
||||
<h2>
|
||||
<a href="[{$link->oxlinks__oxurl->value}]" target="_blank">[{$link->oxlinks__oxurl->value}]</a>
|
||||
<small>– [{$link->oxlinks__oxinsert->value|date_format:"%d.%m.%Y"}]</small>
|
||||
</h2>
|
||||
<article>[{$link->oxlinks__oxurldesc->value}]</article>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="DD_LINKS_NO_ENTRIES"}]</p>
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
24
shop/source/Application/views/wave/tpl/page/info/news.tpl
Normal file
24
shop/source/Application/views/wave/tpl/page/info/news.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="template_title" value="LATEST_NEWS_AND_UPDATES_AT"|oxmultilangassign}]
|
||||
<div>
|
||||
[{assign var="oNews" value=$oView->getNews()}]
|
||||
<h1 class="page-header">[{oxmultilang ident="LATEST_NEWS_AND_UPDATES_AT"}] [{$oxcmp_shop->oxshops__oxname->value}]</h1>
|
||||
<div class="listRefine clear bottomRound">
|
||||
</div>
|
||||
[{foreach from=$oNews item=oNews}]
|
||||
[{if !empty($oNews) && !empty($oNews->oxnews__oxshortdesc->value)}]
|
||||
<div>
|
||||
<h3>
|
||||
<span>[{$oNews->oxnews__oxdate->value|date_format:"%d.%m.%Y"}] - </span> [{$oNews->oxnews__oxshortdesc->value}]
|
||||
</h3>
|
||||
[{$oNews->getLongDesc() force=1}]
|
||||
</div>
|
||||
[{else}]
|
||||
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,39 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
[{if $oView->getNewsletterStatus() == 4 || !$oView->getNewsletterStatus()}]
|
||||
<h1 class="page-header">[{oxmultilang ident="STAY_INFORMED"}]</h1>
|
||||
<div class="row">
|
||||
<div class="col-lg-7">
|
||||
<article>
|
||||
[{oxifcontent ident="oxnewstlerinfo" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
</article>
|
||||
</div>
|
||||
<div class="col-lg-5"></div>
|
||||
</div>
|
||||
|
||||
[{include file="form/newsletter.tpl"}]
|
||||
[{elseif $oView->getNewsletterStatus() == 1}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MESSAGE_THANKYOU_FOR_SUBSCRIBING_NEWSLETTERS"}]</h1>
|
||||
<article>
|
||||
<p>[{oxmultilang ident="MESSAGE_SENT_CONFIRMATION_EMAIL"}]</p>
|
||||
</article>
|
||||
[{elseif $oView->getNewsletterStatus() == 2}]
|
||||
<h1 class="page-header">[{oxmultilang ident="MESSAGE_NEWSLETTER_CONGRATULATIONS"}]</h1>
|
||||
<article>
|
||||
<p>[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION_ACTIVATED"}]</p>
|
||||
</article>
|
||||
[{elseif $oView->getNewsletterStatus() == 3}]
|
||||
<h1 class="page-header">[{oxmultilang ident="SUCCESS"}]</h1>
|
||||
<article>
|
||||
<p>[{oxmultilang ident="MESSAGE_NEWSLETTER_SUBSCRIPTION_CANCELED"}]</p>
|
||||
</article>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
16
shop/source/Application/views/wave/tpl/page/info/suggest.tpl
Normal file
16
shop/source/Application/views/wave/tpl/page/info/suggest.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<h1 class="page-header">[{$oView->getTitle()}]</h1>
|
||||
|
||||
<ol>
|
||||
<li>[{oxmultilang ident="MESSAGE_ENTER_YOUR_ADDRESS_AND_MESSAGE"}]</li>
|
||||
<li>[{oxmultilang ident="MESSAGE_RECOMMEND_CLICK_ON_SEND"}]</li>
|
||||
</ol>
|
||||
|
||||
[{oxifcontent ident="oxsecurityinfo" object="oCont"}]
|
||||
<p>[{oxmultilang ident="MESSAGE_READ_DETAILS"}] <a href="[{$oCont->getLink()}]">[{$oCont->oxcontents__oxtitle->value}]</a></p>
|
||||
[{/oxifcontent}]
|
||||
|
||||
[{include file="form/suggest.tpl"}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Right"}]
|
||||
144
shop/source/Application/views/wave/tpl/page/list/list.tpl
Normal file
144
shop/source/Application/views/wave/tpl/page/list/list.tpl
Normal file
@@ -0,0 +1,144 @@
|
||||
[{assign var="actCategory" value=$oView->getActiveCategory()}]
|
||||
|
||||
[{capture append="oxidBlock_sidebar"}]
|
||||
[{assign var="listType" value=$oView->getListType()}]
|
||||
[{if $listType=='manufacturer' || $listType=='vendor'}]
|
||||
[{if $actCategory && $actCategory->getIconUrl()}]
|
||||
<div class="box">
|
||||
<h3>
|
||||
[{if $listType=='manufacturer'}]
|
||||
[{oxmultilang ident="BRAND"}]
|
||||
[{elseif $listType=='vendor'}]
|
||||
[{oxmultilang ident="VENDOR"}]
|
||||
[{/if}]
|
||||
</h3>
|
||||
<div class="featured icon">
|
||||
<img src="[{$oViewConf->getImageUrl('spinner.gif')}]" data-src="[{$actCategory->getIconUrl()}]" alt="[{$actCategory->getTitle()}]">
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{block name="page_list_listhead"}]
|
||||
[{if $actCategory->oxcategories__oxthumb->value && $actCategory->getThumbUrl()}]
|
||||
<img src="[{$oViewConf->getImageUrl('spinner.gif')}]" data-src="[{$actCategory->getThumbUrl()}]" alt="[{$actCategory->oxcategories__oxtitle->value}]" class="categoryPicture img-fluid img-thumbnail">
|
||||
[{/if}]
|
||||
|
||||
<div class="page-header">
|
||||
[{assign var='rsslinks' value=$oView->getRssLinks()}]
|
||||
<h1 class="h1">
|
||||
[{$oView->getTitle()}]
|
||||
[{if $rsslinks.activeCategory}]
|
||||
<a class="rss" id="rssActiveCategory" aria-label="RSS Current Category" href="[{$rsslinks.activeCategory.link}]" title="[{$rsslinks.activeCategory.title}]" target="_blank">
|
||||
<i class="fas fa-rss"></i>
|
||||
</a>
|
||||
[{/if}]
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
[{assign var="oPageNavigation" value=$oView->getPageNavigation()}]
|
||||
[{if $actCategory && $actCategory->getShortDescription() && $oPageNavigation->actPage == 1}]
|
||||
<p id="catDescLocator" class="categoryDescription">
|
||||
<em>[{$actCategory->oxcategories__oxdesc->rawValue}]</em>
|
||||
</p>
|
||||
[{/if}]
|
||||
|
||||
[{if $actCategory->oxcategories__oxlongdesc->value && $oPageNavigation->actPage == 1}]
|
||||
<div id="catLongDescLocator" class="categoryDescription">[{oxeval var=$actCategory->oxcategories__oxlongdesc}]</div>
|
||||
<hr/>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->hasVisibleSubCats()}]
|
||||
[{assign var="iSubCategoriesCount" value=0}]
|
||||
<div class="subcatList">
|
||||
<div class="row">
|
||||
[{foreach from=$oView->getSubCatList() item=category name=MoreSubCat}]
|
||||
[{if $category->getContentCats()}]
|
||||
[{foreach from=$category->getContentCats() item=ocont name=MoreCms}]
|
||||
[{assign var="iSubCategoriesCount" value=$iSubCategoriesCount+1}]
|
||||
<div class="box">
|
||||
<h3>
|
||||
<a id="moreSubCms_[{$smarty.foreach.MoreSubCat.iteration}]_[{$smarty.foreach.MoreCms.iteration}]" href="[{$ocont->getLink()}]">[{$ocont->oxcontents__oxtitle->value}]</a>
|
||||
</h3>
|
||||
<ul class="content"></ul>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{if $iSubCategoriesCount%4 == 0 and $iSubCategoriesCount neq 0}]
|
||||
</div><div class="row">
|
||||
[{/if}]
|
||||
[{if $category->getIsVisible()}]
|
||||
[{assign var="iSubCategoriesCount" value=$iSubCategoriesCount+1}]
|
||||
[{assign var="iconUrl" value=$category->getIconUrl()}]
|
||||
<div class="col-12 col-sm-3">
|
||||
<div class="card-wrapper">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<a id="moreSubCat_[{$smarty.foreach.MoreSubCat.iteration}]" href="[{$category->getLink()}]">[{$category->oxcategories__oxtitle->value}]</a>[{if $oView->showCategoryArticlesCount() && ($category->getNrOfArticles() > 0)}] ([{$category->getNrOfArticles()}])[{/if}]
|
||||
</div>
|
||||
<div class="card-body">
|
||||
[{if $iconUrl}]
|
||||
<a href="[{$category->getLink()}]">
|
||||
<img src="[{$oViewConf->getImageUrl('spinner.gif')}]" data-src="[{$category->getIconUrl()}]" alt="[{$category->oxcategories__oxtitle->value}]" class="img-fluid subcat-icon">
|
||||
</a>
|
||||
[{else}]
|
||||
<a href="[{$category->getLink()}]" class="btn btn-block btn-info">[{oxmultilang ident="DD_LIST_SHOW_MORE" suffix="ELLIPSIS"}]</a>
|
||||
[{/if}]
|
||||
|
||||
[{if $category->getHasVisibleSubCats()}]
|
||||
<hr/>
|
||||
<ul class="list-unstyled">
|
||||
[{foreach from=$category->getSubCats() item=subcategory}]
|
||||
[{if $subcategory->getIsVisible()}]
|
||||
[{foreach from=$subcategory->getContentCats() item=ocont name=MoreCms}]
|
||||
<li>
|
||||
<a href="[{$ocont->getLink()}]"><strong>[{$ocont->oxcontents__oxtitle->value}]</strong></a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
<li>
|
||||
<a href="[{$subcategory->getLink()}]">[{$subcategory->oxcategories__oxtitle->value}]</a>[{if $oView->showCategoryArticlesCount() && ($subcategory->getNrOfArticles() > 0)}] ([{$subcategory->getNrOfArticles()}])[{/if}]
|
||||
</li>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $iSubCategoriesCount%4 == 0}]
|
||||
</div>
|
||||
<div class="row">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="page_list_listbody"}]
|
||||
[{if $oView->getArticleList()}]
|
||||
[{if $oView->getArticleList()|count}]
|
||||
[{block name="page_list_upperlocator"}]
|
||||
<div class="listRefine">
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigationLimitedTop() attributes=$oView->getAttributes() listDisplayType=true itemsPerPage=true sort=true}]
|
||||
</div>
|
||||
[{/block}]
|
||||
|
||||
[{* List types: grid|line|infogrid *}]
|
||||
[{block name="page_list_productlist"}]
|
||||
[{include file="widget/product/list.tpl" type=$oView->getListDisplayType() listId="productList" products=$oView->getArticleList()}]
|
||||
[{/block}]
|
||||
[{block name="page_list_bottomlocator"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigationLimitedBottom() place="bottom"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" tree_path=$oView->getTreePath()}]
|
||||
@@ -0,0 +1,97 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<h1 class="page-header">[{oxmultilang ident="CATEGORY_OVERVIEW"}]</h1>
|
||||
|
||||
[{assign var="_navcategorytree" value=$oView->getCategoryTree()}]
|
||||
[{assign var="_iCategoriesPerRow" value=3}]
|
||||
[{assign var="iSubCategoriesCount" value=0}]
|
||||
[{if $_navcategorytree|count}]
|
||||
[{oxscript include="js/widgets/oxequalizer.min.js" priority=10}]
|
||||
[{oxscript add="$(window).on('load', function(){ if( !isMobileDevice() ) { oxEqualizer.equalHeight( $( '.subcatList .row .panel' ) ); } });"}]
|
||||
<div class="subcatList">
|
||||
<div class="row">
|
||||
[{foreach from=$_navcategorytree item=category name=MoreSubCat}]
|
||||
[{* TOP categories *}]
|
||||
[{if $category->getIsVisible()}]
|
||||
[{* CMS top categories *}]
|
||||
[{if $category->getContentCats()}]
|
||||
[{foreach from=$category->getContentCats() item=ocont name=MoreCms}]
|
||||
[{assign var="iSubCategoriesCount" value=$iSubCategoriesCount+1}]
|
||||
<div class="box">
|
||||
<h3>
|
||||
<a id="moreSubCms_[{$smarty.foreach.MoreSubCat.iteration}]_[{$smarty.foreach.MoreCms.iteration}]" href="[{$ocont->getLink()}]">[{$ocont->oxcontents__oxtitle->value}]</a>
|
||||
</h3>
|
||||
<ul class="content"></ul>
|
||||
</div>
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{if $iSubCategoriesCount%$_iCategoriesPerRow == 0}]
|
||||
</div><div class="row">
|
||||
[{/if}]
|
||||
[{assign var="iSubCategoriesCount" value=$iSubCategoriesCount+1}]
|
||||
[{assign var="iconUrl" value=$category->getIconUrl()}]
|
||||
<div class="col-12 col-sm-6 col-md-4">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
<a id="moreSubCat_[{$smarty.foreach.MoreSubCat.iteration}]" href="[{$category->getLink()}]">
|
||||
[{$category->oxcategories__oxtitle->value}][{if $oView->showCategoryArticlesCount() && ($category->getNrOfArticles() > 0)}] ([{$category->getNrOfArticles()}])[{/if}]
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
[{* Top categories subcategories *}]
|
||||
[{if $category->getHasVisibleSubCats()}]
|
||||
<div class="card-body">
|
||||
[{if $iconUrl}]
|
||||
<div class="text-center">
|
||||
<a href="[{$category->getLink()}]">
|
||||
<img src="[{$category->getIconUrl()}]" alt="[{$category->oxcategories__oxtitle->value}]" class="img-thumbnail" height="100" width="168">
|
||||
</a>
|
||||
</div>
|
||||
[{/if}]
|
||||
<ul class="content">
|
||||
[{foreach from=$category->getSubCats() item=subcategory}]
|
||||
[{if $subcategory->getIsVisible()}]
|
||||
[{* CMS subcategories *}]
|
||||
[{foreach from=$subcategory->getContentCats() item=ocont name=MoreCms}]
|
||||
<li>
|
||||
<a href="[{$ocont->getLink()}]"><strong>[{$ocont->oxcontents__oxtitle->value}]</strong></a>
|
||||
</li>
|
||||
[{/foreach}]
|
||||
<li>
|
||||
<a href="[{$subcategory->getLink()}]">
|
||||
<strong>[{$subcategory->oxcategories__oxtitle->value}]</strong>[{if $oView->showCategoryArticlesCount() && ($subcategory->getNrOfArticles() > 0)}] ([{$subcategory->getNrOfArticles()}])[{/if}]
|
||||
</a>
|
||||
</li>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
</div>
|
||||
[{elseif $iconUrl}]
|
||||
<div class="card-body catPicOnly">
|
||||
<div class="subcatPic text-center">
|
||||
[{if $iconUrl}]
|
||||
<a href="[{$category->getLink()}]">
|
||||
<img src="[{$category->getIconUrl()}]" alt="[{$category->oxcategories__oxtitle->value}]" class="img-thumbnail" height="100" width="168">
|
||||
</a>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{else}]
|
||||
<div class="content"></div>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{if $iSubCategoriesCount%$_iCategoriesPerRow == 0}]
|
||||
</div>
|
||||
<div class="row">
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
|
||||
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,17 @@
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<h1 class="page-header">[{$oView->getTitle()}]</h1>
|
||||
[{if !$oView->getInviteSendStatus()}]
|
||||
<ul>
|
||||
<li>[{ oxmultilang ident="MESSAGE_INVITE_YOUR_FRIENDS" }]</li>
|
||||
<li>[{ oxmultilang ident="MESSAGE_INVITE_YOUR_FRIENDS_EMAIL" }]</li>
|
||||
</ul>
|
||||
[{oxifcontent ident="oxsecurityinfo" object="oCont"}]
|
||||
<p>[{ oxmultilang ident="MESSAGE_READ_DETAILS" }] <a href="[{$oCont->getLink()}]" rel="nofollow">[{ $oCont->oxcontents__oxtitle->value }]</a></p>
|
||||
[{/oxifcontent}]
|
||||
[{include file="form/privatesales/invite.tpl"}]
|
||||
[{else}]
|
||||
[{ oxmultilang ident="MESSAGE_INVITE_YOUR_FRIENDS_INVITATION_SENT" }]<br><br>
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,26 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
[{oxid_include_widget cl="oxwCookieNote" _parent=$oView->getClassName() nocookie=1}]
|
||||
[{/capture}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="accountLoginView" style="margin-top: 25px;">
|
||||
|
||||
[{block name="dd_layout_page_header_logo"}]
|
||||
[{assign var="slogoImg" value=$oViewConf->getViewThemeParam('sLogoFile')}]
|
||||
[{assign var="sLogoWidth" value=$oViewConf->getViewThemeParam('sLogoWidth')}]
|
||||
[{assign var="sLogoHeight" value=$oViewConf->getViewThemeParam('sLogoHeight')}]
|
||||
<a href="[{$oViewConf->getHomeLink()}]" title="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]">
|
||||
<img src="[{$oViewConf->getImageUrl($slogoImg)}]" alt="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]" style="[{if $sLogoWidth}]width:auto;max-width:[{$sLogoWidth}]px;[{/if}][{if $sLogoHeight}]height:auto;max-height:[{$sLogoHeight}]px;[{/if}]">
|
||||
</a>
|
||||
[{/block}]
|
||||
|
||||
<h1 id="loginAccount" class="page-header">[{$oView->getTitle()}]</h1>
|
||||
[{if $oView->confirmTerms()}]
|
||||
[{include file="form/privatesales/accept_terms.tpl"}]
|
||||
[{else}]
|
||||
[{include file="widget/header/languages.tpl"}]
|
||||
[{include file="message/errors.tpl"}]
|
||||
[{include file="form/login_account.tpl"}]
|
||||
[{/if}]
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="layout/popup.tpl"}]
|
||||
@@ -0,0 +1,46 @@
|
||||
[{assign var="searchrecomm" value=$oView->getRecommSearch()}]
|
||||
[{if $oView->getRecommLists()|@count gt 0}]
|
||||
<ul class="list-unstyled listmania-list" id="recommendationsLists">
|
||||
[{foreach from=$oView->getRecommLists() item=recommlist name="testRecList"}]
|
||||
[{block name="redommendations_list_content"}]
|
||||
<li>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
[{assign var="editclass" value=$oViewConf->getActiveClassName()}]
|
||||
[{if $blEdit}]
|
||||
[{assign var="editclass" value="account_recommlist&fnc=editList"}]
|
||||
[{/if}]
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=`$editclass`" params="recommid=`$recommlist->oxrecommlists__oxid->value`&searchrecomm=`$searchrecomm`"}]" class="lead" title="[{$recommlist->oxrecommlists__oxtitle->value}]">[{$recommlist->oxrecommlists__oxtitle->value}]</a>
|
||||
[{if $blEdit}]
|
||||
<div class="listmania-buttons float-right">
|
||||
<form action="[{$oViewConf->getSelfActionLink()}]" method="post" class="form-inline pull-right">
|
||||
<div class="hidden">
|
||||
[{$oViewConf->getHiddenSid()}]
|
||||
<input type="hidden" name="cl" value="account_recommlist">
|
||||
<input type="hidden" name="fnc" value="editList">
|
||||
<input type="hidden" name="recommid" value="[{$recommlist->getId()}]">
|
||||
</div>
|
||||
<button class="btn btn-warning btn-sm hasTooltip" type="submit" name="editList" title="[{oxmultilang ident="EDIT"}]">
|
||||
<i class="fas fa-pencil-alt"></i>
|
||||
</button>
|
||||
<button class="btn btn-danger btn-sm hasTooltip" type="submit" name="deleteList" value="1" title="[{oxmultilang ident="REMOVE"}]">
|
||||
<i class="fa fa-times"></i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
[{/if}]
|
||||
<small class="text-muted">[{oxmultilang ident="LIST_BY"}] <strong>[{$recommlist->oxrecommlists__oxauthor->value}]</strong></small>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="card-body">[{$recommlist->oxrecommlists__oxdesc->value}]</div>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
[{/block}]
|
||||
[{/foreach}]
|
||||
</ul>
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="NO_LISTMANIA_LIST_FOUND"}]</p>
|
||||
[{/if}]
|
||||
@@ -0,0 +1,57 @@
|
||||
[{*[{oxscript add="$('a.js-external').attr('target', '_blank');"}]*}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{if $oView->getActiveRecommList()}]
|
||||
[{assign var="_actvrecommlist" value=$oView->getActiveRecommList()}]
|
||||
[{assign var="recommendation_head" value="LIST_BY"|oxmultilangassign}]
|
||||
[{assign var="recommendation_head" value=$_actvrecommlist->oxrecommlists__oxtitle->value|cat:" <span>("|cat:$recommendation_head|cat:" "|cat:$_actvrecommlist->oxrecommlists__oxauthor->value|cat:")</span>"}]
|
||||
[{assign var="rsslinks" value=$oView->getRssLinks()}]
|
||||
<h1 class="page-header">[{$recommendation_head}]
|
||||
|
||||
[{assign var='rsslinks' value=$oView->getRssLinks()}]
|
||||
|
||||
[{if $rsslinks.recommlistarts}]
|
||||
<a class="rss js-external" id="rssRecommListProducts" href="[{$rsslinks.recommlistarts.link}]" title="[{$rsslinks.recommlistarts.title}]">
|
||||
<img src="[{$oViewConf->getImageUrl('rss.png')}]" alt="[{$rsslinks.recommlistarts.title}]">
|
||||
<span class="FXgradOrange corners glowShadow">[{$rsslinks.recommlistarts.title}]</span>
|
||||
</a>
|
||||
[{/if}]
|
||||
|
||||
</h1>
|
||||
<div class="listRefine clear bottomRound">
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation()}]
|
||||
</div>
|
||||
|
||||
[{block name="recommendations_desc"}]
|
||||
<div>
|
||||
<div class="clear">
|
||||
<div>
|
||||
[{$_actvrecommlist->oxrecommlists__oxdesc->value}]
|
||||
</div>
|
||||
[{if $oView->isReviewActive()}]
|
||||
<div class="rating clear">
|
||||
[{include file="widget/reviews/rating.tpl" itemid="recommid="|cat:$_actvrecommlist->getId() sRateUrl=$oViewConf->getSelfLink()|cat:"cl=recommlist"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
</div>
|
||||
</div>
|
||||
[{/block}]
|
||||
[{* List types: grid|line *}]
|
||||
[{include file="widget/product/list.tpl" type="line" listId="productList" products=$oView->getArticleList() recommid=$_actvrecommlist->getId()}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigation() place="bottom"}]
|
||||
[{if $oView->isReviewActive()}]
|
||||
<div class="widgetBox reviews">
|
||||
<h4>[{oxmultilang ident="WRITE_PRODUCT_REVIEW"}]</h4>
|
||||
[{include file="widget/reviews/reviews.tpl"}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{else}]
|
||||
|
||||
[{assign var="hitsfor" value="HITS_FOR"|oxmultilangassign}]
|
||||
[{assign var="recommendation_head" value=$oView->getArticleCount()|cat:" "|cat:$hitsfor|cat:" ""|cat:$oView->getSearchForHtml()|cat:"""}]
|
||||
|
||||
<h1 class="page-header">[{$recommendation_head}]</h1>
|
||||
[{include file="page/recommendations/inc/list.tpl"}]
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
@@ -0,0 +1,26 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
|
||||
[{if $oView->getProduct()}]
|
||||
[{assign var="product" value=$oView->getProduct()}]
|
||||
[{assign var="_productLink" value=$product->getLink()}]
|
||||
|
||||
<div class="list-container" id="[{$listId}]">
|
||||
<div class="row lineView newItems">
|
||||
[{block name="widget_product_listitem_line_picturebox"}]
|
||||
<div class="productData col-12 productBox">
|
||||
[{oxid_include_widget cl="oxwArticleBox" _parent=$oView->getClassName() nocookie=1 iLinkType=$product->getLinkType() _object=$product anid=$product->getId() sWidgetType="product" sListType="listitem_line" iIndex="list_1" blDisableToCart=true isVatIncluded=$oView->isVatIncluded() showMainLink=true toBasketFunction=false removeFunction=false skipESIforUser=1}]
|
||||
</div>
|
||||
[{/block}]
|
||||
</div>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{if $oView->isReviewActive()}]
|
||||
<div class="widgetBox reviews">
|
||||
<h4>[{oxmultilang ident="WRITE_PRODUCT_REVIEW"}]</h4>
|
||||
[{include file="widget/reviews/reviews.tpl" sReviewUserHash=$oView->getReviewUserHash() oDetailsProduct=$oView->getProduct() oReviewUser=$oView->getReviewUser()}]
|
||||
</div>
|
||||
[{/if}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[{assign var="template_title" value="LOGIN"|oxmultilangassign}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
<div class="accountLoginView">
|
||||
<h1 id="loginAccount" class="page-header">[{oxmultilang ident="LOGIN"}]</h1>
|
||||
<p>[{oxmultilang ident="MESSAGE_LOGIN_TO_WRITE_REVIEW"}]</p>
|
||||
|
||||
[{include file="form/login_account.tpl"}]
|
||||
</div>
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,42 @@
|
||||
[{*[{oxscript add="$('a.js-external').attr('target', '_blank');"}]*}]
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="search_title" value="SEARCH"|oxmultilangassign}]
|
||||
[{assign var="searchparamforhtml" value=$oView->getSearchParamForHtml()}]
|
||||
[{assign var="template_title" value="$search_title - $searchparamforhtml"}]
|
||||
[{assign var="search_head" value="HITS_FOR"|oxmultilangassign}]
|
||||
[{assign var="search_head" value=$oView->getArticleCount()|cat:" "|cat:$search_head|cat:" ""|cat:$oView->getSearchParamForHtml()|cat:"""}]
|
||||
|
||||
|
||||
<div class="page-header">
|
||||
[{block name="search_header"}]
|
||||
<h1 class="float-left">[{$search_head}]</h1>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
[{/block}]
|
||||
</div>
|
||||
[{block name="search_results"}]
|
||||
[{if $oView->getArticleCount()}]
|
||||
<div class="listRefine clear bottomRound">
|
||||
[{block name="search_top_listlocator"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigationLimitedTop() listDisplayType=true itemsPerPage=true sort=true}]
|
||||
[{/block}]
|
||||
</div>
|
||||
[{else}]
|
||||
<p class="alert alert-info">[{oxmultilang ident="NO_ITEMS_FOUND"}]</p>
|
||||
[{/if}]
|
||||
[{if $oView->getArticleList()}]
|
||||
[{foreach from=$oView->getArticleList() name=search item=product}]
|
||||
[{include file="widget/product/list.tpl" type=$oView->getListDisplayType() listId="searchList" products=$oView->getArticleList() showMainLink=true}]
|
||||
[{/foreach}]
|
||||
[{/if}]
|
||||
[{if $oView->getArticleCount()}]
|
||||
[{block name="search_bottom_listlocator"}]
|
||||
[{include file="widget/locator/listlocator.tpl" locator=$oView->getPageNavigationLimitedBottom() place="bottom"}]
|
||||
[{/block}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
[{insert name="oxid_tracker" title=$template_title}]
|
||||
[{/capture}]
|
||||
[{assign var="template_title" value="SEARCH"|oxmultilangassign}]
|
||||
|
||||
[{include file="layout/page.tpl" title=$template_title location="SEARCH"|oxmultilangassign}]
|
||||
@@ -0,0 +1,44 @@
|
||||
[{capture append="oxidBlock_pageBody"}]
|
||||
|
||||
<div id="page">
|
||||
<div id="header" class="clear">
|
||||
[{include file="widget/header/languages.tpl"}]
|
||||
<div><a id="logo" href="[{$oViewConf->getHomeLink()}]" title="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]"><img src="[{$oViewConf->getImageUrl('logo.png')}]" alt="[{$oxcmp_shop->oxshops__oxtitleprefix->value}]"></a></div>
|
||||
</div>
|
||||
<div>
|
||||
[{oxifcontent ident="oxstartwelcome" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
<div>
|
||||
[{oxmultilang ident="PLEASE_CHOOSE"}]
|
||||
<br>
|
||||
<br>
|
||||
[{assign var="shoplinks" value=$oView->getShopLinks()}]
|
||||
[{assign var="shoplangs" value=$oView->getShopDefaultLangs()}]
|
||||
[{foreach from=$oView->getShopList() item=mallshop key=shopid}]
|
||||
[{if $shoplinks.$shopid}]
|
||||
<a href="[{$shoplinks.$shopid}]">[{$mallshop->oxshops__oxname->value}]</a><br>
|
||||
[{else}]
|
||||
<a href="[{oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=mallstart" params="fnc=chshp&shp=`$mallshop->oxshops__oxid->value`&lang=`$shoplangs.$shopid`"}]" >[{$mallshop->oxshops__oxname->value}]</a><br>
|
||||
[{/if}]
|
||||
[{/foreach}]
|
||||
</div>
|
||||
[{if $oView->isDemoShop()}]
|
||||
<a id="demoAdminLink" href="[{$oViewConf->getBaseDir()}]admin/"><img src="[{$oViewConf->getImageUrl('admin_start.jpg')}]"></a>
|
||||
[{/if}]
|
||||
</div>
|
||||
|
||||
|
||||
<div id="footer">
|
||||
<div class="copyright">
|
||||
<img src="[{$oViewConf->getImageUrl('logo_small.png')}]" alt="[{oxmultilang ident="OXID_ESALES_URL_TITLE"}]">
|
||||
</div>
|
||||
<div class="text">
|
||||
[{oxifcontent ident="oxstdfooter" object="oCont"}]
|
||||
[{$oCont->oxcontents__oxcontent->value}]
|
||||
[{/oxifcontent}]
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[{/capture}]
|
||||
[{include file="layout/base.tpl"}]
|
||||
47
shop/source/Application/views/wave/tpl/page/shop/start.tpl
Normal file
47
shop/source/Application/views/wave/tpl/page/shop/start.tpl
Normal file
@@ -0,0 +1,47 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="oConfig" value=$oViewConf->getConfig()}]
|
||||
[{assign var='rsslinks' value=$oView->getRssLinks()}]
|
||||
|
||||
[{block name="start_welcome_text"}]
|
||||
[{oxifcontent ident="oxstartwelcome" object="oCont"}]
|
||||
<div class="welcome-teaser">[{$oCont->oxcontents__oxcontent->value}]</div>
|
||||
[{/oxifcontent}]
|
||||
[{/block}]
|
||||
|
||||
[{assign var="oTopArticles" value=$oView->getTop5ArticleList()}]
|
||||
|
||||
[{block name="start_bargain_articles"}]
|
||||
[{assign var="oBargainArticles" value=$oView->getBargainArticleList()}]
|
||||
[{if $oBargainArticles && $oBargainArticles->count()}]
|
||||
[{include file="widget/product/list.tpl" type=$oViewConf->getViewThemeParam('sStartPageListDisplayType') head="START_BARGAIN_HEADER"|oxmultilangassign subhead="START_BARGAIN_SUBHEADER"|oxmultilangassign listId="bargainItems" products=$oBargainArticles rsslink=$rsslinks.bargainArticles rssId="rssBargainProducts" showMainLink=true iProductsPerLine=4}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="start_manufacturer_slider"}]
|
||||
[{if $oViewConf->getViewThemeParam('bl_showManufacturerSlider')}]
|
||||
[{include file="widget/manufacturersslider.tpl"}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{block name="start_newest_articles"}]
|
||||
[{assign var="oNewestArticles" value=$oView->getNewestArticles()}]
|
||||
[{if $oNewestArticles && $oNewestArticles->count()}]
|
||||
[{include file="widget/product/list.tpl" type=$oViewConf->getViewThemeParam('sStartPageListDisplayType') head="START_NEWEST_HEADER"|oxmultilangassign subhead="START_NEWEST_SUBHEADER"|oxmultilangassign listId="newItems" products=$oNewestArticles rsslink=$rsslinks.newestArticles rssId="rssNewestProducts" showMainLink=true iProductsPerLine=4}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{if $oNewestArticles && $oNewestArticles->count() && $oTopArticles && $oTopArticles->count()}]
|
||||
<div class="row">
|
||||
<hr>
|
||||
</div>
|
||||
[{/if}]
|
||||
|
||||
[{block name="start_top_articles"}]
|
||||
[{if $oTopArticles && $oTopArticles->count()}]
|
||||
[{include file="widget/product/list.tpl" type=$oViewConf->getViewThemeParam('sStartPageListDisplayType') head="START_TOP_PRODUCTS_HEADER"|oxmultilangassign subhead="START_TOP_PRODUCTS_SUBHEADER"|oxmultilangassign:$oTopArticles->count() listId="topBox" products=$oTopArticles rsslink=$rsslinks.topArticles rssId="rssTopProducts" showMainLink=true iProductsPerLine=4}]
|
||||
[{/if}]
|
||||
[{/block}]
|
||||
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl"}]
|
||||
@@ -0,0 +1,24 @@
|
||||
[{capture append="oxidBlock_content"}]
|
||||
[{assign var="wishuser" value=$oView->getWishUser()}]
|
||||
[{if !$oView->getWishListUsers() && $oView->getWishListSearchParam()}]
|
||||
[{assign var="_statusMessage" value="MESSAGE_SORRY_NO_GIFT_REGISTRY"|oxmultilangassign}]
|
||||
[{include file="message/error.tpl" statusMessage=$_statusMessage}]
|
||||
[{/if}]
|
||||
<h1 class="page-header">[{if $wishuser}][{oxmultilang ident="GIFT_REGISTRY_OF"}] [{$wishuser->oxuser__oxfname->value}] [{$wishuser->oxuser__oxlname->value}][{else}][{oxmultilang ident="PUBLIC_GIFT_REGISTRIES"}][{/if}]</h1>
|
||||
<div class="wishlistView clear bottomRound">
|
||||
[{include file="form/wishlist_search.tpl" searchClass="wishlist"}]
|
||||
[{if $oView->getWishList()}]
|
||||
[{assign var="wishuser" value=$oView->getWishUser()}]
|
||||
<p class="wishlistUser">
|
||||
[{oxmultilang ident="WISHLIST_PRODUCTS" args=$wishuser->oxuser__oxfname->value|cat:' '|cat:$wishuser->oxuser__oxlname->value}]
|
||||
</p>
|
||||
[{/if}]
|
||||
</div>
|
||||
[{if $oView->getWishList()}]
|
||||
[{include file="widget/product/list.tpl" type="line" title="" listId="wishlistProductList" products=$oView->getWishList() owishid=$wishuser->oxuser__oxid->value}]
|
||||
[{else}]
|
||||
[{oxmultilang ident="GIFT_REGISTRY_EMPTY"}]
|
||||
[{/if}]
|
||||
[{insert name="oxid_tracker"}]
|
||||
[{/capture}]
|
||||
[{include file="layout/page.tpl" sidebar="Left"}]
|
||||
Reference in New Issue
Block a user