feat: Add Supplemental Feeds feature with UI and backend support
- Implemented the main view for Supplemental Feeds, displaying clients with Merchant Account IDs and their associated feed files. - Added styling for the feeds page and its components, including headers, empty states, and dropdown menus for syncing actions. - Created backend logic to generate supplemental feeds for clients, including file handling and data sanitization. - Integrated new routes and views for managing feeds, ensuring proper data retrieval and display. - Updated navigation to include the new Supplemental Feeds section. - Added necessary documentation for CRON job management related to feed generation.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<body class="logged">
|
||||
<?php
|
||||
$module = $this -> current_module;
|
||||
$google_ads_modules = [ 'campaigns', 'campaign_terms', 'products', 'campaign_alerts', 'clients' ];
|
||||
$google_ads_modules = [ 'campaigns', 'campaign_terms', 'products', 'campaign_alerts', 'clients', 'feeds' ];
|
||||
$is_google_ads_module = in_array( $module, $google_ads_modules, true );
|
||||
$facebook_ads_modules = [ 'facebook_ads' ];
|
||||
$is_facebook_ads_module = in_array( $module, $facebook_ads_modules, true );
|
||||
@@ -95,6 +95,12 @@
|
||||
<span>Klienci</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<?= $module === 'feeds' ? 'active' : '' ?>">
|
||||
<a href="/feeds">
|
||||
<i class="fa-solid fa-file-csv"></i>
|
||||
<span>Supplemental Feeds</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-group <?= $is_facebook_ads_module ? 'active' : '' ?>">
|
||||
@@ -162,6 +168,7 @@
|
||||
'products' => 'Produkty',
|
||||
'campaign_alerts' => 'Alerty',
|
||||
'clients' => 'Klienci',
|
||||
'feeds' => 'Supplemental Feeds',
|
||||
'facebook_ads' => 'Facebook Ads',
|
||||
'allegro' => 'Allegro import',
|
||||
'logs' => 'Logi',
|
||||
|
||||
Reference in New Issue
Block a user