Update Polish translations and enhance checkout styles

- Changed the button text for adding a voucher code to Polish ("Dodaj kod rabatowy").
- Updated placeholder text in checkout form fields to use field labels.
- Modified shipping template to display shipping time in Polish.
- Refined CSS styles for better layout and responsiveness in checkout areas.
- Updated custom CSS version in the head template and added a script to move the free shipping message to the top of the container.
This commit is contained in:
2025-08-05 23:55:00 +02:00
parent d39433f0d4
commit ec8b8e2992
8 changed files with 1936 additions and 33 deletions

View File

@@ -54,7 +54,7 @@
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
{/block}
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css?ver=1.0030">
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css?ver=1.0102">
{block name='javascript_head'}
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
@@ -64,4 +64,23 @@
{$HOOK_HEADER nofilter}
{/block}
{block name='hook_extra'}{/block}
{block name='hook_extra'}{/block}
{literal}
<script type="text/javascript">
console.log('test');
(function waitForElement() {
const targetSelector = '.remaining-amount-to-free-shipping-container';
const destinationSelector = '#tc-container';
const targetElement = document.querySelector(targetSelector);
const destinationElement = document.querySelector(destinationSelector);
if (targetElement && destinationElement) {
destinationElement.insertBefore(targetElement, destinationElement.firstChild);
} else {
// Czekaj i sprawdź ponownie za 200 ms
setTimeout(waitForElement, 200);
}
})();
</script>
{/literal}