製品
店舗デモ
ショーケース
機能
開発者向け
店舗オーナー向け
産業
ファッション
健康& 美容
食品&飲料
自動車
工業 & 科学
家具
B2B eコマース
国際
ダウンロード
nopCommerce ダウンロード
マーケットプレース
翻訳
著作権削除キー
モバイルアプリケーション
Web API
サポート & サービス
トレーニング
ドキュメント
コミュニティフォーラム
プレミアムサポートサービス
見積り依頼
お問い合わせ
パートナー
日本語
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
始めましょう
Shopping cart
ユーザ
ログイン
ユーザ登録
ホーム
>
フォーラム
>
General
>
Bug Reports
>
Nop_ProductLoadAllPaged small issue
Nop_ProductLoadAllPaged small issue
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
milasch
投稿総数:
33
カルマ:
175
参加:
2009/10/07
ロケーション:
Canada
投稿完了:
13 年 前
Hi,
Nop_ProductLoadAllPaged is considering ProductVariants which Deleted=1 leading to problems with sorting.
I've fixed it by simply putting an "AND pv.Deleted=0" in the where clause.
Thanks
milasch
投稿総数:
33
カルマ:
175
参加:
2009/10/07
ロケーション:
Canada
投稿完了:
13 年 前
I've just noticed things are a bit more complicated than that. Actually we can indeed have products and no productvariant. The only problem is that when trying to sort, the stored procedure will take in consideration deleted product variants.
So instead of only adding:
AND
(
pv.Deleted=0
)
it will only work with
AND
(
@OrderBy=0 OR pv.Deleted=0
)
milasch
投稿総数:
33
カルマ:
175
参加:
2009/10/07
ロケーション:
Canada
投稿完了:
13 年 前
Correction:
AND
(
@OrderBy<>0 AND pv.Deleted=0
)
milasch
投稿総数:
33
カルマ:
175
参加:
2009/10/07
ロケーション:
Canada
投稿完了:
13 年 前
Correction # 2:
AND
(
@OrderBy=0 OR (@OrderBy<>0 AND pv.Deleted=0)
)
My bad! :P
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
まだ質問があるか、助けが必要ですか?
.
プレミアムサポートサービス
.
24時間以内に応答を保証するnopCommerceチームからの専任サポートを受けてください。
.
開発者向けオンラインコース
.
nopCommerceウェブサイトの実行およびカスタマイズに必要な実用スキルおよび技術スキルを習得します。