Entries
AWS.ParameterOutOfRange ItemPage として指定した値は無効です。有効な値は、1から400までのものです。
ページ遷移はとりあえず、
<xsl:if test="$i <= 400">
にしとけばOK!
AWS.RestrictedParameterValueCombinationリクエストには、使用できないパラメータの組み合わせが含まれています。SearchIndexがBlendedである場合、 Sortは使えません。
使えないなら、使わないようにすればいいだけのこと。
さぁ、、あ、あああぁ?
The Operation parameter is invalid. Please modify the Operation parameter and retry. Valid values for the Operation parameter include TagLookup, ListLookup, CartGet, SellerListingLookup, CustomerContentLookup, ItemLookup, SimilarityLookup, SellerLookup, ItemSearch, VehiclePartLookup, BrowseNodeLookup, CartModify, ListSearch, CartClear, VehiclePartSearch, CustomerContentSearch, CartCreate, TransactionLookup, VehicleSearch, SellerListingSearch, CartAdd, Help.
パラーメータ間違ったな・・・。
まずはパラメータの取得から。
<xsl:variable name="sortparam" select="aws:Items/aws:Request/aws:ItemSearchRequest/aws:Sort" />
次に、プルダウンを生成。
<select name="sortValue">
<option value="0">--ならび替え--</option>
<option value="1" selected="true">発売日が新しい順</option>
<option value="2">発売日が古い順</option>
<option value="3">人気順</option>
<option value="4">タイトル順</option>
</select>
xslで置き換え。
<select>
<xsl:attribute name="name">sortValue</xsl:attribute>
<option>
<xsl:attribute name="value">0</xsl:attribute>
<xsl:if test="$sortparam=''"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
--ならび替え--
</option>
<option>
<xsl:attribute name="value">1</xsl:attribute>
<xsl:if test="$sortparam='-releasedate'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
発売日が新しい順
</option>
<option>
<xsl:attribute name="value">2</xsl:attribute>
<xsl:if test="$sortparam='releasedate'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
発売日が古い順
</option>
<option>
<xsl:attribute name="value">3</xsl:attribute>
<xsl:if test="$sortparam='salesrank'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
人気順
</option>
<option>
<xsl:attribute name="value">4</xsl:attribute>
<xsl:if test="$sortparam='titlerank'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
タイトル順
</option>
</select>
DVDだけならこれだけど、ジャンルによって変えなきゃイケナイ。。面倒だな。
あと、DVDのソート順は
salesrank Bestselling
pricerank Price: low to high
-pricerank Price: high to low
price Price: low to high
-price Price: high to low
titlerank Alphabetical: A to Z
-titlerank Alphabetical: Z to A
-orig-rel-date Release date: newer to older
orig-rel-date Release date: older to newer
releasedate Release date: older to newer
-releasedate Release date: newer to older
これだけある。
とりあえず、4パターンでやってみる。
続きは↓のECSカテゴリで!!!
サンプルは←のジャケット検索で!!!
もちろんxslもあります!!!
ページ遷移はとりあえず、
<xsl:if test="$i <= 400">
にしとけばOK!
AWS.RestrictedParameterValueCombinationリクエストには、使用できないパラメータの組み合わせが含まれています。SearchIndexがBlendedである場合、 Sortは使えません。
使えないなら、使わないようにすればいいだけのこと。
さぁ、、あ、あああぁ?
The Operation parameter is invalid. Please modify the Operation parameter and retry. Valid values for the Operation parameter include TagLookup, ListLookup, CartGet, SellerListingLookup, CustomerContentLookup, ItemLookup, SimilarityLookup, SellerLookup, ItemSearch, VehiclePartLookup, BrowseNodeLookup, CartModify, ListSearch, CartClear, VehiclePartSearch, CustomerContentSearch, CartCreate, TransactionLookup, VehicleSearch, SellerListingSearch, CartAdd, Help.
パラーメータ間違ったな・・・。
まずはパラメータの取得から。
<xsl:variable name="sortparam" select="aws:Items/aws:Request/aws:ItemSearchRequest/aws:Sort" />
次に、プルダウンを生成。
<select name="sortValue">
<option value="0">--ならび替え--</option>
<option value="1" selected="true">発売日が新しい順</option>
<option value="2">発売日が古い順</option>
<option value="3">人気順</option>
<option value="4">タイトル順</option>
</select>
xslで置き換え。
<select>
<xsl:attribute name="name">sortValue</xsl:attribute>
<option>
<xsl:attribute name="value">0</xsl:attribute>
<xsl:if test="$sortparam=''"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
--ならび替え--
</option>
<option>
<xsl:attribute name="value">1</xsl:attribute>
<xsl:if test="$sortparam='-releasedate'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
発売日が新しい順
</option>
<option>
<xsl:attribute name="value">2</xsl:attribute>
<xsl:if test="$sortparam='releasedate'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
発売日が古い順
</option>
<option>
<xsl:attribute name="value">3</xsl:attribute>
<xsl:if test="$sortparam='salesrank'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
人気順
</option>
<option>
<xsl:attribute name="value">4</xsl:attribute>
<xsl:if test="$sortparam='titlerank'"><xsl:attribute name="selected">true</xsl:attribute></xsl:if>
タイトル順
</option>
</select>
DVDだけならこれだけど、ジャンルによって変えなきゃイケナイ。。面倒だな。
あと、DVDのソート順は
salesrank Bestselling
pricerank Price: low to high
-pricerank Price: high to low
price Price: low to high
-price Price: high to low
titlerank Alphabetical: A to Z
-titlerank Alphabetical: Z to A
-orig-rel-date Release date: newer to older
orig-rel-date Release date: older to newer
releasedate Release date: older to newer
-releasedate Release date: newer to older
これだけある。
とりあえず、4パターンでやってみる。
続きは↓のECSカテゴリで!!!
サンプルは←のジャケット検索で!!!
もちろんxslもあります!!!
0件のコメント
コメントの投稿
0件のトラックバック
- トラックバックURL
- http://amazonimage.blog118.fc2.com/tb.php/407-fe68d0aa
- この記事に対してトラックバックを送信する(FC2ブログユーザー)

