Poprawa klas ikon w powiadomieniach oraz zwiększenie maksymalnej ilości produktu w koszyku

This commit is contained in:
2026-01-06 22:57:36 +01:00
parent 0358e66360
commit 2b22fa496e
3 changed files with 10 additions and 10 deletions

View File

@@ -43,7 +43,7 @@
content: '<?= $lang['newsletter-zgoda-komunikat'];?>', content: '<?= $lang['newsletter-zgoda-komunikat'];?>',
type: 'blue', type: 'blue',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-times', closeIconClass: 'fa fa-times',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,
@@ -74,7 +74,7 @@
content: '<?= $lang['newsletter-prosze-uzupelnic-email'];?>', content: '<?= $lang['newsletter-prosze-uzupelnic-email'];?>',
type: 'orange', type: 'orange',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-times', closeIconClass: 'fa fa-times',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,
@@ -111,7 +111,7 @@
content: '<?= $lang['prosze-czekac'];?>', content: '<?= $lang['prosze-czekac'];?>',
type: 'orange', type: 'orange',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-times', closeIconClass: 'fa fa-times',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,
@@ -147,7 +147,7 @@
content: msg, content: msg,
type: 'orange', type: 'orange',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-times', closeIconClass: 'fa fa-times',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,

View File

@@ -409,7 +409,7 @@
title: '<?= ucfirst(\S::lang('potwierdz')); ?>', title: '<?= ucfirst(\S::lang('potwierdz')); ?>',
content: '<?= \S::lang('potwierdz-usuniecie-produktu-z-koszyka'); ?>', content: '<?= \S::lang('potwierdz-usuniecie-produktu-z-koszyka'); ?>',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-close', closeIconClass: 'fa fa-close',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,

View File

@@ -373,13 +373,13 @@
content: 'Maksymalna ilość wybranego produktu wynosi: <b>' + max_value + '<\/b>', content: 'Maksymalna ilość wybranego produktu wynosi: <b>' + max_value + '<\/b>',
type: 'blue', type: 'blue',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-times', closeIconClass: 'fa fa-times',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,
theme: 'modern', theme: 'modern',
autoClose: 'confirm|5000', autoClose: 'confirm|5000',
icon: 'fas fa-exclamation', icon: 'fa fa-exclamation',
buttons: { buttons: {
confirm: { confirm: {
text: '<?= \S::lang( 'zamknij' );?>', text: '<?= \S::lang( 'zamknij' );?>',
@@ -413,13 +413,13 @@
content: 'Maksymalna ilość wybranego produktu wynosi: <b>' + max_value + '<\/b>', content: 'Maksymalna ilość wybranego produktu wynosi: <b>' + max_value + '<\/b>',
type: 'blue', type: 'blue',
closeIcon: true, closeIcon: true,
closeIconClass: 'fas fa-times', closeIconClass: 'fa fa-times',
typeAnimated: true, typeAnimated: true,
animation: 'opacity', animation: 'opacity',
useBootstrap: false, useBootstrap: false,
theme: 'modern', theme: 'modern',
autoClose: 'confirm|5000', autoClose: 'confirm|5000',
icon: 'fas fa-exclamation', icon: 'fa fa-exclamation',
buttons: { buttons: {
confirm: { confirm: {
text: '<?= \S::lang( 'zamknij' );?>', text: '<?= \S::lang( 'zamknij' );?>',
@@ -645,7 +645,7 @@
if ( data.product_data.stock_0_buy == 1 ) if ( data.product_data.stock_0_buy == 1 )
{ {
$( '.warehouse-message' ).html( data.product_data.messages.warehouse_message_zero ); $( '.warehouse-message' ).html( data.product_data.messages.warehouse_message_zero );
$( '#quantity' ).attr( 'max', 99 ); $( '#quantity' ).attr( 'max', 999 );
$( '.add-to-basket #add-to-basket, .add-to-basket .quantity-container' ).show(); $( '.add-to-basket #add-to-basket, .add-to-basket .quantity-container' ).show();
$( '.add-to-basket .alert' ).addClass( 'hidden' ); $( '.add-to-basket .alert' ).addClass( 'hidden' );
} }