Index: www-lp/www/product_info.php =================================================================== diff -u -r4 -r20 --- www-lp/www/product_info.php (.../product_info.php) (revision 4) +++ www-lp/www/product_info.php (.../product_info.php) (revision 20) @@ -1132,6 +1132,8 @@ else if (is_pro_customer() == true) { $customerProfile = 'Professionnel'; } + // VDALLOWPB : enable css formatting for end-user + $customerProfile = 'Professionnel'; // ([43])-->[VTAB-TEAM-LINDER-PARTNER-1][OSC][SubTaskDescription]::END ?> BEGIN[VTAB-TEAM-LINDER-PARTNER-1][OSC][SubTaskDescription]::END ?> Index: www-lp/www/includes/classes/PriceFormatter.php =================================================================== diff -u -r4 -r20 --- www-lp/www/includes/classes/PriceFormatter.php (.../PriceFormatter.php) (revision 4) +++ www-lp/www/includes/classes/PriceFormatter.php (.../PriceFormatter.php) (revision 20) @@ -54,7 +54,11 @@ if ( is_pro_customer() or ! is_null($price_breaks_from_listing) ) // on fournit une liste dans $price_breaks_from_listing, on doit donc autoriser les prix par palier $this->price_breaks_allowed = true; else - $this->price_breaks_allowed = false; + { + // VDALLOWPB + $this->price_breaks_allowed = true; // on autorise tout le monde a voir les prix par pallier + // $this->price_breaks_allowed = false; + } // <- OSC-94 - Prix par palier reservĂ© aux professionnels $this->Partner_price = -1; @@ -1236,10 +1240,16 @@ } // ([7])-->[VTAB-TEAM-LINDER-PARTNER-1][OSC][SubTaskDescription]::END } else { - $cssClassOfTableDisplayPriceBreak = '--pleaseNotDisplayMyPriceTable ---orAdaptFor --standardOrVisitorCustomer'; + // VDALLOWPB + // $cssClassOfTableDisplayPriceBreak = '--pleaseNotDisplayMyPriceTable ---orAdaptFor --standardOrVisitorCustomer'; + $cssClassOfTableDisplayPriceBreak = '--pleaseDisplayMyPriceTable ---orAdaptFor --proOrPartnerCustomer'; + // $customerProfile = 'pf:Professionnel'; } } else { - $cssClassOfTableDisplayPriceBreak = '--pleaseNotDisplayMyPriceTable ---orAdaptFor --standardOrVisitorCustomer'; + // VDALLOWPB + // $cssClassOfTableDisplayPriceBreak = '--pleaseNotDisplayMyPriceTable ---orAdaptFor --standardOrVisitorCustomer'; + $cssClassOfTableDisplayPriceBreak = '--pleaseDisplayMyPriceTable ---orAdaptFor --proOrPartnerCustomer'; + // $customerProfile = 'pf:Professionnel'; } // ([18])-->[SI-LINDER-PARTNER-2][OSC][SubTaskDescription]::END @@ -1309,7 +1319,10 @@ . $price_break['products_qty'] .'+ '; } + // VDALLOWPB : do not display price in HT for end-user + if ($affichageTTC == 'Non!') { + // -> OSC-70 : Gestion HT/TTC : affichage prix HT et TTC /* * Modification informative du texte d'une ligne dans le tableau des prix par palliers @@ -1483,8 +1496,11 @@ // ([5])-->[SI-LINDER-PARTNER-2][OSC][SubTaskDescription]::END $lc_text .= ''; + // VDALLOWPB : do not display price in HT for end-user + } + // ([7])-->[SI-LINDER-PARTNER-2][OSC][SubTaskDescription]::BEGIN if ($affichageTTC != 'Non!' and $affichageTTC == 'Oui!') { // -> OSC-70 : Gestion HT/TTC : affichage prix HT et TTC