parent
95eb0abd1c
commit
c816acca02
@ -1,55 +1 @@
|
||||
[(#REM) inclure le menu avec identifiant zcommerce ]
|
||||
[(#INCLURE{fond=inclure/menu, env, identifiant=zcommerce}|trim|sinon{
|
||||
[(#REM) sinon inclure le menuzcommerce ]
|
||||
[(#INCLURE{fond=inclure/menuzcommerce,env})]
|
||||
})]
|
||||
|
||||
<div id="contenu_zcommerce">
|
||||
[(#REM) 1 -la boutique ]
|
||||
<BOUCLE_test(CONDITION){si #ENV{appel}|=={""}|oui}>
|
||||
[(#PLUGIN{produits}|oui)
|
||||
<INCLURE{fond=inclure/les_produits}{env}>
|
||||
]
|
||||
[(#PLUGIN{abonnement}|oui)
|
||||
<INCLURE{fond=inclure/les_abonnements}{env}>
|
||||
]
|
||||
[(#PLUGIN{zaboarticle}|oui)
|
||||
<INCLURE{fond=inclure/les_articles}{env}>
|
||||
]
|
||||
|
||||
[(#REM) articles avec un champ prix non vide. Tester d'abord l'existence du champ prix dans la table articles]
|
||||
<BOUCLE_articles(ARTICLES)>[(#PRIX*|>{0}|oui) #SET{article_prix,#PRIX}]</BOUCLE_articles>
|
||||
[(#GET{article_prix}|oui)
|
||||
<INCLURE{fond=inclure/les_articles_precieux}{env}>]
|
||||
</B_articles>
|
||||
|
||||
[(#REM) documents avec un champ prix non vide. Tester d'abord l'existence du champ prix dans la table documents]
|
||||
<BOUCLE_documents(DOCUMENTS)>[(#PRIX*|>{0}|oui) #SET{document_prix,#PRIX}]</BOUCLE_documents>
|
||||
[(#GET{document_prix}|oui)
|
||||
<INCLURE{fond=inclure/les_documents_precieux}{env}>]
|
||||
</B_documents>
|
||||
|
||||
[(#URL_PAGE{z-commerce}|parametre_url{appel,mon_panier}|lien_ou_expose{<:zcommerce:continuer:>,'',continuer})]
|
||||
#SET{stop,oui}
|
||||
</BOUCLE_test>
|
||||
|
||||
[(#REM) 2 - mon_panier ]
|
||||
[(#ENV{appel}|=={"mon_panier"}|oui)
|
||||
<INCLURE{fond=inclure/mon_panier}{env}>
|
||||
#SET{stop,oui}
|
||||
]
|
||||
|
||||
[(#REM) 3 - mes_coordonnees ]
|
||||
[(#ENV{appel}|=={"mes_coordonnees"}|oui)
|
||||
<INCLURE{fond=inclure/mes_coordonnees}{env}>
|
||||
#SET{stop,oui}
|
||||
]
|
||||
[(#ENV{appel}|=={""}|non|et{#ENV{appel}|=={"mon_panier"}|non}|et{#ENV{appel}|=={"mes_coordonnees"}|non}|et{#SESSION{id_auteur}|non})
|
||||
<h4>[(#URL_PAGE{z-commerce}|parametre_url{appel,mes_coordonnees}|lien_ou_expose{<:zcommerce:veuillez_vous_connecter:>})]</h4>
|
||||
#SET{stop,oui}
|
||||
]
|
||||
[(#GET{stop}|=={oui}|non)
|
||||
<INCLURE{fond=inclure/#ENV{appel}}{env}>
|
||||
]
|
||||
|
||||
</div>
|
||||
[(#INCLURE{fond=contenu/page-z-commerce,env})]
|
@ -1,3 +1,3 @@
|
||||
<h1><:zcommerce:nouvelle_adresse_de:> #ENV{type_adresse}</h1>
|
||||
#FORMULAIRE_EDITER_ADRESSE{#ENV{_id_adresse},commande,#ENV{_id_commande},#ENV{retour}}
|
||||
#FORMULAIRE_EDITER_ADRESSE{#ENV{_id_adresse},#ENV{retour}}
|
||||
[(#URL_PAGE{z-commerce}|parametre_url{appel,paiement}|lien_ou_expose{<:zcommerce:annuler:>,'',annuler})]
|
||||
|
Loading…
Reference in New Issue