ec-cube / productreview-plugin Goto Github PK
View Code? Open in Web Editor NEW商品レビュープラグイン
License: GNU Lesser General Public License v2.1
商品レビュープラグイン
License: GNU Lesser General Public License v2.1
https://github.com/EC-CUBE/ProductReview-plugin/blob/master/Event.php#L31
class ProductReview : ×
class Event : ○
レビューの公開、非公開を管理画面で設定できますが、★の数の計算に、非公開のレビューも含まれています。公開されているレビューのみで計算すべきだと思います。
公開されているレビューの★の数から、商品全体の★の数が計算される。
商品詳細画面で表示されるレビュー表示は管理画面からの編集に対応していない
ページもしくはブロックで実装し、管理画面からの編集できるように対応する
検索時にレビューが表示されるよう、構造化する。
Google ドキュメント クチコミ抜粋
https://developers.google.com/search/docs/data-types/review-snippet?hl=ja
オーナーズストアの商品ページよりご意見いただきました。
https://www.ec-cube.net/products/detail.php?product_id=1756#customervoice_area
1.0.0ではレビューの編集画面を開かないと、レビューの公開/非公開が切り替えられない。
毎回、画面の遷移が発生してします。
レビューの検索結果のリストから、
チェックボックスで選択して、一括で公開/非公開を切り替えられるようにする。
投稿者URLがないときに、
投稿者:<a href="">投稿者名</a>
となっているので、考慮漏れだと思います。
CSVファイルの最後にエラーのレスポンスが出力される
エラーが出力されない
レビュー管理画面のCSVダウンロードボタンをクリック
CSVファイルの最後の行が以下になる
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link id=Main-File rel=Main-File
href="file:///C:/Users/takeuji/AppData/Local/Temp/msohtmlclip1/01/clip.htm">
<link rel=File-List
href="file:///C:/Users/takeuji/AppData/Local/Temp/msohtmlclip1/01/clip_filelist.xml">
</head>
<body link="#0563C1" vlink="#954F72">
<!-- Warning: Cannot modify header information - headers already sent (500 Internal Server Error) -->
--
<!DOCTYPE html>
<html lang="en">
</body>
</html>
矢印ボタン表示エラー
Step 1. オーナーズストア > プラグイン > プラグイン一覧 > ProductReview42 プラグイン設定画面 (/product_review/config)
矢印ボタン表示エラー
4.2 公式プラグインテスト_EC-CUBE 4.2.0-beta2-20220916_Plugin
レビューの編集ページに遷移しないと、レビュー内容を確認することができない。
レビューのタイトルを押下すると、モーダル画面でレビュー内容を確認できるようにする。
(画面遷移は発生しない)
#20と合わせて、レビュー内容の確認→公開の運用負荷を減らす。
商品にレビューを6件以上登録した場合、最新の5件分しか表示されません。
不具合?仕様?判断が付かなかったのでIssue登録しておきます。
EC-CUBE 3.0.10
プラグイン 0.0.3
4.2は構造化マークアップをしているようなので、レビューも対応する
https://developers.google.com/search/docs/advanced/structured-data/review-snippet
2.0.0では以下の対応を行う予定です。
2017/1/9週を予定
2.0.0
のIssueをご確認下さい。旧プラグインからのバージョンアップが可能です。
レビュー登録・編集 商品管理の必須マークが出ていない
1.0.0では以下の対応を行う予定です。
2017/1/9週を予定
<!--# product-review-plugin-tag #-->
と入力した位置に表示を行う対応。1.0.0
のIssueをご確認下さい。旧プラグインからのバージョンアップが可能です。
レビュー管理画面の検索条件に、レビューの「公開/非公開」を追加します。
「非公開」のレビューのみ検索。内容確認後に「公開」に変更する。
というユースケースを想定しています。
おそらくdivのタイポ。
現状では商品を購入していなくてもレビューの投稿が可能。
商品の購入者のみがレビュー投稿できるようにしたい。
互換性を鑑み、購入者のみに絞る機能をオンオフできることが望ましい。
オーナーズストアの商品ページよりご意見いただきました。
https://www.ec-cube.net/products/detail.php?product_id=1756#customervoice_area
ec-cube 3.0.12
プラグイン:ProductReview 0.0.2
問題:YamlのEntity設定の中にMappingが間違えてます
ファイル:
app/Plugin/ProductReview/Resource/doctrine/Plugin.ProductReview.Entity.ProductReview.dcm.yml
対応方法:
行目:43
manyToOne:
Product:
targetEntity: Eccube\Entity\Product
inversedBy: ProductReviews
joinColumn:
name: product_id
referencedColumnName: product_id
nullable: false
Sex:
targetEntity: Eccube\Entity\Master\Sex
joinColumn:
name: sex
referencedColumnName: id
nullable: true
Customer:
targetEntity: Eccube\Entity\Customer
inversedBy: ProductReviews
joinColumn:
name: customer_id
referencedColumnName: customer_id
nullable: true
↓
manyToOne:
Product:
targetEntity: Eccube\Entity\Product
joinColumn:
name: product_id
referencedColumnName: product_id
nullable: false
Sex:
targetEntity: Eccube\Entity\Master\Sex
joinColumn:
name: sex
referencedColumnName: id
nullable: true
Customer:
targetEntity: Eccube\Entity\Customer
joinColumn:
name: customer_id
referencedColumnName: customer_id
nullable: true
ページ管理で「レビューを投稿」を登録しようとするとバリデーションエラーになる。
ファイル名 app/template/default/@ProductReview4/default/index.twig
エラー 有効な値ではありません。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.