src/ShopAffiliateBundle/objects/db/TPkgShopAffiliate.class.php
public static function RenderOrderSuccessHTMLCode()
    {
        $sHTML = '';
        $oUserOrder = &TShopBasket::GetLastCreatedOrder();
        $oProgram = TdbPkgShopAffiliate::GetActiveInstance();
        if ($oUserOrder && $oProgram) {
            $sHTML = $oProgram->RenderHTMLCode($oUserOrder);
        }

        return $sHTML;
    }
public static function RenderOrderSuccessHTMLCode()
    {
        $sHTML = '';
        $oUserOrder = &TShopBasket::GetLastCreatedOrder();
        $oProgram = TdbPkgShopAffiliate::GetActiveInstance();
        if ($oUserOrder && $oProgram) {
            $sHTML = $oProgram->RenderHTMLCode($oUserOrder);
        }

        return $sHTML;
    }
public static function RenderOrderSuccessHTMLCode ( ) { $ sHTML = '' ; $ oUserOrder = & TShopBasket :: GetLastCreatedOrder ( ) ; $ oProgram = TdbPkgShopAffiliate :: GetActiveInstance ( ) ; if ( $ oUserOrder && $ oProgram ) { $ sHTML = $ oProgram -> RenderHTMLCode ( $ oUserOrder ) ; } return $ sHTML ; }
call this method in the order success view to generate the success html for the partner program.

@return string
call this method in the order success view to generate the success html for the partner program .