Questions tagged [magento-catalog]

Denotes questions regarding Magento Catalog module

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

How to get the specific product information on product landing page

I need the specific product id and product price on the product landing page to push in the datalayer magento 2. Here is my code for datalayer window.dataLayer = window.dataLayer || [];  window....
0
votes
1answer
21 views

Can we overwrite list.phtml and catalog_category_view in multiple modules?

Well I am vcery new to Magento, I have a module where I have already overwritten catalog_category_view.xml and list.phtml can I use the same file with other changes in other modules if Yes how?
0
votes
1answer
67 views

How to show the product attribute in the product listing page Magento 2.3

How to show the product attribute in the Product listing page i had used the helper in Magento_Catalog (Magento_Catalog/templates/product/list.phtml) but it gives the value of the product attribute ...
2
votes
3answers
85 views

What are other possible functions i can access

I created placed custom html in Magento_Catalog>template>product>view>details.phtml file in Magento_Catalog module and added below code to get current product ID and name $objectManager = ...
1
vote
4answers
187 views

How to Check a catagory is Anchored or non Anchored Programmatically in Magento 2

I want to check whether my current category in Anchored in Magneto 2
4
votes
0answers
330 views

Magento 2: add specific option for widget

I want to add specific widgets in admin panel , but I'd like to duplicate it. for instance: app/code/my/module-links/etc/adminhtml/system.xml <?xml version="1.0"?> <config xmlns:xsi=...
2
votes
1answer
177 views

filtering product collection on category page based on custom customer attribute

I've been struggling with Magento\Catalog\Block\Product\ListProduct::initializeProductCollection() from a few days. I need to filter category product collection based on user's location. So ...
0
votes
2answers
1k views

Invalid template file: 'Magento_Catalog::catalog/wysiwyg/js.phtml' in module: In ubundu 16.04 and Magento 2.3.0

1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'Magento_Catalog::catalog/wysiwyg/js.phtml' in module: 'Magento_Backend' block's name: '...
1
vote
1answer
743 views

Catalog Input Type for Store Owner accepts numbers

I would like to create a new input type in Catalog Input Type for Store Owner.
0
votes
1answer
31 views

How to use $_product on Magento Catalog template pages

I have overridden the Magento catalog phtml file in our store's custom template to display a link to a custom instructional page that we created. Problem is, I only want this link to display on ...
1
vote
3answers
2k views

Override Magento\Catalog\Block\Product\View\Options\Type\Select

SOLVED :: 15.9.17 (the following code works on a fresh Magento 2.1.7 installation; tested on Luma theme) I am struggling with the override of this particular core block Magento\Catalog\Block\...
2
votes
1answer
607 views

SKU non-Default label is not reflected on the frontend in Magento 2

I am trying to change the SKU attribute label from "SKU" to "Item" on the Product Page on the storefront by adding a label to the attribute in Admin Panel by going to Stores > Attributes > Product ...
1
vote
0answers
584 views

Magento 2: Why the product not show in category page (reindex)?

I have well mastered Magento 1.x, however, I'm starting on 2.1.7 and what caused me confusion is the index manager, since I created a product and after saving it does not appear on the page of the ...
0
votes
1answer
271 views

multiple catalog rules with same price, calculate wrong final price

I have multiple catalog price rules on same product with same price but different priority, so i suppose that system will apply the lowest (0 is lowest) priority rule to calculate final price. Rule A:...
2
votes
1answer
2k views

Magento 2 : get product custom option base on sku

I am working on magento2 and i am try to access product all custom option. For now i have added to text box and for access custom option bellow code i have use. $objectManager = \Magento\...
2
votes
0answers
1k views

Magento 2: Product repository's getList() method doesn't retrieve recent items

I have a model where I look for products from the database, filtered by a custom attribute: /** * @var ProductRepositoryInterface */ protected $_productRepository; /** * @var ...
3
votes
4answers
5k views

Invalid template file error in Magento 2

In my custom theme, I added custom template for which I am getting invalid template file error in system.log. My xml file loctaion: app/design/frontend/{vendor}/{theme}/Magento_catalog/layout/...
1
vote
7answers
12k views

Magento 2.0 - Display custom attribute on product listing page

Default catalog_product_prices.xml <?xml version="1.0"?> <!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <layout xmlns:xsi="...
0
votes
1answer
34 views

category is showing different in home page and different in product page

**i have problem with catalog my root catergory is home as you can see in screen 1, and the sub category is clothes, i save settings clear cache, then load the page the out put is screen 2, ** ...
2
votes
0answers
318 views

Magento EE 1.14.2.0 Indexing Issue / Database Repair Tool failure “You have missed trigger(s)”

Magento Details: Magento EE 1.14.2.0 12 Websites 80 Store Groups 160 Stores 3500 Categories 15k products 75 Customer Groups Mysql 5.5 php-fpm 5.6 My import process has always worked successfully ...