質問 > フロント機能 > A8FLYタグを設置したいのです |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
pyocoro |
投稿日時: 2014/10/28 13:39
対応状況: −−−
|
新米 登録日: 2014/10/28 居住地: 投稿: 3 |
A8FLYタグを設置したいのです アフィリエイトサービスのA8のタグを設置したいのですが、うまく行きません。
どなたか助けていただけませんか。 「商品購入/ご注文完了ページ」に下記のタグを設置したいのです。 <img src="https://px.a8.net/cgi-bin/a8fly/sales?pid=プログラムID&so=申込番号&si=商品単品価格.個数.合計金額.商品コード" width="1" height="1"> それで、下記の記載をしたのですが、複数種類の商品を購入した時に1種類しか反映されません。 =============== <img src="https://px.a8.net/cgi-bin/a8fly/sales?pid=プログラムID&so=<!--{$order_id}-->&si=<!--{$price}-->.<!--{$quantity}-->.<!--{$subtotal_exctax}-->.<!--{$product_code}-->" width="1" height="1"> =============== LC_Page_Shopping_Complete.php に以下記載をして、 それぞれの値の取得には成功しているのですが。。。 =============== /** * Page のアクション. * * @return void */ function action() { $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); // 注文IDを取得 $this->order_id = $_SESSION['order_id']; // 商品単価、数量、商品コードを取得 $objQuery = SC_Query::getSingletonInstance(); $col = 'price,quantity,product_code'; $table = 'dtb_order_detail'; $where = 'order_id = ?'; $arrval = array($this->order_id); $arrRet = $objQuery->select($col, $table, $where, $arrval); $this->price = $arrRet[0]['price']; $this->quantity = $arrRet[0]['quantity']; $this->product_code = $arrRet[0]['product_code']; // 小計価格(税抜)の取得 $objQuery = SC_Query::getSingletonInstance(); $col = 'subtotal, tax'; $table = 'dtb_order'; $where = 'order_id = ?'; $arrval = array($this->order_id); $arrRet = $objQuery->select($col, $table, $where, $arrval); $this->subtotal_exctax = $arrRet[0]['subtotal'] - $arrRet[0]['tax']; unset($_SESSION['order_id']); } =============== A8プログラムidが2つあるのですが、 A8タグ設置のプラグインが1つのプログラムにしか対応していないため、使用できません。 どうぞ宜しくお願いいたします。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» A8FLYタグを設置したいのです | pyocoro | 2014/10/28 13:39 |
Re: A8FLYタグを設置したいのです | yuh | 2014/10/28 13:45 |
Re: A8FLYタグを設置したいのです | pyocoro | 2014/10/28 13:52 |
Re: A8FLYタグを設置したいのです | yuh | 2014/10/28 14:13 |