您好,我先前有下載了貴公司的彩虹購物車家用版,覺得蠻好用的,但現在欲跟某一會員制購物網做互相聯結,條件是他們必須在我們的購物車中插入某些程式碼,才能明確辨別客戶流向,但因我本身對程式內容不是太懂,想請貴公司能協助處理,附上程式碼的說明檔,想請問此彩虹購物車系統可否如此操作??又該如何修改??
附上我欲插入的程式碼說明,希望能盡快得到貴公司的回覆.
This is the cookie code that would need to be put on the home page:
< ------------------------- Put this in the Header, must load first --------------------------->
<? php
setcookie("ID", $ _ GET['RID']);
? >
< ------------------------- End Code for Home Page --------------------------->
< ------------------------- Put this in the header of the checkout page or wherever you choose to call this cookie and where it can be submitted with the order --------------------->
<? php
if(isset($ _ COOKIE['RID']))
{
$RID = $ _ COOKIE['RID'];
}
? >
< -------------------------- Put this code in the input code area of your form ----------------------------------->
<input name ="ID" type ="" value ="<? echo $RID ? >" readonly ="true" size ="9" >
< ------------------------------------------ End of Code -------------------------------------------------------->
謝謝 !!