- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022
05:21 AM
10-18-2022
05:21 AM
Store view Price Extension Issue
Hi,
I have installed an extension for store view pricing (https://github.com/MagePsycho/magento2-store-view-pricing).
The extension is working fine in admin side and single product page, but not working in category and Search page. Category page is showing only default price.
I tried to print the store id by using below code and the category page always printing default store id but product pages is printing updated store id.
di.xml <type name="Magento\Catalog\Model\Product"> <plugin name="change_product" type="Skyre\Options\Plugin\Product" sortOrder="1" /> </type> Product.php public function afterGetStoreId(\Magento\Catalog\Model\Product $subject, $result) { echo $result; return $result; }
I think the category page is missing store id filter.
database : catalog_product_entity_decimal - https://prnt.sc/GQPUXyAu0k2f
Labels: