![]() |
PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Go to the source code of this file.
Functions | |
| if(!defined('IN_PEEL')) | get_bill_number ($bill_number_format, $id, $generate_bill_number_if_empty=true) |
| Fonction qui génère le numéro de facture pour la facture n° $id à partir du format défini dans les paramètres du site. More... | |
| accounting_insert_transaction ($order_id, $technical_code, $data) | |
| Crée une transaction d'encaissement. More... | |
| update_order_payment_status ($order_id, $status_or_is_payment_validated, $allow_update_paid_orders=true, $statut_livraison_new=null, $delivery_tracking=null, $no_stock_decrement_already_done=false, $payment_technical_code=null) | |
| Met à jour le status de paiement et/ou de livraison d'une commande, et gère les stocks suivant le status avant et après modification. More... | |
| put_session_commande (&$frm) | |
| Récupère les informations du tableau $frm pour les mettre de manière standardisée dans $_SESSION['session_commande']. More... | |
| create_or_update_order (&$order_infos, &$articles_array) | |
| Crée ou modifie une commande en base de données, ainsi que les produits commandés. More... | |
| email_commande ($order_id) | |
| email_commande() More... | |
| send_mail_order_admin ($order_id) | |
| send_mail_order_admin() More... | |
| get_payment_name ($id_or_code) | |
| get_payment_name() More... | |
| get_payment_status_name ($id) | |
| get_payment_status_name() More... | |
| get_delivery_status_name ($id) | |
| get_delivery_status_name() More... | |
| get_delivery_type_name ($id) | |
| get_delivery_type_name() More... | |
| get_needed_for_free_delivery ($total_weight, $total_price, $type_id=null, $zone_id=null, $nb_product=1) | |
| get_needed_for_free_delivery() More... | |
| get_delivery_cost_infos ($total_weight, $total_price, $type_id=null, $zone_id=null, $nb_product=1) | |
| Calcul des frais de livraison Si type_id est vide, on récupère les tarifs en excluant les tarifs=0 qui correspondent a priori à des points de retrait => si on ne trouve pas de tarif on prendra 0 par défaut Remarques : More... | |
| get_payment_technical_code ($id_or_code) | |
| get_payment_technical_code() More... | |
| get_vat_array ($code_facture) | |
| Fonction permettant l'affichage des taux de TVA dans les factures. More... | |
| get_order_infos_array ($order_object) | |
| get_order_infos_array() More... | |
| get_product_infos_array_in_order ($order_id, $devise=null, $currency_rate=null, $order_by=null, $add_total_prix_attribut=false) | |
| get_product_infos_array_in_order() More... | |
| get_payment_form ($order_id, $forced_type=null, $send_admin_email=false, $amount_to_pay=0, $allow_autosend=true) | |
| Renvoie le formulaire de paiement. More... | |
| is_order_modification_allowed ($order_datetime) | |
| Renvoie si il est autorisé de modifier une commande. More... | |
| get_order_id ($id=null) | |
| Fonction qui génère le numéro de commande comptable. More... | |
| accounting_insert_transaction | ( | $order_id, | |
| $technical_code, | |||
| $data | |||
| ) |
| create_or_update_order | ( | & | $order_infos, |
| & | $articles_array | ||
| ) |
| email_commande | ( | $order_id | ) |
| if (!defined('IN_PEEL')) get_bill_number | ( | $bill_number_format, | |
| $id, | |||
$generate_bill_number_if_empty = true |
|||
| ) |
| get_delivery_cost_infos | ( | $total_weight, | |
| $total_price, | |||
$type_id = null, |
|||
$zone_id = null, |
|||
$nb_product = 1 |
|||
| ) |
Calcul des frais de livraison Si type_id est vide, on récupère les tarifs en excluant les tarifs=0 qui correspondent a priori à des points de retrait => si on ne trouve pas de tarif on prendra 0 par défaut Remarques :
| float | $total_weight | |
| float | $total_price | |
| integer | $type_id | |
| integer | $zone_id | |
| integer | $nb_product |
| get_delivery_status_name | ( | $id | ) |
| get_delivery_type_name | ( | $id | ) |
| get_needed_for_free_delivery | ( | $total_weight, | |
| $total_price, | |||
$type_id = null, |
|||
$zone_id = null, |
|||
$nb_product = 1 |
|||
| ) |
get_needed_for_free_delivery()
| float | $total_weight | |
| float | $total_price | |
| integer | $type_id | |
| integer | $zone_id | |
| integer | $nb_product |
| get_order_id | ( | $id = null | ) |
| get_order_infos_array | ( | $order_object | ) |
| mixed | $order_object |
| get_payment_form | ( | $order_id, | |
$forced_type = null, |
|||
$send_admin_email = false, |
|||
$amount_to_pay = 0, |
|||
$allow_autosend = true |
|||
| ) |
| get_payment_name | ( | $id_or_code | ) |
| mixed | $id_or_code | Id or technical_code of the payment mean |
| get_payment_status_name | ( | $id | ) |
| get_payment_technical_code | ( | $id_or_code | ) |
| mixed | $id_or_code |
| get_product_infos_array_in_order | ( | $order_id, | |
$devise = null, |
|||
$currency_rate = null, |
|||
$order_by = null, |
|||
$add_total_prix_attribut = false |
|||
| ) |
get_product_infos_array_in_order()
| integer | $order_id | |
| mixed | $devise | |
| mixed | $currency_rate | |
| mixed | $order_by | |
| boolean | $add_total_prix_attribut |
| get_vat_array | ( | $code_facture | ) |
| is_order_modification_allowed | ( | $order_datetime | ) |
| put_session_commande | ( | & | $frm | ) |
| send_mail_order_admin | ( | $order_id | ) |
| integer | $order_id |
| update_order_payment_status | ( | $order_id, | |
| $status_or_is_payment_validated, | |||
$allow_update_paid_orders = true, |
|||
$statut_livraison_new = null, |
|||
$delivery_tracking = null, |
|||
$no_stock_decrement_already_done = false, |
|||
$payment_technical_code = null |
|||
| ) |
Met à jour le status de paiement et/ou de livraison d'une commande, et gère les stocks suivant le status avant et après modification.
| integer | $order_id | |
| mixed | $status_or_is_payment_validated | Variable booléenne pour dire si c'est validé ou non, ou nombre avec le statut |
| boolean | $allow_update_paid_orders | |
| integer | $statut_livraison_new | |
| boolean | $delivery_tracking | |
| boolean | $no_stock_decrement_already_done | |
| mixed | $payment_technical_code |
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:40 -
is a product of
SAS. All rights reserved.