Commit Graph

11 Commits

Author SHA1 Message Date
3ecbe628dc Add view classes for articles, banners, languages, menu, newsletter, containers, shop categories, clients, payment methods, products, and search
- Created Articles.php for rendering article views including full articles, miniature lists, and news sections.
- Added Banners.php for handling banner displays.
- Introduced Languages.php for rendering language options.
- Implemented Menu.php for dynamic menu rendering.
- Developed Newsletter.php for newsletter view rendering.
- Created Scontainers.php for rendering specific containers.
- Added ShopCategory.php for category descriptions and product listings.
- Introduced ShopClient.php for managing client-related views such as address editing and order history.
- Implemented ShopPaymentMethod.php for displaying payment methods in the basket.
- Created ShopProduct.php for generating product URLs.
- Added ShopSearch.php for rendering a simple search form.
- Added .htaccess file to enhance security by restricting access to sensitive files and directories.
2026-02-21 23:00:15 +01:00
a1a85e8489 Dodanie obsługi błędów dla integracji z APILO w przypadku braku punktu ORLEN PACZKA w zamówieniu 2025-10-26 23:16:40 +01:00
9f41550a95 Dodanie obsługi tokenów przesyłania i kluczy RFM w edytorach artykułów, banerów i produktów; aktualizacja adresu URL do changeloga w widoku aktualizacji; usunięcie plików .DS_Store z katalogów szablonów. 2025-10-01 09:03:07 +02:00
a25de121ec update 2025-08-19 20:32:58 +02:00
580a615c54 Usunięcie plików .DS_Store z katalogów autoload, templates i templates_user 2025-07-14 14:59:00 +02:00
2bfa25bb3c update 2025-06-04 22:07:56 +02:00
813567af69 Usunięcie plików .DS_Store z katalogów autoload, templates i templates_user 2025-04-16 08:28:00 +02:00
abb5e0aa31 Poprawa obsługi Google Tag Manager w szablonie produktu 2025-03-21 23:08:18 +01:00
a475c87287 Refactor deleting product and updating SEO links
This commit refactors the code in the ShopProduct class to improve the process of deleting a product and updating the SEO links. It adds new database queries to delete entries from the pp_routes and pp_redirects tables when a product is deleted. It also updates the SEO links for translated product names, ensuring that the new SEO link is generated correctly and checking for any existing redirects before adding a new one. Additionally, the commit adds a new function, canAddRedirect, to check for cycles in the redirect map before adding a new redirect.

Refactor deleting product and updating SEO links in class.S

This commit refactors the clear_redis_cache function in the S class to improve the process of updating the routes and redirects in the .htaccess file. It adds new database queries to delete entries from the pp_routes table and updates the code to generate the RewriteRule directives for the routes. It also adds a new condition to the .htaccess file to skip rewriting requests for existing files and directories.

Refactor retrieving subcategories in class.Category

This commit refactors the getCategoryData function in the Category class to improve the process of retrieving subcategories. It removes the ORDER clause from the database query to retrieve subcategories, allowing the categories to be returned in their natural order. This change ensures that the subcategories are displayed correctly in the category navigation.

Check redirects and routes in index.php

This commit adds new code to the index.php file to check for redirects and routes before processing the request. It checks if the requested URL matches any entries in the pp_redirects table and redirects the user to the new URL if a match is found. It also checks if the requested URL matches any entries in the pp_routes table and parses the destination to extract GET parameters if a match is found. This change improves the handling of redirects and routes in the application.
2024-10-27 21:49:36 +01:00
eeaa77b244 Refactor Instagram box component to use Splide slider 2024-10-23 12:57:48 +02:00
85c92aa932 first commit 2024-10-23 12:55:46 +02:00