Questions tagged [products]

Questions about products in the Magento catalog in general

361 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
9 views

In ui_component products get a grid of all products for each page and filtering does not work

In my file for ui_component: <dataSource name="products_listing_data_source"> <argument name="dataProvider" xsi:type="configurableObject"> <argument name="class" xsi:type="...
1
vote
1answer
350 views

Magento 2: Filter Product Collection using Category Id always return empty set

I have a parent category with subcateogry that contains a lot of product in it, when i tried to filter the product collection using this parent category id, it always return an empty collection: ...
1
vote
0answers
35 views

Magento2: Insert data into a custom table on product creation?

How to insert data into a custom table on product creation in Magento2 Any help would be appreciated.
1
vote
0answers
42 views

Magento 2.3.2 - Products with same position in category sorting issue?

We recently migrated a store from M1 to M2.3 - the site has thousands of products and hundreds of categories. Within each category, there are several instances whereby more than one product has the ...
1
vote
0answers
187 views

Add all products to websites/storeview by sql

I have more then 10k products in base store and want now assign all to new website as multistore in system with/by sql how i assign all products to the new websites/storeviews using sql? use Magento ...
1
vote
2answers
179 views

Magento 2 duplicate product entry in default store view

In my magento2 store I only have one single store assigned to the default view and all the products in were in "all store view". So the store view column in the csv was blank. But somehow someone ...
1
vote
0answers
67 views

How to disable the loading gif in first load of product list page

I'm having a problem. In product list page, such as "Category" page. I choose Color = Orange and it will reload the page. For every next reload page, the product image will show the loading gif for a ...
1
vote
0answers
21 views

How to get catalog in stock on frontend?

I have done everything everyone subscribes everywhere From reindex, in stock, manage all, quantity, databases check, double check But products just don't appear on front end because it says out of ...
1
vote
1answer
49 views

Magento 2 : Override addtocart.phtml for all kinds of products

How can I override addtocart.phtml for all types of products, this code works fine only for simple and configurable products, but I want to override all kinds of products. <page xmlns:xsi="http://...
1
vote
0answers
88 views

Products visibility and indexer

in magento 2 one of products wasn't visible on front-page. After running command line indexer:reindex product is showing. Why do I need run indexer:reindex ? In system -> index management already ...
1
vote
1answer
60 views

Custom custom options magento 2

Looking for some advices/ideas Magento 2 offer us Custom Options in catalog section. In Backend, we can add custom options like below picture and it appear on frontend like My question is I want ...
1
vote
0answers
26 views

Create a custom API to get all details of a product magento2

I want to create a custom API to get all of the information of a product including stock details and order details. I checked the existing product APIs but to get all of the information, need to run ...
1
vote
1answer
263 views

Magento 2 - How to create a module that adds a flag to the product and restricts adding it to the cart before logging in?

I'm new to magento 2 and would like to know if it is possible to make a module that generates flags on products with purchase restriction? For example, the product can only be added to the cart when ...
1
vote
1answer
120 views

How to get Recently Viewed Product Widget without using widget or static block. Magento 2.3.1

