Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
カタログ価格ルールが適用される前に、Magentoストアで商品の価格を表示できるようにしたいと思います。理想的には、バックエンドの「価格」ボックスに入力された数値を、税金、ルール、変更なしで希望します。
$_product->getFinalPrice()これらすべてのルールの後に最終価格を表示するのに最適であり、通常は私が必要とするものです。「非最終」価格を示すものはありますか?
$_product->getFinalPrice()
これが標準の製品オブジェクトであると仮定すると$_product->getPrice()、その製品のバックエンドの価格フィールドに入力された値を取得する必要のある which を使用できます。
$_product->getPrice()