Questions tagged [products]

Questions about products in the Magento catalog in general

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

Magento 2 Mini cart items are shown twice

I have Magento 2 and I enabled ajax add to cart and the mini cart. I added 5 products to my cart, it shows a count of 5 but when I click on the cart icon to show the listing it shows the product list ...
0
votes
1answer
15 views

Loading collection of products from a Category with admin filters

I am currently working on a project where it loads a collection of products with a CategoryFilter. $category = $this->categoryFactory->create()->load($categoryId); $collection = $this-&...
0
votes
0answers
35 views

why magento2 is Showing multiple images on product detail page?

why magento2 is showing multiple images on product detail page? I am importing just base image through CSV file. I just want that one image on product detail page. but on product detail page i am ...
1
vote
1answer
24 views

Some of products are giving error not found cms page in magento 2 multistore website

I have a website in Magento 2 with multistore functionality with Italian and English store. The same products are working fine in the english store but in the Italian store giving an error: There was ...
0
votes
2answers
36 views

products not showing in category on frontend Magento 2, but they are showing record count on category navigation

our items are no longer showing for each category page on the frontend. I have checked lots of items on the admin: Enabled = yes Product in website = yes Product in category = yes Stock status in ...
0
votes
0answers
21 views

Magento 2: Products not showing in search but in catalog is ok

I have a problem with my catalog. Products are visible in catalog category view pages (I can do any action - add to cart, buy...) but when I want to search any product then not showing in search ...
4
votes
2answers
38 views

Magento 1.9.3.X: Get all related products of a product

I need to retrieve related products from a particular product with id. I tried using the getRelatedProductCollection method unsuccessfully, not sure if this method is. I need to get these related ...
0
votes
1answer
27 views

Magento 2 how to add a widget Recently viewed products

If you have add product review and rating and approved admin side. After you have seen on recently view product.
0
votes
1answer
42 views

Magento2.3: How to move sku above product title?

I want to move the sku above the product title. But the problem I'm facing is that I can see two of the sku's in the product page(one is under product title and another is parallel to price). Please ...
4
votes
1answer
57 views

Apply configurable product images to ours associated simple products Magento 1.9.x

I need to apply configurable product images to our simple product associated because I need to use simple products in another store where it will only show simple products and not show configurable ...
0
votes
0answers
16 views

Magento2: Show All products not working on listing page(product_list_limit=all)

When i select product_list_limit=all it gives an error on console Uncaught TypeError: Cannot read property 'navigation' of null at Object. (cleverLayeredNavigationAjax.js:49) at fire (...
1
vote
5answers
52 views

How to remove add to wishlist and email in product detail page?

I want to remove add to wishlist and email in product detail page. How to do that? Can anyone please point me on how to achieve this?
0
votes
0answers
12 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
2answers
67 views

Magento 2: How to disable or remove Product SKU field in the admin panel

Magento 2: How to disable or remove Product SKU field in the admin panel see image below for more clarification.
2
votes
4answers
79 views

How to update product qty and Stock Status update programmatically by product id : Magento 2

I want to update product qty and change Stock Status as in stock by programmatically by product id. I dont want to insert new product, but I want only update existing product by its id. Any one know ...
0
votes
1answer
26 views

Magento 2 : How to hide add product button from admin panel

How I can hide add product button from admin panel? see image below for more clarification.
0
votes
0answers
15 views

Magento 2: Multi-Store Functionality Achievements

Store Requirements Admin Panel Restriction Admin Panel Store Wise Admin Dashboard Store Wise User Permissions and Resources control Different Admin panel views store wise Customers: Customers ...
1
vote
1answer
21 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://...
0
votes
0answers
45 views

Magento 2 Facing Problem :Could not save product “3194” with position 0 to category 12

I am facing a problem whenever I go into catalog->products->edit product and delete the category from product and click on save button the error is coming. Could not save product "3194" with ...
0
votes
0answers
16 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 ...
0
votes
0answers
16 views

Configure product's child products selection not working in admin

I am facing issue when we select child product from configure product in admin and save product then nothing happen(child product not selecting). Child product selection not working. Please check ...
1
vote
1answer
85 views

Magento 2 Custom Product block using SKU in cms page

I want to display custom product block in cms page . I have sku of the products . No how can i display this product in cms page . I know how to display one product using sku . But is it possible to ...
1
vote
2answers
34 views

Magento 2.1.5: Customers who bought a specific product

Is there any idea (SQL-statement) or extension on how to show all customers that bought a specific product (id) in Magento 2.1.5 Thanks!
0
votes
1answer
52 views

How to Import Orders Programmatically with all the product type in Magento2?

I am Looking for the Order Import Programmatically with capable of importing all the product types and multiple products able to import that also I need specific billing details to be included.
1
vote
1answer
43 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 ...
0
votes
0answers
17 views

Magento 2.2.1 - Unable to save changes in product category

Need your help to assist me on this problem. I have been working on this for almost 3 hour. I click save button but nothing appear plus the product is not saved. As my effort.. 1) Flush the ...
0
votes
0answers
64 views

