Produits phares

S'abonner à la newsletter

Resté(e) informé(e) de la vie de la Ferme Barry en vous abonnant à notre lettre d'information (arrivage, stock, promotion, recette...)

loader

Chargement, veuillez patienter…

 

Profiler (0,757 s)

Requêtes (20)

Erreurs (0)

  • Mémoire utilisée par PHP : 10,88 Mo
  • Pic mémoire allouée par PHP : 11,98 Mo
  • Temps d'execution du script : 0.757 s
  • Lang :
  • Path : phare
  • Route : mosaicEtiquette
  • $okt->page->module : mosaic
  • $okt->page->action :
ID Query Time
1
SET NAMES utf8mb4
0.00011
2
SELECT u.*, g.*, o.logged, o.csrf_token, o.prev_url FROM
oktopusV3_core_users AS u INNER JOIN
oktopusV3_core_users_groups AS g ON g.group_id=u.group_id
LEFT JOIN oktopusV3_core_users_online AS o ON
o.ident='34.200.252.156' WHERE u.id=1
0.00078
3
UPDATE oktopusV3_core_users_online SET logged=1606702706,
prev_url='https://www.la-ferme-barry.com/phare' WHERE
ident='34.200.252.156'
0.00024
4
UPDATE oktopusV3_mod_news SET active = 1
                           WHERE active = 3 AND NOW() >
created_at 
0.00042
5
UPDATE oktopusV3_mod_news SET active = 0
                              WHERE active = 1 AND end_at !=
"0000-00-00 00:00:00" 
                              AND NOW() > end_at 
0.00022
6
SELECT COUNT(DISTINCT p.id_produit), m.nom AS nomMarque,
mo.nom AS nomModele  FROM (oktopusV3_mod_mosaic_produit p,
oktopusV3_mod_mosaic_produit_locales pl)
						  LEFT JOIN oktopusV3_mod_mosaic_marque m ON
p.id_marque = m.id_marque
						  LEFT JOIN oktopusV3_mod_mosaic_modele mo ON
p.id_modele = mo.id_modele 
						  LEFT JOIN oktopusV3_mod_mosaic_produit_rubrique pr
ON pr.id_produit = p.id_produit 
						  LEFT JOIN oktopusV3_mod_mosaic_rubrique r ON
pr.id_rubrique = r.id_rubrique 
						  WHERE p.actif = 1 AND p.id_produit = pl.id_produit
AND pl.language = 'fr'  AND p.phare = '1' ORDER BY
p.date_creation DESC
0.00121
7
SELECT DISTINCT m.nom AS nomMarque, mo.nom AS nomModele,
p.*, pl.*, r.type_affichage,
                                 IF(1, promo, NOW() BETWEEN
debut_promo AND fin_promo) AS promo,
                                 IF(1, nouveaute, NOW()
BETWEEN debut_nouveaute AND fin_nouveaute) AS nouveaute,
                                 IF(1, phare, NOW() BETWEEN
debut_phare AND fin_phare) AS phare FROM
(oktopusV3_mod_mosaic_produit p,
oktopusV3_mod_mosaic_produit_locales pl)
						  LEFT JOIN oktopusV3_mod_mosaic_marque m ON
p.id_marque = m.id_marque
						  LEFT JOIN oktopusV3_mod_mosaic_modele mo ON
p.id_modele = mo.id_modele 
						  LEFT JOIN oktopusV3_mod_mosaic_produit_rubrique pr
ON pr.id_produit = p.id_produit 
						  LEFT JOIN oktopusV3_mod_mosaic_rubrique r ON
pr.id_rubrique = r.id_rubrique 
						  WHERE p.actif = 1 AND p.id_produit = pl.id_produit
AND pl.language = 'fr'  AND p.phare = '1' ORDER BY
p.date_creation DESC LIMIT 0,20
0.00217
8
SELECT id, language, valeur FROM
oktopusV3_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00042
9
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV3_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '5' ORDER BY position 
0.00038
10
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '5'
0.00028
11

            SELECT r.*, rl.* FROM
oktopusV3_mod_mosaic_rubrique r
            JOIN oktopusV3_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='5'
0.00035
12
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '5'
0.00018
13
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '5'
0.00016
14

            SELECT r.*, rl.* FROM
oktopusV3_mod_mosaic_rubrique r
            JOIN oktopusV3_mod_mosaic_rubrique_locales rl ON
rl.id_rubrique = r.id_rubrique AND rl.language = 'fr'
            WHERE r.id_rubrique='5'
0.00012
15
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '5'
0.00011
16
SELECT *, DATE_FORMAT(livraison_date, '%d/%m/%Y') AS
livraison_date_fr
                   FROM oktopusV3_mod_mosaic_panier WHERE
id_client = 'tmp_5fc456729abf4'
0.00038
17
SELECT p.date, pd.*, po.id_tva FROM
oktopusV3_mod_mosaic_panier AS p
                    LEFT JOIN
oktopusV3_mod_mosaic_panier_detail AS pd ON p.id_panier =
pd.id_panier
                    LEFT JOIN oktopusV3_mod_mosaic_produit
AS po ON pd.id_produit = po.id_produit WHERE p.id_client =
''
0.00034
18
SELECT f.montant, z.franco_port
                     FROM oktopusV3_mod_mosaic_frais_port f,
oktopusV3_mod_geographie_zone z ,
oktopusV3_mod_mosaic_tranche_poids p
                     WHERE f.id_zone = z.id_zone AND
f.id_zone = 6 AND f.id_transporteur = 1 AND
f.id_tranche_poids = p.id_tranche_poids
                           AND '0' BETWEEN p.tranche_min AND
p.tranche_max 
0.00047
19
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV3_mod_home_popup p
                      LEFT JOIN
oktopusV3_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR FIND_IN_SET('/phare',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00072
20
SELECT p.*, pl.*,
                         DATE_FORMAT(p.debut, '%d/%m/%Y') as
debut_fr,
                         DATE_FORMAT(p.fin, '%d/%m/%Y') as
fin_fr,
                         DATE_FORMAT(p.date_creation,
'%d/%m/%Y %H:%i:%s') as date_creation_fr,
                         DATE_FORMAT(p.date_modification,
'%d/%m/%Y %H:%i:%s') as date_modification_fr
                      FROM oktopusV3_mod_home_popup p
                      LEFT JOIN
oktopusV3_mod_home_popup_locales pl ON pl.id_popup =
p.id_popup AND pl.language = 'fr'
                      WHERE 1 AND (
                                        CURDATE() BETWEEN
p.debut AND p.fin
                                        OR (p.debut =
'0000-00-00 00:00:00' AND p.fin = '0000-00-00 00:00:00')
                                    )AND pl.content <> ''
AND (p.rubrique = '' OR FIND_IN_SET('/phare',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00035
# type fichier ligne classe fonction message