first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,526 @@
/**
* 2019 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2019 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
.an_stickyAddToCart {
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 99;
box-shadow: 0px 5px 15px 0px rgba(1, 2, 4, 0.15);
background: #fff;
}
.an_stickyAddToCart-content {
display: flex;
align-items: center;
}
.an_stickyAddToCart-image {
max-width: 100%;
}
.an_stickyAddToCart-price {
padding-left: 3px;
}
.an_stickyAddToCart-price .product-title {
font-size: 14px;
color: #000;
font-weight: 400;
margin: 1px 0 6px;
}
.an_stickyAddToCart-price .regular-price {
font-size: 14px;
font-weight: 700;
text-decoration: line-through;
color: #7a7a7a;
margin-right: 1px;
}
.an_stickyAddToCart-price .price {
font-weight: 700;
font-size: 18px;
color: #000;
}
.an_stickyAddToCart-btnadd {
display: flex;
justify-content: flex-end;
margin-bottom: 1px;
margin-left: auto;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-price {
font-weight: bold;
margin-right: 5px;
}
.an_stickyAddToCart li.an_stickyAddToCart-select-sold-out {
cursor: not-allowed !important;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-sold-out {
color: #fff;
background-color: #ffc427;
padding: 2px 5px;
margin: 0 5px 0 0;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-regular_price {
text-decoration: line-through;
margin-right: 5px;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-sale {
color: #fff;
background-color: #e53d60;
padding: 2px 5px;
margin: 0 5px 0 0;
}
.an_stickyAddToCart span.js-an_stickyAddToCart-text {
margin-right: 5px;
}
.an_stickyAddToCart-standart {
padding-right: 8px;
}
.an_stickyAddToCart .js-an_stickyAddToCart-standart .an_pa_product-variants {
display: flex;
justify-content: flex-end;
align-items: center;
padding-bottom: 1px;
}
.an_stickyAddToCart {
background: white;
box-shadow: 2px 2px 11px 0 rgba(0,0,0,.3);
}
.an_stickyAddToCart form {
padding: 7px 0;
}
.an_stickyAddToCart.an_stickyAddToCart select,
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item select {
height: 44px;
font-size: 14px;
font-weight: normal;
width: 100%;
border-radius: 5px;
box-shadow: none;
background-color: transparent;
border: 1px solid #dcdcdc;
color: #7a7a7a;
padding: 0 31px 0 15px;
cursor: pointer;
min-width: 85px;
}
.an_stickyAddToCart .an_pa_product-variants>.product-variants-item-select:after {
display: none;
position: absolute;
content: "";
top: calc(50% - 2px);
right: 12px;
width: 0;
height: 0;
border: 4px solid transparent;
border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart.an_stickyAddToCart .control-label {
display: block;
margin-right: 14px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item {
margin: 0 29px 0 0;
position: relative;
display: flex;
align-items: center;
}
.an_stickyAddToCart ul.an_stickyAddToCart-group {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item ul li {
margin: 5px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item ul li label {
display: flex;
margin: 0;
}
.an_stickyAddToCart.an_stickyAddToCart .color,
.an_stickyAddToCart .custom-checkbox input[type=checkbox]+span.color {
margin: 0;
border-radius: 50%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty {
min-width: 70px;
font-size: 16px;
padding: 0 20px 2px 8px;
height: 100%;
border: 1px solid rgb(207, 207, 207);
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
background: #fff;
color: #232323;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
margin-right: 10px;
display: flex;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add {
display: flex;
flex: 0 1;
height: 42px;
align-items: stretch;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
margin: 0;
width: 100%;
padding: 0 23px;
font-size: 14px;
outline: none!important;
height: 100%;
line-height: 24px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-product-selectbox {
background: #fff;
height: 100%;
border: 1px solid rgb(207, 207, 207);
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
padding: 0;
position: relative;
min-width: 200px;
border-radius: 5px;
}
.an_stickyAddToCart .an_stickyAddToCart-product-selectbox li:hover {
background-color: #f5f5f5;
}
.an_stickyAddToCart .an_stickyAddToCart-product-selectbox li {
cursor: pointer;
font-size: 12px;
padding: 5px 15px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-select {
margin-right: 30px;
flex: 1 1;
max-width: 295px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
background: transparent;
cursor: pointer;
font-size: 18px;
height: 100%;
display: flex;
align-items: center;
line-height: 24px;
margin: 0;
padding: 3px 25px 5px 8px;
text-align: left;
width: 100%;
overflow: hidden;
font-weight: normal;
color: #7a7a7a;
width: 100%
}
.an_stickyAddToCart .js-an_stickyAddToCart-filter-option {
display: flex;
overflow: hidden;
white-space: nowrap;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown-menu {
display: none;
bottom: 100%;
position: absolute;
background: #fff;
outline: 1px solid rgba(0,0,0,.25);
left: 0;
width: 100%;
z-index: 1;
font-weight: normal;
text-align: left;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown-menu ul {
margin: 0;
max-height: 300px;
overflow: auto;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown.open .an_stickyAddToCart-dropdown-menu {
display: block;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown .an_stickyAddToCart-dropdown-toggler:after {
position: absolute;
content: "";
top: calc(50% - 2px);
right: 12px;
width: 0;
height: 0;
border: 4px solid transparent;
border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown.open .an_stickyAddToCart-dropdown-toggler:after {
border-color: transparent transparent #000 transparent;
top: calc(50% - 6px);
}
.an_stickyAddToCart-image {
max-width: 100%;
}
.an_stickyAddToCart li.product-flag {
z-index: 0 !important;
}
.an_stickyAddToCart .quantity {
position: relative;
}
.an_stickyAddToCart-qty-container input[type=number]::-webkit-inner-spin-button,
.an_stickyAddToCart-qty-container input[type=number]::-webkit-outer-spin-button
{
-webkit-appearance: none;
margin: 0;
}
.an_stickyAddToCart-qty-container input[type=number]
{
-moz-appearance: textfield;
}
.an_stickyAddToCart-qty-container input:focus {
outline: 0;
}
.an_stickyAddToCart .quantity-nav {
float: left;
position: relative;
height: 44px;
}
.an_stickyAddToCart .quantity-button {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border-left: 1px solid #cfcfcf;
width: 22px;
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.an_stickyAddToCart .quantity-button.quantity-up {
position: absolute;
height: calc(50% + 2px);
top: 0;
border-bottom: 1px solid #cfcfcf;
}
.an_stickyAddToCart .quantity-button.quantity-down {
position: absolute;
bottom: -1px;
height: 50%;
padding-top: 1px;
}
.an_stickyAddToCart {
transition: .3s;
}
.an_stickyAddToCart[data-hidden="1"] {
opacity: 0;
visibility: hidden;
}
@media (max-width: 1200px) {
.an_stickyAddToCart-image {
max-width: 60px;
}
.content-standart .an_stickyAddToCart-imageblock {
width: 90px;
}
.content-standart .an_stickyAddToCart-standart {
display: none;
}
}
@media (max-width: 991px) {
.an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-select {
margin-right: 10px;
}
}
@media (max-width: 767px) {
.an_stickyAddToCart-content .an_stickyAddToCart-imageblock {
flex: 80px 0 0;
}
.an_stickyAddToCart-content .an_stickyAddToCart-price {
flex: 1 1;
padding: 0;
}
.an_stickyAddToCart-content .an_stickyAddToCart-btnadd {
margin-top: 10px;
width: 100%;
flex: 100%;
flex-direction: column;
justify-content: flex-start;
}
.an_stickyAddToCart-content .an_stickyAddToCart-image {
max-width: 100%;
}
.an_stickyAddToCart-content {
flex-wrap: wrap;
align-items: flex-start;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
display: none;
}
.an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-select {
margin-right: 0;
margin-bottom: 10px;
max-width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-product-selectbox {
height: 44px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
width: 100%;
}
.an_stickyAddToCart-add {
width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
padding: 0 20px;
display: flex;
align-items: center;
justify-content: center;
min-height: 40px;
}
}
@media (max-width: 540px) {
.an_stickyAddToCart-content .an_stickyAddToCart-btnadd {
flex-wrap: wrap;
flex-direction: column;
}
.an_stickyAddToCart-content .an_stickyAddToCart-select {
margin-right: 0;
margin-bottom: 15px;
max-width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-dropdown-toggler {
width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-qty-container {
flex: 0 0;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-add {
flex: 1 1;
}
}
@media (max-width: 380px) {
.an_stickyAddToCart-price {
padding-left: 0;
}
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty {
background: #f6f6f6;
border: 0;
box-shadow: none;
padding: 0px 25px 0 20px;
font-size: 1rem;
border-radius: 5px;
}
.an_stickyAddToCart .quantity-button {
border: 0!important;
width: 27px;
}
.an_stickyAddToCart .quantity-button i {
font-size: 11px;
}
.an_stickyAddToCart .quantity-button.quantity-up i {
margin-bottom: -2px;
}
.an_stickyAddToCart .quantity-button.quantity-down i {
margin-top: -1px;
}
.an_stickyAddToCart .quantity-button.quantity-up i:after {
content: "\E5CE";
}
.an_stickyAddToCart .quantity-button.quantity-down i:after {
content: "\E5CF";
}
.an_stickyAddToCart .quantity-button.quantity-up {
height: 50%;
top: 0;
display: flex;
align-items: flex-end;
}
.an_stickyAddToCart .quantity-button.quantity-down {
bottom: 0;
height: 50%;
padding-top: 0;
display: flex;
align-items: flex-start;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-product-selectbox {
border: 0;
background: #f6f6f6;
box-shadow: none;
border-radius: 5px;
overflow: hidden;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown .an_stickyAddToCart-dropdown-toggler:after {
border-top: 5px solid;
border-right: 4px solid;
border-bottom: 5px solid;
border-left: 4px solid;
border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
color: #000;
padding: 9px 30px 9px 15px;
font-size: 1rem;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
font-size: 16px;
}
.an_stickyAddToCart {
z-index: 30;
}
.an_stickyAddToCart-image {
max-height: 65px;
}
.an_stickyAddToCart-price .product-title {
line-height: 1.2;
}

View File

@@ -0,0 +1,520 @@
/**
* 2019 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2019 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
.an_stickyAddToCart {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 99;
box-shadow: 0px 5px 15px 0px rgba(1, 2, 4, 0.15);
background: #fff;
}
.an_stickyAddToCart-content {
display: flex;
align-items: center;
}
.an_stickyAddToCart-image {
max-width: 100%;
}
.an_stickyAddToCart-price {
padding-right: 3px;
}
.an_stickyAddToCart-price .product-title {
font-size: 14px;
color: #000;
font-weight: 400;
margin: 1px 0 6px;
}
.an_stickyAddToCart-price .regular-price {
font-size: 14px;
font-weight: 700;
text-decoration: line-through;
color: #7a7a7a;
margin-left: 1px;
}
.an_stickyAddToCart-price .price {
font-weight: 700;
font-size: 18px;
color: #000;
}
.an_stickyAddToCart-btnadd {
display: flex;
justify-content: flex-end;
margin-bottom: 1px;
margin-right: auto;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-price {
font-weight: bold;
margin-left: 5px;
}
.an_stickyAddToCart li.an_stickyAddToCart-select-sold-out {
cursor: not-allowed !important;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-sold-out {
color: #fff;
background-color: #ffc427;
padding: 2px 5px;
margin: 0 0 0 5px;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-regular_price {
text-decoration: line-through;
margin-left: 5px;
}
.an_stickyAddToCart span.an_stickyAddToCart-select-sale {
color: #fff;
background-color: #e53d60;
padding: 2px 5px;
margin: 0 0 0 5px;
}
.an_stickyAddToCart span.js-an_stickyAddToCart-text {
margin-left: 5px;
}
.an_stickyAddToCart-standart {
padding-left: 8px;
}
.an_stickyAddToCart .js-an_stickyAddToCart-standart .an_pa_product-variants {
display: flex;
justify-content: flex-end;
align-items: center;
padding-bottom: 1px;
}
.an_stickyAddToCart {
background: white;
box-shadow: -2px 2px 11px 0 rgba(0,0,0,.3);
}
.an_stickyAddToCart form {
padding: 7px 0;
}
.an_stickyAddToCart.an_stickyAddToCart select,
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item select {
height: 44px;
font-size: 14px;
font-weight: normal;
width: 100%;
border: 0;
border-radius: 5px;
box-shadow: none;
background: #f6f6f6;
color: #7a7a7a;
padding: 0 15px 0 31px;
cursor: pointer;
}
.an_stickyAddToCart .an_pa_product-variants>.product-variants-item-select:after {
position: absolute;
content: "";
top: calc(50% - 2px);
left: 12px;
width: 0;
height: 0;
border: 4px solid transparent;
border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart.an_stickyAddToCart .control-label {
display: block;
margin-left: 14px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item {
margin: 0 0 0 29px;
position: relative;
display: flex;
align-items: center;
}
.an_stickyAddToCart ul.an_stickyAddToCart-group {
display: flex;
flex-wrap: wrap;
margin: 0 auto;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item ul li {
margin: 5px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_pa_product-variants>.product-variants-item ul li label {
display: flex;
margin: 0;
}
.an_stickyAddToCart.an_stickyAddToCart .color,
.an_stickyAddToCart .custom-checkbox input[type=checkbox]+span.color {
margin: 0;
border-radius: 50%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty {
min-width: 70px;
font-size: 16px;
padding: 0 8px 2px 20px;
height: 100%;
border: 1px solid rgb(207, 207, 207);
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
background: #fff;
color: #232323;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
margin-left: 10px;
display: flex;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add {
display: flex;
flex: 0 1;
height: 42px;
align-items: stretch;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
margin: 0;
width: 100%;
padding: 0 23px;
font-size: 14px;
outline: none!important;
height: 100%;
line-height: 24px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-product-selectbox {
background: #fff;
height: 100%;
border: 1px solid rgb(207, 207, 207);
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
padding: 0;
position: relative;
min-width: 200px;
border-radius: 5px;
}
.an_stickyAddToCart .an_stickyAddToCart-product-selectbox li:hover {
background-color: #f5f5f5;
}
.an_stickyAddToCart .an_stickyAddToCart-product-selectbox li {
cursor: pointer;
font-size: 12px;
padding: 5px 15px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-select {
margin-left: 30px;
flex: 1 1;
max-width: 295px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
background: transparent;
cursor: pointer;
font-size: 18px;
height: 100%;
display: flex;
align-items: center;
line-height: 24px;
margin: 0;
padding: 3px 8px 5px 25px;
text-align: right;
width: 100%;
overflow: hidden;
font-weight: normal;
color: #7a7a7a;
width: 100%
}
.an_stickyAddToCart .js-an_stickyAddToCart-filter-option {
display: flex;
overflow: hidden;
white-space: nowrap;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown-menu {
display: none;
bottom: 100%;
position: absolute;
background: #fff;
outline: 1px solid rgba(0,0,0,.25);
right: 0;
width: 100%;
z-index: 1;
font-weight: normal;
text-align: right;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown-menu ul {
margin: 0;
max-height: 300px;
overflow: auto;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown.open .an_stickyAddToCart-dropdown-menu {
display: block;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown .an_stickyAddToCart-dropdown-toggler:after {
position: absolute;
content: "";
top: calc(50% - 2px);
left: 12px;
width: 0;
height: 0;
border: 4px solid transparent;
border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown.open .an_stickyAddToCart-dropdown-toggler:after {
border-color: transparent transparent #000 transparent;
top: calc(50% - 6px);
}
.an_stickyAddToCart-image {
max-width: 100%;
}
.an_stickyAddToCart li.product-flag {
z-index: 0 !important;
}
.an_stickyAddToCart .quantity {
position: relative;
}
.an_stickyAddToCart-qty-container input[type=number]::-webkit-inner-spin-button,
.an_stickyAddToCart-qty-container input[type=number]::-webkit-outer-spin-button
{
-webkit-appearance: none;
margin: 0;
}
.an_stickyAddToCart-qty-container input[type=number]
{
-moz-appearance: textfield;
}
.an_stickyAddToCart-qty-container input:focus {
outline: 0;
}
.an_stickyAddToCart .quantity-nav {
float: right;
position: relative;
height: 44px;
}
.an_stickyAddToCart .quantity-button {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border-right: 1px solid #cfcfcf;
width: 22px;
-webkit-transform: translateX(100%);
transform: translateX(100%);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.an_stickyAddToCart .quantity-button.quantity-up {
position: absolute;
height: calc(50% + 2px);
top: 0;
border-bottom: 1px solid #cfcfcf;
}
.an_stickyAddToCart .quantity-button.quantity-down {
position: absolute;
bottom: -1px;
height: 50%;
padding-top: 1px;
}
.an_stickyAddToCart {
transition: .3s;
}
.an_stickyAddToCart[data-hidden="1"] {
opacity: 0;
visibility: hidden;
}
@media (max-width: 1200px) {
.an_stickyAddToCart-image {
max-width: 60px;
}
.content-standart .an_stickyAddToCart-imageblock {
width: 90px;
}
.content-standart .an_stickyAddToCart-standart {
display: none;
}
}
@media (max-width: 991px) {
.an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-select {
margin-left: 10px;
}
}
@media (max-width: 767px) {
.an_stickyAddToCart-content .an_stickyAddToCart-imageblock {
flex: 80px 0 0;
}
.an_stickyAddToCart-content .an_stickyAddToCart-price {
flex: 1 1;
padding: 0;
}
.an_stickyAddToCart-content .an_stickyAddToCart-btnadd {
margin-top: 10px;
width: 100%;
flex: 100%;
flex-direction: column;
justify-content: flex-start;
}
.an_stickyAddToCart-content .an_stickyAddToCart-image {
max-width: 100%;
}
.an_stickyAddToCart-content {
flex-wrap: wrap;
align-items: flex-start;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-container {
display: none;
}
.an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-select {
margin-left: 0;
margin-bottom: 10px;
max-width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content:not(.content-standart) .an_stickyAddToCart-product-selectbox {
height: 44px;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
width: 100%;
}
.an_stickyAddToCart-add {
width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
padding: 0 20px;
}
}
@media (max-width: 540px) {
.an_stickyAddToCart-content .an_stickyAddToCart-btnadd {
flex-wrap: wrap;
flex-direction: column;
}
.an_stickyAddToCart-content .an_stickyAddToCart-select {
margin-left: 0;
margin-bottom: 15px;
max-width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-dropdown-toggler {
width: 100%;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-qty-container {
flex: 0 0;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-content .an_stickyAddToCart-add {
flex: 1 1;
}
}
@media (max-width: 380px) {
.an_stickyAddToCart-price {
padding-right: 0;
}
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty {
background: #f6f6f6;
border: 0;
box-shadow: none;
padding: 0px 20px 0 25px;
font-size: 1rem;
border-radius: 5px;
}
.an_stickyAddToCart .quantity-button {
border: 0!important;
width: 27px;
}
.an_stickyAddToCart .quantity-button i {
font-size: 11px;
}
.an_stickyAddToCart .quantity-button.quantity-up i {
margin-bottom: -2px;
}
.an_stickyAddToCart .quantity-button.quantity-down i {
margin-top: -1px;
}
.an_stickyAddToCart .quantity-button.quantity-up i:after {
content: "\E5CE";
}
.an_stickyAddToCart .quantity-button.quantity-down i:after {
content: "\E5CF";
}
.an_stickyAddToCart .quantity-button.quantity-up {
height: 50%;
top: 0;
display: flex;
align-items: flex-end;
}
.an_stickyAddToCart .quantity-button.quantity-down {
bottom: 0;
height: 50%;
padding-top: 0;
display: flex;
align-items: flex-start;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-product-selectbox {
border: 0;
background: #f6f6f6;
box-shadow: none;
border-radius: 5px;
overflow: hidden;
}
.an_stickyAddToCart .an_stickyAddToCart-dropdown .an_stickyAddToCart-dropdown-toggler:after {
border-top: 5px solid;
border-left: 4px solid;
border-bottom: 5px solid;
border-right: 4px solid;
border-color: #000 transparent transparent transparent;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-dropdown-toggler {
color: #000;
padding: 9px 15px 9px 30px;
font-size: 1rem;
}
.an_stickyAddToCart.an_stickyAddToCart .an_stickyAddToCart-qty-add .btn-primary {
font-size: 16px;
}
.an_stickyAddToCart {
z-index: 30;
}
.an_stickyAddToCart-image {
max-height: 65px;
}
.an_stickyAddToCart-price .product-title {
line-height: 1.2;
}

View File

@@ -0,0 +1,275 @@
/**
* 2019 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2019 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
(function ($, window, undefined) {
'use strict';
resizeProduct();
$(document).ajaxSuccess(function() {
resizeProduct();
});
function resizeProduct(){
$('.js-product-miniature').each( function(){
var marginBottom = $(this).find('.an_stickyAddToCart').height()+40+'px'
$(this).find('.thumbnail-container').css('margin-bottom', marginBottom);
});
}
$(document).on('change','.an_stickyAddToCart [data-product-attribute], .an_stickyAddToCart-select select', function() {
var self = this;
getData($(this).closest('.an_stickyAddToCartForm').serialize(), function(data){
isAvailableForOrder($(self).closest('.an_stickyAddToCartForm').find('.js-an_stickyAddToCart-add-to-cart'), data);
setMaxQty($(self).closest('.an_stickyAddToCartForm').find('.an_stickyAddToCart-qty'), data);
setMinQty($(self).closest('.an_stickyAddToCartForm').find('.an_stickyAddToCart-qty'), data);
setPrices($('.an_stickyAddToCart-product-price-and-shipping'), $('.an_stickyAddToCart-price-price'), data);
setImages($('.js-an_stickyAddToCart-image'), data);
setVariants(self, data);
});
});
$(document).on('click','.an_stickyAddToCart-dropdown-menu li', function() {
var self = this;
if (attributeGroups){
generateInputs($(this).closest('.an_stickyAddToCartForm'), parseInt($('.js-an_stickyAddToCart').attr('data-id-product')), $(this).data('value'));
}
getData($(this).closest('.an_stickyAddToCartForm').serialize(), function(data){
isAvailableForOrder($(self).closest('.an_stickyAddToCartForm').find('.js-an_stickyAddToCart-add-to-cart'), data);
setMaxQty($(self).closest('.an_stickyAddToCartForm').find('.an_stickyAddToCart-qty'), data);
setMinQty($(self).closest('.an_stickyAddToCartForm').find('.an_stickyAddToCart-qty'), data);
setPrices($('.an_stickyAddToCart-product-price-and-shipping'), $('.an_stickyAddToCart-price-price'), data);
setImages($('.js-an_stickyAddToCart-image'), data);
});
});
$(document).on('input','.an_stickyAddToCart-qty', function() {
changeButInput(this);
});
function changeButInput(self){
var val = parseInt($(self).val());
var max = parseInt($(self).attr('data-max'));
var addToCart = $(self).closest('.an_stickyAddToCartForm').find('.js-an_stickyAddToCart-add-to-cart');
var addToCartStatus = parseInt(addToCart.attr('data-status'));
if (max && val > max){
addToCart.attr('disabled', 'disabled');
} else if (addToCartStatus){
addToCart.removeAttr('disabled');
} else {
addToCart.attr('disabled', 'disabled');
}
}
function getData(dataUrl, callback){
$.ajax({
type: "POST",
url: an_stickyaddtocart.controller,
async: false,
data: dataUrl + '&action=getProductAttributes',
dataType: 'json',
}).done(function(data){
callback(data);
});
}
function generateInputs(an_stickyAddToCartForm, productId, attrebuteID){
$('.an_stickyAddToCart-hiddeninputs').remove();
$.each(attributeGroups[productId][attrebuteID], function(index, value) {
an_stickyAddToCartForm.append("<input name='group[" + value['id_attribute_group'] + "]' value='" + value['id_attribute'] + "' type='hidden' class='an_stickyAddToCart-hiddeninputs' />");
});
}
function isAvailableForOrder(addToCart, data){
if (!data.availableForOrder){
addToCart.attr('disabled', 'disabled');
} else {
addToCart.removeAttr('disabled');
}
addToCart.attr('data-status', data.availableForOrder);
}
function setVariants(self, data){
if (data.variants){
$(self).closest('.js-an_stickyAddToCart-standart').html(data.variants);
}
}
function setMaxQty(qty, data){
if (data.order_out_of_stock){
qty.attr('data-max', data.quantity);
} else {
qty.removeAttr('data-max');
}
}
function setMinQty(qty, data){
if (data.minimal_quantity){
qty.attr('min', data.minimal_quantity).val(data.minimal_quantity);
}
}
function setPrices(priceContainer, price, data){
priceContainer.find('.an_stickyAddToCart-regular-price').remove();
if (data.prices.regular_price){
priceContainer.prepend('<span class="an_stickyAddToCart-regular-price regular-price">'+data.prices.regular_price+'</span>');
}
price.html(data.prices.price);
}
function setImages(img, data){
if (data.images){
img.attr('src', data.images.home[data.cover_id]);
}
}
})(jQuery, window);
$(document).ready(function () {
selectFilling();
$(document).ajaxSuccess(function() {
selectFilling();
});
$(document).mouseup(function (e){ // событие клика по веб-документу
var div = $(".an_stickyAddToCart .an_stickyAddToCart-product-selectbox"); // тут указываем ID элемента
if (!div.is(e.target) // если клик был не по нашему блоку
&& div.has(e.target).length === 0) { // и не по его дочерним элементам
div.removeClass('open'); // скрываем его
}
});
$(document).on('click','.an_stickyAddToCart-dropdown-toggler', function() {
$(this).parents('.an_stickyAddToCart-dropdown').toggleClass('open');
});
$(document).on('click','.an_stickyAddToCart-dropdown-menu', function() {
$(this).parents('.an_stickyAddToCart-dropdown').toggleClass('open');
});
$(document).on('click','.js-an_stickyAddToCart-product-selectbox li', function() {
$(this).parents('.js-an_stickyAddToCart-product-selectbox').find('.js-an_stickyAddToCart-filter-option').text($(this).children('.js-an_stickyAddToCart-text').text());
$(this).parents('.js-an_stickyAddToCart-select').find('option').removeAttr('selected');
$(this).parents('.js-an_stickyAddToCart-select').find('option').eq($(this).index()).attr('selected','');
});
$(document).on('mouseleave', '.an_stickyAddToCart', function() {
$('.an_stickyAddToCart-dropdown').removeClass('open');
});
function selectFilling(){
$('.js-an_stickyAddToCart-product-selectbox li.selected').each(function() {
let item = $(this).parents('.js-an_stickyAddToCart-product-selectbox').find('.js-an_stickyAddToCart-filter-option');
if (!item.hasClass('selected')) {
item.text($(this).children('.js-an_stickyAddToCart-text').text());
item.addClass('selected');
}
});
}
$('<div class="quantity-nav"><div class="quantity-button quantity-up">' +
'<i class="material-icons"></i>' +
'</div>' +
'<div class="quantity-button quantity-down">' +
'<i class="material-icons"></i>' +
'</div></div>').insertAfter('#an_stickyAddToCart_qty');
$('.an_stickyAddToCart-qty-container').each(function() {
var spinner = jQuery(this),
input = spinner.find('input[type="number"]'),
btnUp = spinner.find('.quantity-up'),
btnDown = spinner.find('.quantity-down'),
min = input.attr('min'),
max = input.attr('max');
btnUp.click(function() {
var oldValue = parseFloat(input.val());
if (oldValue >= max) {
var newVal = oldValue;
} else {
var newVal = oldValue + 1;
}
spinner.find("input").val(newVal);
spinner.find("input").trigger("change");
});
btnDown.click(function() {
var oldValue = parseFloat(input.val());
if (oldValue <= min) {
var newVal = oldValue;
} else {
var newVal = oldValue - 1;
}
spinner.find("input").val(newVal);
spinner.find("input").trigger("change");
});
});
let scrollStart = ($('.product-add-to-cart .add-to-cart').offset().top + $('.product-add-to-cart .add-to-cart').height() + 20);
stickyScroll(scrollStart);
$(window).scroll(function(){
stickyScroll(scrollStart);
})
$(function() {
if ($('.an_stickyAddToCart .btn').data('animation')) {
setInterval(function() {
var animationName = 'animated '+$('.an_stickyAddToCart .btn').data('animation');
var animationend = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
$('.an_stickyAddToCart .btn').addClass(animationName).one(animationend, function() {
$(this).removeClass(animationName);
});
}, $('.an_stickyAddToCart .btn').data('interval'));
}
});
});
function stickyScroll (scrollStart) {
if($(window).scrollTop() > scrollStart && $('.an_stickyAddToCart').attr('data-hidden') == 1){
$('.an_stickyAddToCart').attr('data-hidden',0);
$('#footer').css('padding-bottom',$('.an_stickyAddToCart').height() + 'px');
$('#scrolltopbtn').css('margin-bottom',$('.an_stickyAddToCart').height() + 'px');
}
if($(window).scrollTop() < scrollStart && $('.an_stickyAddToCart').attr('data-hidden') == 0) {
$('.an_stickyAddToCart').attr('data-hidden',1);
$('#footer').css('padding-bottom', '0');
$('#scrolltopbtn').css('margin-bottom','0');
}
}

View File

@@ -0,0 +1,65 @@
<div class="an_stickyAddToCart an_stickyAddToCart js-an_stickyAddToCart" data-id-product="{$product.id_product}" data-hidden="1">
<form method="post" class="an_stickyAddToCartForm" action="{$cart|escape:'htmlall':'UTF-8'}">
<input name="token" value="{$token|escape:'htmlall':'UTF-8'}" type="hidden">
<input name="id_product" value="{$productId|escape:'htmlall':'UTF-8'}" type="hidden">
{*<input name="id_customization" value="0" placeholder="" type="hidden"> *}
{if $config.display_quantity!='1'}
<input name="qty" type="hidden" value="{$minimal_quantity|escape:'htmlall':'UTF-8'}" min="{$minimal_quantity|escape:'htmlall':'UTF-8'}">
{/if}
<div class="container">
<div class="row an_stickyAddToCart-content {if $config.type_view=='standart'}content-standart{/if}">
<div class="an_stickyAddToCart-imageblock col-xs-2 col-xl-1">
<div class="an_stickyAddToCart-container-image">
<img class="js-an_stickyAddToCart-image an_stickyAddToCart-image" src="{$cover.bySize.home_default.url}" alt="" title="" >
</div>
</div>
<div class="an_stickyAddToCart-price col-xs-3 col-xl-2">
<h3 class="product-title">{$product.name|truncate:30:'...'}</h3>
<div class="an_stickyAddToCart-product-price-and-shipping product-price-and-shipping">
{if $product.has_discount}
<span class="an_stickyAddToCart-regular-price regular-price">{$product.regular_price}</span>
{/if}
<span class="an_stickyAddToCart-price-price price">{$product.price}</span>
</div>
</div>
{if $config.type_view=='standart'}
<div class="col-xs-4 col-xl-6 an_stickyAddToCart-standart">
<div class="js-an_stickyAddToCart-standart">
{include file='./product-variants.tpl'}
</div>
</div>
{/if}
<div class="an_stickyAddToCart-btnadd {if $config.type_view=='standart'}col-xs-3{/if} {if $config.type_view=='select' AND isset($productData) AND count($productData)>0}col-xs-7 col-xl-9{/if}">
{if $config.type_view=='select' AND isset($productData) AND count($productData)>0}
<div class="an_stickyAddToCart-select js-an_stickyAddToCart-select">
{include file='./product-select.tpl'}
</div>
{/if}
{if isset($configuration.is_catalog) AND !$configuration.is_catalog AND $config.display_add_to_cart=='1'}
<div class="an_stickyAddToCart-qty-add clearfix">
{if $config.display_quantity=='1'}
<div class="an_stickyAddToCart-qty-container an_stickyAddToCart-qty-container">
<input id="an_stickyAddToCart_qty" type="number" name="qty" value="{$minimal_quantity|escape:'htmlall':'UTF-8'}" class="input-group form-control an_stickyAddToCart-qty" min="{$minimal_quantity|escape:'htmlall':'UTF-8'}" {if $order_out_of_stock} data-max="{$quantity|escape:'htmlall':'UTF-8'}" {/if} aria-label="Quantity" style="display: block;" >
</div>
{/if}
<div class="an_stickyAddToCart-add ">
<button data-animation="{$config.effect}" data-interval="{$config.interalEffect}" class="btn btn-primary js-an_stickyAddToCart-add-to-cart" data-button-action="add-to-cart" type="submit" {if $availableForOrder !='1'} disabled="disabled"{/if} data-status="{$availableForOrder}">
{l s='Add to cart' d='Shop.Theme.Actions'}
</button>
</div>
</div>
{/if}
</div>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,79 @@
{**
* 2019 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2019 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
//<![CDATA[
if (typeof attributeGroups == "undefined") {
var attributeGroups = [];
}
attributeGroups[{$productId|escape:'htmlall':'UTF-8'}] = JSON.parse('{$attributeGroups|escape:"javascript":"UTF-8" nofilter}');
//]]>
</script>
<div class="an_stickyAddToCart-product-selectbox js-an_stickyAddToCart-product-selectbox an_stickyAddToCart-dropdown">
<div class="an_stickyAddToCart-dropdown-toggler">
<div class="js-an_stickyAddToCart-filter-option">{l s='Select variant' d='Shop.Theme.Global'}</div>
</div>
<div class="an_stickyAddToCart-dropdown-menu">
<ul>
{foreach from=$productData key=k item=v name=fodataOne}
<li role="option" data-value="{$k|intval}" class="{if !$v.availableForOrder}an_stickyAddToCart-select-sold-out{/if}{if $v.default_on == '1'} selected{/if}">
<span class="js-an_stickyAddToCart-text">
{$countData = count($productData[$k]['comb'])}
{foreach from=$productData[$k]['comb'] key=k3 item=v3 name=fodata}
{if $config.display_labels=='1'}
{$v3['group_name']|escape:'htmlall':'UTF-8'}:
{/if}
{$v3['attribute_name']|escape:'htmlall':'UTF-8'}
{if $smarty.foreach.fodata.iteration < $countData}{$config.separator|escape:'htmlall':'UTF-8'}{/if}
{/foreach}
</span>
{if $config.display_prices=='1'}
<span class="an_stickyAddToCart-select-price">
{$v.prices.price|escape:'htmlall':'UTF-8'}
</span>
{if isset($v.prices.regular_price)}
<span class="an_stickyAddToCart-select-regular_price">
{$v.prices.regular_price|escape:'htmlall':'UTF-8'}
</span>
{/if}
{/if}
{if !$v.availableForOrder}
<span class="an_stickyAddToCart-select-sold-out" style="background: {$config.background_sold_out|escape:'htmlall':'UTF-8'}; color: {$config.color_sold_out|escape:'htmlall':'UTF-8'};">{l s='Sold out' d='Shop.Theme.Global'}</span>
{/if}
{if isset($v.prices.has_discount)}
{if $v.prices.discount_type == 'percentage'}
<span class="an_stickyAddToCart-select-sale" style="background: {$config.background_sale|escape:'htmlall':'UTF-8'}; color: {$config.color_sold_out|escape:'htmlall':'UTF-8'};">{$v.prices.discount_percentage|escape:'htmlall':'UTF-8'}
{/if}
{if $v.prices.discount_type == 'amount'}
<span class="an_stickyAddToCart-select-sale" style="background: {$config.background_sale|escape:'htmlall':'UTF-8'}; color: {$config.color_sale|escape:'htmlall':'UTF-8'};">{l s='Save' d='Shop.Theme.Global'} {$v.prices.discount_amount|escape:'htmlall':'UTF-8'}
{/if}
</span>
{/if}
</li>
{/foreach}
</ul>
</div>
</div>

View File

@@ -0,0 +1,74 @@
{**
* 2019 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2019 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($groups)}
<div class="an_pa_product-variants">
{foreach from=$groups key=id_attribute_group item=group}
{if !empty($group.attributes)}
<div class="clearfix product-variants-item {if $group.group_type == 'select'}product-variants-item-select{/if}">
{if $config.display_labels=='1'}
<span class="control-label">{$group.name|escape:'htmlall':'UTF-8'}:</span>
{/if}
{if $group.group_type == 'select'}
<select
class="form-control form-control-select"
id="an_group_{$id_attribute_group|intval}"
data-product-attribute="{$id_attribute_group|intval}"
name="group[{$id_attribute_group|intval}]">
{foreach from=$group.attributes key=id_attribute item=group_attribute}
<option value="{$id_attribute|intval}" title="{$group_attribute.name|escape:'htmlall':'UTF-8'}"{if $group_attribute.selected} selected="selected"{/if}>{$group_attribute.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
{elseif $group.group_type == 'color'}
<ul id="group_{$id_attribute_group|intval}" class="an_stickyAddToCart-group">
{foreach from=$group.attributes key=id_attribute item=group_attribute}
<li class="float-xs-left input-container">
<label>
<input class="input-color" type="radio" data-product-attribute="{$id_attribute_group|intval}" name="group[{$id_attribute_group|intval}]" value="{$id_attribute|intval}"{if $group_attribute.selected} checked="checked"{/if}>
<span
{if $group_attribute.html_color_code}class="color" style="background-color: {$group_attribute.html_color_code|escape:'htmlall':'UTF-8'}" {/if}
{if $group_attribute.texture}class="color texture" style="background-image: url({$group_attribute.texture|escape:'htmlall':'UTF-8'})" {/if}
><span class="sr-only">{$group_attribute.name|escape:'htmlall':'UTF-8'}</span></span>
</label>
</li>
{/foreach}
</ul>
{elseif $group.group_type == 'radio'}
<ul id="group_{$id_attribute_group|intval}" class="an_stickyAddToCart-group">
{foreach from=$group.attributes key=id_attribute item=group_attribute}
<li class="input-container float-xs-left">
<label>
<input class="input-radio" type="radio" data-product-attribute="{$id_attribute_group|intval}" name="group[{$id_attribute_group|intval}]" value="{$id_attribute|intval}"{if $group_attribute.selected} checked="checked"{/if}>
<span class="radio-label">{$group_attribute.name|escape:'htmlall':'UTF-8'}</span>
</label>
</li>
{/foreach}
</ul>
{/if}
</div>
{/if}
{/foreach}
</div>
{/if}