Questions tagged [catalog]

It should be used for questions regarding the catalog module.

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

Filter and Gallery/List View Toggle Hidden in background

So I added a new custom theme based off of luma and I just made two changes to the catalog_category_view.xml <referenceBlock name="catalog.leftnav" remove="true"/> and <page xmlns:xsi="...
0
votes
2answers
1k views

Class 'Varien_Data_Form_Element_Datetime' not found

when trying to edit a product in admin I suddenly got this error: PHP Fatal Error: Class 'Varien_Data_Form_Element_Datetime' not found in /home/public_html/lib/Varien/Data/Form/Abstract.php on ...
0
votes
1answer
29 views

Magento 2 - display “Not display individually” product on listing page

I want to display "Not display individually" visibility product display on listing page. Please help and thanks in advance
1
vote
1answer
1k views

Magento2: product page returns error

With no apparent reason, product pages do not show for me anymore. Error text: Warning: Illegal offset type in isset or empty in /path/to/project/vendor/magento/module-eav/Model/Entity/Attribute/...
0
votes
1answer
29 views

Magento 2 remove add to cart button for specific products?

I have tried to remove the Add to cart button with many solutions out there, but none has worked. I'm using this solution: How to remove the Add to Cart button from Catalog pages in Magento 2?. Also ...
3
votes
3answers
5k views

Magento 2 no Layered Navigation after filter collection

We've added a default filter for our product collection by adding a plugin: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
0
votes
0answers
18 views

How to show only Product Name and price in specific category magento 2

I am working on specific category so I need to show some customized changes in that for that I need to show only product Name and price and by clicking on that I have continued button I am confused ...
1
vote
2answers
1k views

Magento 2 Mass Product Action module

Hi magenticians I need the code of the module magento 2 which allows to add a text input when clicking on a mass action to enter a value like this example
1
vote
1answer
1k views

How to get product parent category id and category id separatly in magento 2.2.6 using product ID?

Problem definition: I have product under below category: Beauty --> Sun --> my-some-product-name. where 'Beauty' is root category and 'Sun' is the subcategory of 'Beauty'. Currently, I am ...
0
votes
1answer
19 views

How to Image resize this container in product page - Magento 2.3

In the product page i need to resize the product image container but i can't how to resize this, Please check the image for reference The below image shown with big gap between the image and border ...
0
votes
0answers
8 views

Magento 1.9.0.1. Can’t manage Product after installing 8788 and 9767

I installed the following 3 patches in the following order in Magento 1.9.0.1. -supee-3941 -supee-8788 v2 -supee-9767 The patches applied successfully with no errors. I flushed cache after each ...
0
votes
1answer
1k views

Magento 2 : Catalog access by customer group

I want to restrict product by customer group. For mapping, we added an attribute to product called group_ids where admin can select multiple customer groups I want to restrict customer to access ...
0
votes
1answer
14 views

Change order of widget catalog products list

I have a product in my product list, which must be at the top. After I have extended the product list, the product is unfortunately no longer at the top. I add the product list via the widget catalog ...
2
votes
2answers
1k views

Some of the pages in admin Dashboard not loading, received Error in magento 2.0.6

Catalog page not loading in admin dashboard of Magento 2.0.6. Please see the error message below: Warning: Magento\Framework\Locale\TranslatedLists::getCountryTranslation(): Cannot load resource ...
0
votes
2answers
47 views

Magento Cloud reindex fail elasticsuite

I try to reindex my Magento Cloud and caught below error. Anyone whats wrong with the ElasticSuite web@mymagento.0:~$ php bin/magento indexer:reindex Design Config Grid index has been rebuilt ...
0
votes
1answer
18 views

I getting the Error on product page magento 2.3

I tried to update the product using REST API but it shows the page this like i can't recognise the error please any one help to resolve it. Header : rest/all/V1/products/SKU My API : { "product":{ ...
1
vote
1answer
2k views

Magento 2 : How affects Enable Single-Store Mode Yes/No?

