From 1a75e0b22fbf001955b9a39dc3ca74fd0eaf7399 Mon Sep 17 00:00:00 2001 From: Roman Pyrih Date: Fri, 25 Oct 2024 09:56:32 +0200 Subject: [PATCH] Orlen Paczka - test --- .htaccess | 11 ++++++- templates/shop-basket/basket.php | 53 +++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index 834edd1..0ff8aa4 100644 --- a/.htaccess +++ b/.htaccess @@ -73,6 +73,9 @@ RewriteRule ^ /%1 [R=301,L] AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript + +Header set Access-Control-Allow-Origin "*" + ExpiresActive on ExpiresDefault "access plus 1 month" @@ -230,8 +233,14 @@ RewriteRule ^wyprzedaz/1$ wyprzedaz [R=301,L] RewriteRule ^en/kocyk-minky-niemowlaka-50x70-en$ index.php?category=6&lang=en&%{QUERY_STRING} [L] RewriteRule ^en/kocyk-minky-niemowlaka-50x70-en/([0-9]+)$ index.php?category=6&lang=en&bs=$1&%{QUERY_STRING} [L] RewriteRule ^en/kocyk-minky-niemowlaka-50x70-en/1$ en/kocyk-minky-niemowlaka-50x70-en [R=301,L] +RewriteRule ^p-425-a-tabliczki-z-miesiacami-galazka-kopi$ index.php?product=425 [L] +RewriteRule ^p-425-a-tabliczki-z-miesiacami-galazka-kopi/([0-9-]+)$ index.php?product=425&permutation_hash=$1 [L] +RewriteRule ^p-404-b-tabliczki-z-miesiacami-galazka$ index.php?product=404 [L] +RewriteRule ^p-404-b-tabliczki-z-miesiacami-galazka/([0-9-]+)$ index.php?product=404&permutation_hash=$1 [L] RewriteRule ^drewniana-tabliczka-modlitwa-aniele-bozy-strozu-moj-chmurka$ index.php?product=403 [L] -RewriteRule ^p-404-tabliczki-z-miesiacami-galazka$ index.php?product=404 [L] +RewriteRule ^drewniana-tabliczka-modlitwa-aniele-bozy-strozu-moj-chmurka/([0-9-]+)$ index.php?product=403&permutation_hash=$1 [L] +RewriteRule ^en/p-425-kopia$ index.php?product=425 [L] +RewriteRule ^en/p-425-kopia/([0-9-]+)$ index.php?product=425&permutation_hash=$1 [L] RewriteCond %{REQUEST_URI} ^/home$ RewriteRule ^(.*)$ http://www.shoppro.project-dc.pl/ [R=permanent,L] RewriteCond %{REQUEST_URI} ^/home-1$ diff --git a/templates/shop-basket/basket.php b/templates/shop-basket/basket.php index c39c0e4..c4f678d 100644 --- a/templates/shop-basket/basket.php +++ b/templates/shop-basket/basket.php @@ -6,7 +6,7 @@ Chcesz skorzystać z odroczonych płatności ? Wybierz jedną z form dostawy: odbiór osobisty, Paczkomaty InPost - przedpłata lub Kurier - przedpłata.
Wartość zamówienia musi mieścić się w przedziale od 40 zł do 1000 zł. - basket ) and count( $this -> basket ) ):?> + basket ) and count( $this -> basket ) ):?>
@@ -18,6 +18,12 @@
+ + +
:
@@ -38,6 +44,7 @@