Promotions

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 (1,178 s)

Requêtes (44)

Erreurs (0)

  • Mémoire utilisée par PHP : 12,07 Mo
  • Pic mémoire allouée par PHP : 15,57 Mo
  • Temps d'execution du script : 1.178 s
  • Lang :
  • Path : promotion
  • Route : mosaicEtiquette
  • $okt->page->module : mosaic
  • $okt->page->action :
ID Query Time
1
SET NAMES utf8mb4
0.00046
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.00223
3
UPDATE oktopusV3_core_users_online SET logged=1606700415,
prev_url='https://www.la-ferme-barry.com/promotion' WHERE
ident='34.200.252.156'
0.00069
4
UPDATE oktopusV3_mod_news SET active = 1
                           WHERE active = 3 AND NOW() >
created_at 
0.00069
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.00098
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.promo = '1' ORDER BY
p.date_creation DESC
0.00237
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.promo = '1' ORDER BY
p.date_creation DESC LIMIT 0,20
0.00261
8
SELECT id, language, valeur FROM
oktopusV3_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00132
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.00134
10
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '5'
0.00084
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.00111
12
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '5'
0.00049
13
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '5'
0.00046
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.00043
15
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '5'
0.00041
16
SELECT id, language, valeur FROM
oktopusV3_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00053
17
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV3_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '4' ORDER BY position 
0.00057
18
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '4'
0.00054
19

            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='6'
0.00059
20
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '6'
0.00068
21
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '4'
0.00045
22

            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='6'
0.00046
23
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '6'
0.00041
24
SELECT id, language, valeur FROM
oktopusV3_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00045
25
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV3_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '3' ORDER BY position 
0.00083
26
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '3'
0.00052
27

            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='2'
0.00057
28
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
0.00060
29
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '3'
0.00043
30

            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='2'
0.00043
31
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
0.00068
32
SELECT id, language, valeur FROM
oktopusV3_mod_mosaic_locales
					  WHERE `table` = 'produit_photo'
0.00039
33
 SELECT p.id_produit_photo AS id, p.* FROM
oktopusV3_mod_mosaic_produit_photo p WHERE 1 AND actif = '1'
AND id_produit = '1' ORDER BY position 
0.00054
34
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '1'
0.00056
35

            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='2'
0.00062
36
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
0.00048
37
SELECT * FROM oktopusV3_mod_mosaic_produit_locales WHERE
id_produit = '1'
0.00061
38

            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='2'
0.00045
39
SELECT * FROM oktopusV3_mod_mosaic_rubrique_locales WHERE
id_rubrique = '2'
0.00041
40
SELECT *, DATE_FORMAT(livraison_date, '%d/%m/%Y') AS
livraison_date_fr
                   FROM oktopusV3_mod_mosaic_panier WHERE
id_client = 'tmp_5fc44d7fe7e4b'
0.00074
41
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.00092
42
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.00079
43
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('/promotion',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00085
44
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('/promotion',
pl.rubrique_slug) > 0) ORDER BY p.rubrique DESC
0.00061
# type fichier ligne classe fonction message