feat: localize landing page content and update icon asset paths

This commit is contained in:
Ümit Tunç
2026-05-11 10:04:58 +03:00
parent 3512858304
commit 1950e8734c
3 changed files with 38 additions and 27 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ class ProductController extends Controller
return view($product->view_template, compact('product', 'settings', 'renderedHeader', 'renderedFooter', 'meta'));
}
// Use landing page template if landing_page_data exists and product type is 'product'
if ($product->type === 'product' && !empty($product->landing_page_data)) {
// Use landing page template if landing_page_data exists
if (!empty($product->landing_page_data)) {
return view('front.products.landing', compact('product', 'settings', 'renderedHeader', 'renderedFooter', 'meta'));
}