Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [products]

Questions about products in the Magento catalog in general

2
votes
1answer
21 views

How to get all product information as per category Id using Rest API in Magento 2?

I got product SKU as per category id with following code $requestUrl='https://www.vaibhavjewellers.com/staging/index.php/rest/V1/categories/3/products/'; With the above code, I am getting all SKU ...
0
votes
1answer
26 views

Magento 2.3 products not visible

After migrating data and products from Magento 1.9 I can see all my categories and products available in the backend. But not on the frontend. I've checked all options; Products are "enabled" ...
0
votes
0answers
15 views

Add parent url to simple product screen

I need to add a block on a simple product page which contains a url link to the parent if it exists. Block would be positioned under the short description. I have seen lots of code examples (some are ...
0
votes
0answers
16 views

Can I change my product image for customizable options?

I have a simple product that is set up with some customizable options in a dropdown list. Is there a built-in way to get my product's image to change based on the customizable option that I have ...
2
votes
1answer
23 views

Magento 2 - Order best sellers products by period

For now, I'm getting my best sales like this. I would like to be able to influence the order of my products in the collection. In my Block : use Magento\Sales\Model\ResourceModel\Report\Bestsellers\...
0
votes
3answers
39 views

How to get products of a category and all its subcategories by category id?

I am trying to get all products of specific category whether these products are directly listed in the category or in the subcategories under this specific category I really searched for this on ...
0
votes
1answer
41 views

Unable to get Not Visible Individually products magento 2

I am using DI \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory in my class and get all products using $collect = $this->collectionFactory->create()->...
2
votes
1answer
20 views

best way to display 55 million product variations of one product?

I have an external DB that has 55 million unique products. In this case, vehicle license plates. An api returns the results, the only two fields that are significant to the purchase are the price and ...
0
votes
0answers
12 views

Configurable / Bundle mix & match & Quantities

I am struggling with the configuration of "Bundled / Configurable / Grouped Products". We have following Simple Articles: Flavours: Flavour 1 Flavour 2 Flavour 3 Nicotine Nicotine Shot Now we ...
1
vote
1answer
22 views

How to load all products with certain type - e.g. all configurable products?

How can I get a collection of all products from a specific type example given: "configurable" ? I want to show the name of all products of type configurable for example.
1
vote
0answers
14 views

How to add category Path when creating product progrmatically in magento 2

I want to create products programatically by reading an xml file. Reading from xml, and creating product part is completed. I have no idea how to assign the products to category. This is my xml node ...
1
vote
0answers
17 views

Magento 2.1.8 dev site catalog search and products listing redirecting to live site

I have setup my magento 2.1.8 EE live site on staging for development. The homepage, admin and cms pages are working fine. But my prduct pages are redirecting to live site and catalog search also ...
2
votes
1answer
15 views

General System Exception Magento 2 UTF-8 BOM

I have been uploading products to Magento 2 for some time using import via CSV. The first chunk worked fine and the second is throwing a general system error. UTF-8 BOM is being used... very ...
1
vote
0answers
18 views

Magento 2 category grid not wrapping correctly

I have a fresh install of Magento 2, and have extended the luma theme, we havent started to edit the category pages as yet, but have noticed the grid doesnt wrap correctly. As you can see from the ...
2
votes
1answer
30 views

How to create swatch as simple product, which is created through configuration in Magento 2.2.6?

I have created a product of type simple. After that, I have created a swatch for the same product through the "configuration" tab on the same edit page. When we create a swatch through the "...
2
votes
0answers
17 views

taxClassId are not saved with the rest of the product

I'm trying to update some attributes of my product by a cron to avoid common mistakes. The code causing me trouble is executed in a loop: foreach ($storesIds as $storeId) { $this->...
2
votes
0answers
48 views

Magento 2.2.5 - Delete all products and products images

I have a site with Magento 2.2.5, with thousands of products imported via Magmi v0.7.23-git with csv. I tried to delete all these products with the Magmi utility 'Clear Catalog v1.0.4', and then ...
2
votes
3answers
48 views

Magento2 Multistore - direrent products in each Store

I have one website "My Brand" only one centralized URL domain for my customers, multiple stores for (USA, Europe, and Latin America) and three views for each stores (Spanish, English, Portuguese) I ...
0
votes
1answer
26 views

Magento 2: CSV Importing issue ,import successfully and did't show any products

While importing product CSV Magento didn’t give any error and import successfully. but didn’t show any products on customer view. If products already added it didn’t update the product content. I ...
0
votes
1answer
23 views

Get product info in JSON/XML without authentication

Is it possible to get product info in JSON/XML format without using any authentication from a website using Magento. For example, Shopify provides product's info as https://mystore/products/product-...
1
vote
0answers
32 views

Magento 2.1 : Add to cart adds 2 products from PDP

In magento2.1 add to cart button adds two quantity in cart when you press it for second time. I mean, on product page when add a product to cart it's ok and adds 1 qty. But on second time when I press ...
0
votes
1answer
20 views

Showing the most recently added products that are set to display on this website

Magento 2.1.6 I have a module that populates a specific category with the "latest 200" new items added to my magento database. However, it has a problem in that it doesn't account for the "Product In ...
1
vote
1answer
28 views

How to get product names by attribute value?

I have custom dropdown attribute with yes and no values. I want to get only those product names which have attribute value yes. I am trying to avoid using object manager directly, so I need to ...
0
votes
0answers
14 views

getCurrentCategory() returns Root Category every time on Magento 2

I detected that some categories on my site don't show the correct products. Instead, show ALL products assigned to the root category. I made a test adding this to my list.phtml: $block->getLayer()-...
3
votes
1answer
54 views

How to get Magento Product List using Soap V2 at CodeIgniter?

If I try with below code, <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Live_stock extends CI_Controller { public function index() { //$this->...
0
votes
1answer
70 views

How to remove products tab when it has no value in admin in Magento 2?

I am using Magento 2.3 I have set custom product tabs in product detail page Now I want to display a particular product tab only if it contains a value in admin. for ex. if there is no description ...
1
vote
0answers
170 views

Something went wrong with processing the default view and we have restored the filter to its original state

I got this error when I go to Catalog > Products and select a filter. I'm on Magento 2.2.6. Magento says this bug is supposed to be fixed on 2.2.6 but clearly it's not.And unfortunately I do not ...
1
vote
2answers
64 views

Get products collection in cronjob

I have a cron file like Col.php. I want to get products collection in my cron file. code in my file: public function execute() { $objectManager = \Magento\Framework\App\ObjectManager::...
1
vote
0answers
113 views

Magento 2.2.7 single product image not showing on front end

I'm developing a website in Magento 2.2.7. I have a problem whereby if I only add one image to a product in the admin area it doesn't show on the frontend, even after trying all of the various ...
1
vote
0answers
19 views

How can I show all products in a top level category sorting by the child categories?

I have this category structure below: When I access Men page all products of child categories are there, but they are showing in a random mode, i believe. I want to show the products in the main ...
0
votes
2answers
53 views

Remove title New Products from Magento 2 Content New Products Widget

I have scoured the internet looking for a solution of removing the title word New Products that exists just above the grid from the Magento 2 new products content widget. Not sure how to accomplish ...
0
votes
0answers
45 views

Magento 2.2.4 Attribute “manufacturer” only showing in simple product, not in other product types

I've created attribute manufacturer. It only shows when I add simple product, but when I whant to add other type of product, attribute is not showing.
1
vote
1answer
104 views

Error during configurable product save in Magento 2 | Notice: Undefined variable: product in /module-catalog/Controller/Adminhtml/Product/Save.php

I am unable to save a configurable product. This is the error I am getting: Notice: Undefined variable: product in /domains/devportal.flavourwarehouse.co.uk/http/vendor/magento/module-catalog/...
0
votes
1answer
25 views

How to get all products and its attributes?

I want to fetch all products in my ecommerce and all its attributes. How can I do that? For example, I want to be able to call a function that gets all products, an then one by one fetch all the ...
1
vote
2answers
95 views

Magento 2.2.6 products not rendering on frontend after migration

We migrated products from Magento 1.9 to Magento 2.2.6. But Products are not rendering on the frontend even after updating attributes on selecting all. When we open single product in admin panel ...
0
votes
1answer
37 views

Magento Open Source 2.3 / 2.2 - How many orders / inventary and SKU it can handle?

I'm about to start a project, But my concerned is on the data, the magento 2.2/2.3 can handle. The traffic figures are in 1 Million to 5 million and we are not interested in Enterprise model as of ...
0
votes
1answer
34 views

Magento 2 Products missing in category pages post Migration

I've recenty attempted to Migrate my products and categories from Magento 1 to Magento 2 via Ubertheme and run across a strange issue. I have two categories, "Brands" and "Type", which have a number ...
0
votes
1answer
41 views

How to get wishlist product details on wishlist_product_add_after event in magento2

How to get wishlist product details on wishlist_product_add_after event in magento2. Please suggest me.
0
votes
1answer
22 views

Not enough data in Product\CollectionFactory, how can I get the rest?

I need to get several info from each single product in the catalog, so I used the Magento\Catalog\Model\ResourceModel\Product\CollectionFactory to get a collection of products. Iterating through them ...
0
votes
1answer
47 views

Can we manage products filtration by category wise in Magento 2 admin panel

How can I manage the order of products by using category wise instead of SKU name etc..?
0
votes
0answers
14 views

Attribute Sets: pros & cons of using a few broad ones vs many specific ones?

Is it better to have a small number of very general Attribute Sets or a large number of very detailed Attribute Sets? Why? Obviously it depends on a lot of factors (eg: the number of products, how ...
0
votes
1answer
25 views

Duplicate url rewrite for the same product_id

i'm new on magento developement. My "core_url_rewrite" datatable contains 3.000.000 records for 3.000 products. For a given target_path, i have 1000 records but i dont known why Please help. thanks
0
votes
0answers
65 views

Magento 2 Admin - Edit Products - Disable Lazy Loading

I have tried looking to see if this has been asked before, but can't seem to find any information. Hope fellow developers can point me in the right direction. Magento 2 has a lot of Knockout.js / ...
0
votes
0answers
5 views

Programatically change all product names to the short description

I would like to modify the way Magento loads the product names and change it to load the short_description instead. We use the API to synchronize between an ERP and the Magento itself, so once the ...
0
votes
1answer
71 views

How to get products from wishlist using customer id

Magento 2.3 PHP 7.1 I trying to get products from customer wishlist in Model but $products array is empty. $products = []; $items = $this->wishlist->loadByCustomerId(1, true)-&...
5
votes
1answer
636 views

Magento 2 : How to get Final price & Original price of all types of product

How can I get Original price and Final price of given below types product? Simple product Configurable product Bundle product Group product For simple product I can get price easily using below code....
1
vote
0answers
26 views

Customizable Option: How do I show “Personalization Text” textbox only if “Personalization” dropdown is set to “YES”

Magento2: While adding a product I want User to select "Personalization" (Dropdown: "YES/NO"), If "YES" "Personalization Text" (Textbox) will be shown. Currently, I am doing this using Customizable ...
0
votes
0answers
67 views

How to fetch product data into custom .phtml block on product view

I'm having trouble trying to fetch Product data such as price, SKU etc into a custom .phtml file referenced as a block within my catalog_product_view.xml file. Here's what I'm struggling with... I'm ...
0
votes
0answers
18 views

Magento 1.9 Pull in Attribute Labels of Configurable products

Got a table which currently pulls the data of the Attributes of the config products. Im trying to add a the Attribute titles. Currently got this but can not seem to spit the Label out. Any ideas? <...
0
votes
1answer
100 views

Mageplaza Magento 2 Products Slider Category ID not working?

https://github.com/mageplaza/magento-2-product-slider When using the CMS shortcode for selecting a category: {{block class="Mageplaza\Productslider\Block\CategoryId" template="...