I have 1 single website with single store. When I enable Single-Store Mode to Yes/No Not able to change Product Url. https://github.com/magento/magento2/issues/5929#issuecomment-238170690 What is ...
0
votes
0answers
20 views

How to show all product in catalog page ? Magento 2

I need to show all products with a layered navigation filter, or is it possible to show the root category as a parent category, where all categories will be displayed in layered navigation. So to ...
0
votes
0answers
13 views

How to get auto select an option of configurable product in magento2?

I have configurable products which are the combination of 3 attributes. I want to auto select a child product when open any product url. I have tried this link. But this solution is not working for ...
4
votes
4answers
4k views

How to Show Tier Price in Magento 2 Catalog Page

I have setup a tier price for my Magento 2 product and I can see the tier price on product details page like below screen shot. I need to show the same "Buy 3 for $0.00 each and save 100%" in my ...
4
votes
4answers
998 views

Best practice to connect Magento 2 to price/product service

I have my own price/product service that I need to connect to Magento. The service has a variable amount of products with very variable prices. The price can change with every request a customer makes....
2
votes
2answers
3k views

Products on homepage: get more than 12 products

Im trying to show a few products on my homepage I got pretty far using this code: {{block type="catalog/product_list" name="product_list" category_id="74" column_count="5" num_products="24" mode="...
0
votes
2answers
2k views

Show brand attribute in product listing

I would like to show the Brand attribute under the product name on the listing page. Attached is a screenshot for reference.
1
vote
1answer
25 views

What is the best practice to save a product by its id ? Using factory or repository? [closed]

Save product by its id in magento 2. What is the best practice in use ?
0
votes
2answers
26 views

Can't load current product

I try to load the current product in gallery.phtml Helper (app\code\Company\Base\Helper\Data.php): ... use \Magento\Catalog\Helper\Data as CatalogHelper; class Data extends \Magento\Framework\App\...
5
votes
3answers
8k views

Magento 2 : How to Add quantity increment & decrements button on product details page

How to add increment(plus +) and decrements(minus -) qty button on product detail page?
0
votes
1answer
59 views

Magento 2 - where to find \Magento\Catalog\Model\Product\ImageFactory

In vendor\magento\module-catalog\Helper\Image.php you can find this parameter in the constructor: \Magento\Catalog\Model\Product\ImageFactory $productImageFactory but where is the class located? I ...
3
votes
2answers
1k views

Disable “add to cart” for Guest User

How can I Disable the "add to cart" when user is not logged in.
0
votes
1answer
104 views

Magento 2 - check if product is new

How can I check if a product is new in Magento 2? I found this solution for Magento 1: function isProductNew(Mage_Catalog_Model_Product $product) { $newsFromDate = $product->getNewsFromDate();...
0
votes
1answer
22 views

Products in Category not showing all products in the category back-end

Not all products show under "Products in Category" when editing a category in the back-end. Here is a screenshot showing the problem. In the category tree, it correctly shows 123 products in '...
0
votes
1answer
44 views

Which is this product's product type?

Need to find out product type and create it in magento 2 check image - https://prnt.sc/rsrc42
0
votes
1answer
758 views

Show Empty Categories on Catalog Page - Magento 2

I want to show all categories, even if they have no products in them. How can I achieve something like this?
0
votes
1answer
45 views

How to display watermark only on fullscreen image Product Page Magento 2.3.4

Actually i set Watermark for base image from backend Content => Design => Configuration => Product Image Watermarks tab In my requirement: Only Watermark should display on product fullscreen ...
1
vote
1answer
55 views

How to Remove all tier prices from product and Add new tier prices in Magento 2.3.4

Currently I have a custom API to live feed the product tier prices with data like this: [ { "sku":"X772A5", "customer_group_id":"1", "website_id":"2", "qty":"5", "price":"500" ...
0
votes
0answers
11 views

Custom catalog for a selected group of users

I'm trying to figure out if there's a way for me to create a custom catalog with its own set of products, pricing and promotions. This catalog will then be assigned to a specific group of customers. ...
1
vote
1answer
51 views

How to override (vendor/magento/module-gift-card/Model/Plugin) Magento\GiftCard\Model\Plugin\QuoteItem afterConvert() function Magento 2

override a function (vendor/magento/module-gift-card/Model/Plugin) Magento\GiftCard\Model\Plugin\QuoteItem afterConvert() function Magento 2
0
votes
0answers
13 views

How can i Display whole the products of website with filter in magento2

I have created multiple website in Magento 2. In Main website I want to display all the products but in second website i want to display only those product which have brand test. Brand is product ...
0
votes
2answers
46 views

How to override (vendor/magento/module-gift-card/Model) Magento\GiftCard\Model\AccountGenerator generate() function Magento 2

How to override (vendor/magento/module-gift-card/Model) Magento\GiftCard\Model\AccountGenerator generate() function Magento 2
0
votes
1answer
26 views

M2 Get Customer Group Price on Category Page

I seem to be unable to get the current customer group price for a product. Product is set up with a standard price of £20 and a 'wholesale' group price for 1+ units at £10. On a category page (...
0
votes
1answer
37 views

Magento 2 Search within category product list

In magento 2, is it possible to have search option within category product listing? please find below attach image [updated] finally, i have rewritten Listproduct.php class and search is working. The ...
0
votes
1answer
232 views

After Migration inventory_source_item table is empty magneto 2

This Table ( inventory_source_item ) is Empty and which all my product show out of stock, Can anyone, please help me solve this issue
0
votes
0answers
23 views

Invalid config field backend model: catalog/system_config_backend_catalog_product_flat There has been an error processing your request

I receive this error message being trying to get to System> Configuration> Catalog > catalog i have Magento Version 1.6.2.0 There has been an error processing your request Invalid config ...
0
votes
0answers
60 views

Magento 2 category list page - add template - get product attribute

I want to add a custom template inside the category list page. Therefore I added the following inside my catalog_category_view.xml; <block class="Magento\Catalog\Block\Category\View" name="...
0
votes
0answers
22 views

Sort products in category view - Magento 1.9

I want to always sort products in the catalog category view by is_saleable attribute. Firstly should show saleable products, later not saleable. I tried add $this->getSelect()->order("...
0
votes
1answer
42 views

I want to get images form product gallery of a product and display them one by one in Product detail page

This is the gallery.phtml code which is displaying main thumbnail image only <?php $images = $block->getGalleryImages()->getItems(); $mainImage = current(array_filter($images, function (...
0
votes
0answers
15 views

How to link image which is present in magento ftp to product?

I have following image saved in magento 2 ftp: https://www.moebel-guenstig24.de/pub/media/catalog/product/moebel/10-51-WW-20/1/kommode-mahattan-sideboard-kombikommode-esszimmer-wohnzimmer-...
0
votes
1answer
36 views

Magento:2 I want to display product image in 1 column vertically instead of using default Fortorama.js. I want to remove slider

I am facing this issue ..I don't want to display product images in default slider which is coming from fotorama.js I want them to displayed as one by one without slider What should I do $...
0
votes
0answers
44 views

Magento2.3: Is the minimum search query length affect the performance of the site?

In the catalog search configuration page, I can see a message which is minimum query length may affect the performance of site. Now, I have given the query length as 1. Is that affect the ...
1
vote
0answers
21 views

Magento 1 : Show lowest possible price on catalog using custom options

I am wanting to know the code to show the lowest possible price for an item as per their custom options without having to go into each item and make the lowest custom option price the default as this ...
0
votes
0answers
24 views

Why products disappeared on the frontend after import?

I'm running my store in the Magento 2.3.1 + ElasticSearch 6 + PHP 7.2 With 12k products and 228 attributes, and PHP memory_limit = -1. I have an integration that syncs the products through Magento's ...

1
2
3 4 5
20