I want to get the Recently Viewed Products without using Widget or static Block I tried this namespace PME\Hideprice\Block; class getTestingData extends \Magento\Framework\View\Element\Template { ...
1
vote
0answers
583 views

Magento 2 Rest Api - Is this searchCriteria filter correct?

I'm trying to retrieve virtual products, which have been modified before a certain date and which still are in stock I'm using this /rest/V1/products?searchCriteria[filter_groups][0][filters][0]...
1
vote
1answer
437 views

How to truncate product name properly in Magento 2?

I am using 2.3.1 I have truncated product name in the listing page and displayed dots if the length of the name is more than 27 but the problem is that there are special characters like &,'," etc....
1
vote
1answer
73 views

Fetch products from several SKUs where their price don't match from a list

I have a predefined list of SKUs with prices in an array, and I would like to return the products within Magento that matches those SKUs but not the price. As a quick solution, I have constructed an ...
1
vote
1answer
20 views

M1 Changing website to https breaks product pages

Currently our website is only secured on checkout. We want the whole site to be secured so we had our IT guy do that. The whole site is secured EXCEPT I cant get to the individual product pages. It ...
1
vote
0answers
22 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
24 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 ...
1
vote
0answers
23 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 ...
1
vote
0answers
82 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 ...
1
vote
0answers
363 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
34 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 ...
1
vote
1answer
180 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 ...
1
vote
0answers
39 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 ...
1
vote
0answers
58 views

Magento2.2.6 - What is the purpose of tables which have tmp/replica/idx as a postfix?

I'm trying to insert queries in order to add products to our Magento website. I have no idea about these tables i mentioned at title like catalog_category_product_index_replica, ...
1
vote
0answers
55 views

Magento 2 import adds info but the import process doesn't end

it's basically what the title says, and I'm only facing this issue when adding prices to products via csv import. I've already checked memory_limit, post_max_size values and they are good, because I ...
1
vote
0answers
96 views

Magento get product link using V1 API

$storeUrl."/index.php/rest/V1/products?searchCriteria[page_size]=200&searchCriteria[currentPage]=1" It returns products list but I want to get each product link. How it is possible?
1
vote
1answer
238 views

Added Extra White Space in Products Image

My Products Image is, Note : View image as new tab in chrome Note : View image as new tab in chrome By default magento added white space. Website View:
1
vote
0answers
25 views

Products disapearing from a category but reappear after reindex/clear cache

I have a Magento 1.14.2.` store with about 1500 products in about 50 categories and sub-categories. A small number of products (2 dozen?) in a few particular categories regularly "disappear" every ...
1
vote
0answers
46 views

How to display attribute value label instead of numeric value on response of /V1/products/:sku and /V1/products/?searchCriteria?

I have one multi-select attribute(filter_cuff). Its value is Single Button Cuff,Two Button Cuff,Single Button Rounded,Double Button Rounded. When I call /v1/products/:sku API, it shows response like: ...
1
vote
0answers
35 views

Magento 1.9.3 CE : Custom page layout for products from specific category

I have a web shop with 4 different categories and I need all the products from 2 categories to be opened in custom page layout! For example: All the products from category 1 and 2 to be opened with (...
1
vote
0answers
76 views

Create a custom product form based on user role in magento 2

I want to hide some field of the product creation form. I know that i can do this with some xml file, but i want to hide them only for specific user role. I found that the event ...
1
vote
0answers
45 views

How to create best seller page in Magento 2.2

I am trying to create a page where all best sellers products should be displayed and it needs to look like magento's default category page(filters on the left and product grid/list on the right). I ...
1
vote
2answers
380 views

Products not showing in backend

I use magmi to import products from external sites which is working and has done for many years. The problem is that for some reason new products have stopped showing in the Magento admin panel. I ...
1
vote
0answers
428 views

Magento 2 - How to disable the wishlist for guests only?

On anywhere it may appear including product grids and pdp's. I want to disable the Wishlist module including hiding all links in the menues (i.e. Dashboard, Top Navigation). Is there an easy way to ...
1
vote
2answers
135 views

Magento 2 - Data migration tools and new products migrate from Magento1

A month ago I created a new website with Magento 2 and I used the data migration tools to migrate the old website from Magento 1. Since then the old Magento1 website has added new products to the ...
1
vote
0answers
480 views

Entity attributes not listed when exporting products magento2!

I am exporting products but entity attributes list not appearing on the page. When I check in response, it is showing script but not response. <script> require([ 'mage/adminhtml/grid' ], ...
1
vote
1answer
45 views

Updating rotating banner on e-commerce homepage

I have Two questions: 1) I am trying to update the images of my e-Commerce rotating banner homepage. I went to the developer’s page, uploaded a new image, enabled it, and disabled the previous demo ...
1
vote
1answer
773 views

Magento 2.2 adding images to product programmatically does not set small_image

I'm adding images to products programmatically. Every product can have from 1 to n images. So I reorder the images array in the way I need and then, to the first image of the array (that has to be the ...
1
vote
1answer
158 views

Free Shipping Applied for all Products, How to Restrict for selected Products in magento 1.9

I followed this tutorial for free shipping, but free shipping applies to all products. Almost tried 3 weeks, still not getting any single loop. Those who certified in Magento pls help. How can I solve ...
1
vote
0answers
56 views

How can i programatically filter products using attributes price,color,manufacturer in magento 2

I need to filter products in a category using color,manufacturer and price.please help me to solve this.
1
vote
1answer
894 views

magento 2 default messages not showing on product detail page only

Success and other messages not coming on product detail page only, While if we moving to another page it is visible, Anyone have suggestion then please share.
1
vote
0answers
16 views

Grouped Products “Show All” Button

I am currently working on my website, Magento 2.1.9. I have created a grouped product and now trying to figure out how to configure the number of products shown. How do I display only 5 products and ...
1
vote
0answers
136 views

getCollection()->getSize() not returning correct number of records

getCollection()->getSize() not returning correct number of records. Here is my code : /** @var $collection Mage_Reports_Model_Resource_Report_Collection */ $collection = Mage::...
1
vote
0answers
90 views

Category Products not visible in magento 2

In my Magento 2 website, no products are displaying on category pages. I did reindexing and flushed cache but issue is not resolved. I have checked magento admin, all products are there with ...
1
vote
1answer
29 views

Calculate total prices of catalog?

This may be an unusual request, but it is possible to generate the sum of prices in the catalog? In other words, get the sum dollar amount for a range of products or all products in the catalog? ...
1
vote
0answers
21 views

Magento Order Products Calculation Missing

The customer added 17 products to their cart as well as placed the order and the admin also received 17 products order. The issue: The amount was calculated for only one product and confirmation ...
1
vote
0answers
24 views

CMS Page Not Loading Automatically on backend

On our magento backend, we have encountered an unusual issue. When we try to open a CMS page via CMS>>Pages & then select(click) page name. Now as there are two parts Left Side(Menu) & Right ...

1
2
3 4 5
8