Witam,
będę bardzo wdzięczny za pomoc w odpowiednim wstawieniu skryptu:
Open your order confirmation or "thank you for order" page template, and put the following code somewhere onto the page
Kod
<script type="text/javascript">
document.write(unescape("%3Cscript id=%27pap_x2s6df8d%27 src=%27" + (("https:" == document.location.protocol) ? "https://" : "http://") + "mojadomena.postaffiliatepro.com/scripts/trackjs.js%27 type=%27text/javascript%27%3E%3C/script%3E"));
</script> <script type="text/javascript">
PostAffTracker.setAccountId('default1');
var sale = PostAffTracker.createSale();
sale.setTotalCost('120.50');
sale.setOrderID('ORD_12345XYZ');
sale.setProductID('test product');
PostAffTracker.register();
</script>

where the parameters in setTotalCost(), setOrderID() and setProductID() should be replaced with correct values.
Total Cost (mandatory for % commissions) - price of the product
Order ID (optional) - can be your unique generated order ID to cross-check the sale.
Product ID (optional) - the ID of the product bought.

Strona nie zawiera żadnych html'ek sensownych, jedyny plik, gdzie są te wartości to kontroler koszyka, którego interesujący fragment (całości nie wstawiam bo ma 1,5 tys linii) wygląda tak:
  1. $query = '
  2. INSERT INTO `sklep_zam_pro`
  3. SET
  4. `sklep_zam_id` = '.$this->nr_zamowienia.',
  5. `produkt` = " '.addslasheS(stripslashes($item['name'])).' '.$item['rozmiar'].' ",
  6. `ilosc` = "'.$item['count'].'",
  7. `cena_netto` = "'.(($item['z_rabatem_netto']) ? $item['z_rabatem_netto'] : $item['cena_netto']).'",
  8. `cena_brutto` = "'.(($item['z_rabatem_brutto'] != '0.00') ? $item['z_rabatem_brutto'] : $item['cena_brutto']).'",
  9. `nr_kat` = "'.$item['nr_kat'].'",
  10. `kolor` = "'.$item['kolor'].'",
  11. `rozmiar` = "'.$item['rozmiar'].'",
  12. `den` = "'.$item['den'].'",
  13. `sklep_pro_id` = "'.$item['id'].'"
  14. ';
  15.  
  16. $query2 = 'INSERT INTO `sklep_states_to_products` set key_id=8, product_id ='. $item['id'] ;

No ale w php nie wstawie chyba tego skryptu? Ratujcie! Co zrobić?