最終更新日:2020/04/13 在庫のない商品の並び順を後ろにまわすこのカスタマイズは2系、3系の時もやっていたので、4系でもやってみることにしました。 src/Eccube/Repository/ProductRepository.phpの167行目付近 // Order By // 価格低い順 $config = $this->eccubeConfig; if (!empty($searchData['orderby']) && $searchData['orderby']->getId() == $config['eccube_product_order_price_lower']) { //@see http://doctrine-orm.readthedocs.org/en/latest/reference/dql-doctrine-query-language.html $q
![EC-CUBE4:商品の並び順をカスタマイズ|Akihi](https://cdn-ak-scissors.b.st-hatena.com/image/square/f3b38d5af5b7884a140822f385e0b26940d6a5a5/height=288;version=1;width=512/https%3A%2F%2Fassets.st-note.com%2Fproduction%2Fuploads%2Fimages%2F18144026%2Frectangle_large_type_2_b0fd65f07f62b4a8f9f67cde3a4881b1.jpeg%3Ffit%3Dbounds%26quality%3D85%26width%3D1280)