159 lines
19 KiB
Smarty
159 lines
19 KiB
Smarty
{**
|
|
* 2007-2017 PrestaShop
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
|
* that is bundled with this package in the file LICENSE.txt.
|
|
* It is also available through the world-wide-web at this URL:
|
|
* https://opensource.org/licenses/AFL-3.0
|
|
* If you did not receive a copy of the license and are unable to
|
|
* obtain it through the world-wide-web, please send an email
|
|
* to license@prestashop.com so we can send you a copy immediately.
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
|
* versions in the future. If you wish to customize PrestaShop for your
|
|
* needs please refer to http://www.prestashop.com for more information.
|
|
*
|
|
* @author PrestaShop SA <contact@prestashop.com>
|
|
* @copyright 2007-2017 PrestaShop SA
|
|
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
|
* International Registered Trademark & Property of PrestaShop SA
|
|
*}
|
|
<div id="_desktop_cart">
|
|
<div class="blockcart cart-preview js-sidebar-cart-trigger {if $cart.products_count > 0}active{else}inactive{/if}" data-refresh-url="{$refresh_url}">
|
|
<div class="header">
|
|
<a class="blockcart-link" rel="nofollow" href="{$cart_url}">
|
|
{if (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('header_typeHeader') == 'header1')}
|
|
<i class="material-icons shopping-cart">shopping_cart</i>
|
|
{/if}
|
|
{if (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('header_typeHeader') == 'header2')}
|
|
<svg class="hidden-md-up"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.486 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.486 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.486 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.486 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.643 26.624,16.298 L29.957,6.173 C30.042,5.916 29.999,5.633 29.843,5.413 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.378 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
<svg class="hidden-sm-down"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.485 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.485 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.485 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.485 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.642 26.624,16.298 L29.957,6.173 C30.042,5.915 29.999,5.633 29.843,5.412 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.377 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
{/if}
|
|
{if (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('header_typeHeader') == 'header6')}
|
|
<svg class="hidden-md-up"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.486 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.486 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.486 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.486 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.643 26.624,16.298 L29.957,6.173 C30.042,5.916 29.999,5.633 29.843,5.413 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.378 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
<svg class="hidden-sm-down"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.485 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.485 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.485 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.485 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.642 26.624,16.298 L29.957,6.173 C30.042,5.915 29.999,5.633 29.843,5.412 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.377 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
{/if}
|
|
{if (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('header_typeHeader') == 'header3')}
|
|
<svg class="hidden-md-up"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.486 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.486 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.486 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.486 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.643 26.624,16.298 L29.957,6.173 C30.042,5.916 29.999,5.633 29.843,5.413 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.378 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
<svg class="hidden-sm-down"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="22px" height="19px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.610,1.187 L2.614,1.187 L7.142,14.384 C6.187,14.707 5.500,15.589 5.500,16.625 C5.500,17.934 6.596,19.000 7.944,19.000 C9.292,19.000 10.388,17.934 10.388,16.625 C10.388,16.192 10.267,15.787 10.058,15.437 L16.219,15.437 C16.010,15.787 15.889,16.192 15.889,16.625 C15.889,17.934 16.985,19.000 18.333,19.000 C19.681,19.000 20.777,17.934 20.777,16.625 C20.777,15.315 19.681,14.250 18.333,14.250 L8.384,14.250 L7.570,11.875 L18.944,11.875 C19.207,11.875 19.441,11.711 19.524,11.469 L21.968,4.344 C22.031,4.163 21.999,3.964 21.885,3.809 C21.769,3.654 21.585,3.562 21.389,3.562 L4.718,3.562 L3.635,0.406 C3.551,0.163 3.318,-0.000 3.055,-0.000 L0.610,-0.000 C0.273,-0.000 -0.001,0.266 -0.001,0.594 C-0.001,0.922 0.273,1.187 0.610,1.187 ZM18.333,15.437 C19.007,15.437 19.555,15.970 19.555,16.625 C19.555,17.279 19.007,17.812 18.333,17.812 C17.659,17.812 17.111,17.279 17.111,16.625 C17.111,15.970 17.659,15.437 18.333,15.437 ZM7.944,15.437 C8.618,15.437 9.166,15.970 9.166,16.625 C9.166,17.279 8.618,17.812 7.944,17.812 C7.270,17.812 6.722,17.279 6.722,16.625 C6.722,15.970 7.270,15.437 7.944,15.437 ZM20.541,4.750 L18.504,10.687 L7.162,10.687 L5.125,4.750 L20.541,4.750 Z"/>
|
|
</svg>
|
|
{/if}
|
|
{if (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('header_typeHeader') == 'header4')}
|
|
<svg class="hidden-md-up"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.486 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.486 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.486 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.486 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.643 26.624,16.298 L29.957,6.173 C30.042,5.916 29.999,5.633 29.843,5.413 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.378 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
<svg class="hidden-sm-down"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="22px" height="19px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.610,1.187 L2.614,1.187 L7.142,14.384 C6.187,14.707 5.500,15.588 5.500,16.625 C5.500,17.934 6.596,19.000 7.944,19.000 C9.292,19.000 10.388,17.934 10.388,16.625 C10.388,16.192 10.267,15.787 10.058,15.437 L16.219,15.437 C16.010,15.787 15.889,16.192 15.889,16.625 C15.889,17.934 16.985,19.000 18.333,19.000 C19.681,19.000 20.777,17.934 20.777,16.625 C20.777,15.315 19.681,14.250 18.333,14.250 L8.384,14.250 L7.570,11.875 L18.944,11.875 C19.207,11.875 19.441,11.711 19.524,11.469 L21.968,4.344 C22.031,4.163 21.999,3.964 21.885,3.809 C21.769,3.654 21.585,3.562 21.389,3.562 L4.718,3.562 L3.635,0.406 C3.551,0.163 3.318,-0.000 3.055,-0.000 L0.610,-0.000 C0.273,-0.000 -0.001,0.266 -0.001,0.594 C-0.001,0.922 0.273,1.187 0.610,1.187 ZM18.333,15.437 C19.007,15.437 19.555,15.970 19.555,16.625 C19.555,17.279 19.007,17.812 18.333,17.812 C17.659,17.812 17.111,17.279 17.111,16.625 C17.111,15.970 17.659,15.437 18.333,15.437 ZM7.944,15.437 C8.618,15.437 9.166,15.970 9.166,16.625 C9.166,17.279 8.618,17.812 7.944,17.812 C7.270,17.812 6.722,17.279 6.722,16.625 C6.722,15.970 7.270,15.437 7.944,15.437 ZM20.541,4.750 L18.504,10.687 L7.162,10.687 L5.125,4.750 L20.541,4.750 Z"/>
|
|
</svg>
|
|
{/if}
|
|
{if (Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('header_typeHeader') == 'header5')}
|
|
<svg class="hidden-md-up"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="30px" height="27px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.833,1.687 L3.565,1.687 L9.739,20.440 C8.437,20.900 7.499,22.152 7.499,23.625 C7.499,25.486 8.995,27.000 10.833,27.000 C12.671,27.000 14.166,25.486 14.166,23.625 C14.166,23.010 14.000,22.434 13.715,21.937 L22.117,21.937 C21.832,22.434 21.666,23.010 21.666,23.625 C21.666,25.486 23.162,27.000 25.000,27.000 C26.838,27.000 28.333,25.486 28.333,23.625 C28.333,21.764 26.838,20.250 25.000,20.250 L11.433,20.250 L10.322,16.875 L25.833,16.875 C26.192,16.875 26.510,16.643 26.624,16.298 L29.957,6.173 C30.042,5.916 29.999,5.633 29.843,5.413 C29.686,5.193 29.434,5.062 29.166,5.062 L6.433,5.062 L4.957,0.577 C4.843,0.232 4.524,-0.000 4.166,-0.000 L0.833,-0.000 C0.372,-0.000 -0.001,0.378 -0.001,0.844 C-0.001,1.310 0.372,1.687 0.833,1.687 ZM25.000,21.937 C25.919,21.937 26.666,22.694 26.666,23.625 C26.666,24.555 25.919,25.312 25.000,25.312 C24.081,25.312 23.333,24.555 23.333,23.625 C23.333,22.694 24.081,21.937 25.000,21.937 ZM10.833,21.937 C11.752,21.937 12.499,22.694 12.499,23.625 C12.499,24.555 11.752,25.312 10.833,25.312 C9.914,25.312 9.166,24.555 9.166,23.625 C9.166,22.694 9.914,21.937 10.833,21.937 ZM28.010,6.750 L25.232,15.187 L9.767,15.187 L6.989,6.750 L28.010,6.750 Z"/>
|
|
</svg>
|
|
<svg class="hidden-sm-down"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
width="22px" height="19px">
|
|
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
|
|
d="M0.610,1.187 L2.614,1.187 L7.142,14.384 C6.187,14.707 5.500,15.588 5.500,16.625 C5.500,17.934 6.596,19.000 7.944,19.000 C9.292,19.000 10.388,17.934 10.388,16.625 C10.388,16.192 10.267,15.787 10.058,15.437 L16.219,15.437 C16.010,15.787 15.889,16.192 15.889,16.625 C15.889,17.934 16.985,19.000 18.333,19.000 C19.681,19.000 20.777,17.934 20.777,16.625 C20.777,15.315 19.681,14.250 18.333,14.250 L8.384,14.250 L7.570,11.875 L18.944,11.875 C19.207,11.875 19.441,11.711 19.524,11.469 L21.968,4.344 C22.031,4.163 21.999,3.964 21.885,3.809 C21.769,3.654 21.585,3.562 21.389,3.562 L4.718,3.562 L3.635,0.406 C3.551,0.163 3.318,-0.000 3.055,-0.000 L0.610,-0.000 C0.273,-0.000 -0.001,0.266 -0.001,0.594 C-0.001,0.922 0.273,1.187 0.610,1.187 ZM18.333,15.437 C19.007,15.437 19.555,15.970 19.555,16.625 C19.555,17.280 19.007,17.812 18.333,17.812 C17.659,17.812 17.111,17.280 17.111,16.625 C17.111,15.970 17.659,15.437 18.333,15.437 ZM7.944,15.437 C8.618,15.437 9.166,15.970 9.166,16.625 C9.166,17.280 8.618,17.812 7.944,17.812 C7.270,17.812 6.722,17.280 6.722,16.625 C6.722,15.970 7.270,15.437 7.944,15.437 ZM20.541,4.750 L18.504,10.687 L7.162,10.687 L5.125,4.750 L20.541,4.750 Z"/>
|
|
</svg>
|
|
{/if}
|
|
<span class="cart-products-count">{l s='Cart' d='Shop.Theme.Checkout'}: {$cart.products_count}</span>
|
|
<span class="hidden-md-up mobile-cart-item-count">{$cart.products_count}</span>
|
|
</a>
|
|
</div>
|
|
<div class="cart-dropdown js-cart-source hidden-xs-up">
|
|
<div class="cart-dropdown-wrapper">
|
|
<div class="cart-title">
|
|
<p class="h4 text-center">{l s='Shopping Cart' d='Shop.Theme.Checkout'}</p>
|
|
</div>
|
|
{if $cart.products}
|
|
<ul class="cart-items">
|
|
{foreach from=$cart.products item=product}
|
|
<li class="cart-product-line">{include 'module:ps_shoppingcart/ps_shoppingcart-product-line.tpl' product=$product}</li>
|
|
{/foreach}
|
|
</ul>
|
|
<div class="cart-bottom">
|
|
<div class="cart-subtotals">
|
|
{foreach from=$cart.subtotals item="subtotal"}
|
|
{if $subtotal}
|
|
<div class="total-line {$subtotal.type}">
|
|
<span class="label">{$subtotal.label}</span>
|
|
<span class="value price">{$subtotal.value}</span>
|
|
</div>
|
|
{/if}
|
|
{/foreach}
|
|
</div>
|
|
<hr>
|
|
<div class="cart-total total-line">
|
|
<span class="label">{$cart.totals.total.label}</span>
|
|
<span class="value price price-total">{$cart.totals.total.value}</span>
|
|
</div>
|
|
<div class="cart-action">
|
|
<div class="text-center">
|
|
<a href="{if Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('shoppingCart_cartAction') == 'checkout'}{$urls.pages.order}{else}{$cart_url}{/if}" class="btn btn-primary">{l s='Proceed to checkout' d='Shop.Theme.Actions'}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{else}
|
|
<div class="no-items">
|
|
{l s='There are no more items in your cart' d='Shop.Theme.Checkout'}
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|