Magento 2: Category page empty after re-index (E.E 2.2.9)

I am working on Magento E.E 2.2.9 Category page is not able to display product once I ran re-index. I ran re-index using crontab. Category pages are empty until I flush cache manually. Any idea ...
1
vote
0answers
71 views

Magento2 Products filter quantity_and_stock_status is not working

We are developing an iOS app for a Magento website using Magento2 rest apis. App is fetching and showing all products added to the magneto website. But some of the products are not being added to the ...
1
vote
0answers
24 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 ...
0
votes
0answers
11 views

How to display product listing sort based on product attribute combination in magento 1.9

I'm Working with magento 1.9, I want display product list based on product attribute. suppose i have 2 product attribute with 3 -3 options value. Option 1 red green blue option 2 red green ...
1
vote
1answer
29 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 ...
0
votes
0answers
16 views

How to filter product collection where sku used in any of the shopping cart rules in magento 2

I am trying to retrieve the product collections where skus are used in shopping cart rules. Here what all i am trying is I need to get the list of sku which are used in any of the shopping cart ...
0
votes
1answer
18 views

How to get products with the available dates?

I have created product attributes "Available from" and "Available to" with the input types date. I want to get products from the available dates while searching. How can I achieve that result? ...
0
votes
0answers
22 views

Magento2: How can solve this error “{”error“:”invalid_grant“} ” on product save by admin?

When I am saving product by admin then it is showing error "{"error":"invalid_grant"}" and product is not showing in frontend also. How can resolve this?
0
votes
2answers
83 views

Magento 2.3.0 Remove amazon pay button from different pages if current product in cart

I need to develop a feature in my custom module, I would like to hide Amazon pay button from product page, cart page, mini cart, shipping page upon condition. If the current product is in the cart ...
0
votes
0answers
39 views

Magento 2.2 switcher attribute not updating value on frontend on product

Magento: 2.2.7 Hi, I have a custom attribute called Product Has Questions, it's a switch/toggle which is part of the default attribute set. If I create a new product and utilize this toggle switch, ...
0
votes
1answer
99 views

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails

when i update my any product from magento admin back end below error come SQL STATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (db ...
0
votes
0answers
17 views

how i can display label in only Inclusive of tax price before in magento 2

Exclusive word comes for both prices Hi I want to add a label before the product inclusive of price in magento 2 but I added a label using this answer https://magento.stackexchange.com/a/...
0
votes
1answer
144 views

How to Check my Current Product is Already added to Wishlist Magento 2

<?php echo "<pre>"; print_r($this->helper('Magento\Wishlist\Helper\Data')->getWishlistItemCollection()->addFieldToFilter('product_id', $_product->getId())->count()); ...
1
vote
2answers
26 views

How to remove products url for specific Category URL-REWRITE

I want to remove url of prodcuts for a specific category. How can i remove specific category URL-REWRITE? using Query pro-grammatically
0
votes
1answer
28 views

Hide products category disabled

I have disabled a category of products that are only for Christmas, but if I use the search engine, the products appear although the category is disabled. How can I do so that the products are also ...
3
votes
2answers
93 views

How to remove simple product from cart by observer programmatically in magento 2.2?

I'm facing problem, I have added total 5 items in cart where 3 items are different colors of same configurable product and other 2 is simple products. When i try to remove simple product from cart by ...
0
votes
1answer
65 views

How to change qty of simple product after their creation magento 2

I want to change dynamically the qty of simple product according to custom management so how to proceed using plugin or a certain event and is their a specific function to mention like afterGetName ...
0
votes
0answers
23 views

Modify Product page UI with custom HTML body and load the data

I've created a custom template and trying to create the same, I created new Vendor/Theme and Inside that, I've pasted the HTML code to Magento_Catalog>template>product>view>details.phtml ...
0
votes
0answers
8 views

Category page pagination not working in arabic store magento 2.2

I have a site with multi store language(English+Arabic) in magento 2.2. My issue is that, on product category page pagination is working fine if i select English language store but when i change my ...
1
vote
3answers
31 views

Magento 2 add category url in all products, frontend

I want to display all product url in frontend with category name inside, I had checked all the configuration, but didn't find anything. Now I think I have to do it by coding, please guide me little ...
3
votes
0answers
19 views

magento2 - Authorize.net how to pass line items in request

We uses magento 2.3.1 version and it introduce Authorize.net accept js method instead of direct post. its working fine but we want to send product data as line items. How to add line items in ...
0
votes
1answer
28 views

Associated Category List from Products in a Particular Category

I am working on a site where product brands have been set up as categories. Each product has at least 2 categories, one for brand and others for product categories. On the page for Brand-X, rather ...
1
vote
1answer
32 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 { ...
0
votes
0answers
17 views

Magento2: Downloadable Product getting added to abandon cart grid?

I have found few details in Abandoned Cart grid in magento2 containing details of downloadable product though it cannot be added to cart. Let me know when such situation can occur