Questions tagged [products]

Questions about products in the Magento catalog in general

Filter by
Sorted by
Tagged with
0
votes
0answers
15 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
15 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 ...
0
votes
1answer
56 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
29 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
37 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
41 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
26 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
41 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
23 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
15 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
17 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
19 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
44 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
22 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
42 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
67 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
25 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
25 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
62 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
49 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
6 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
29 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
17 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
25 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
28 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
0
votes
0answers
27 views

After update to Magento 2.3.1 the visibilty of Products ist wrong

After I had "stupidly" made an update to Magento 2.31. I have the problem that my configurable child-products are displayed in the frontend. In the admin-article-overview, the value is shown as "...
0
votes
1answer
50 views

Magento 2.3: saving configurable products lead to erasing price

When I create a new configurable product and then I add the configurations price field gets disabled and erased. Is there any way to fix this or just take the first configuration price? Also in ...
0
votes
0answers
21 views

Magento2 product migration issue

I am facing a very strange issue on Magento 2.2.7 I have migrated products from Magento 1 to 2. When I try to save and duplicate on the product page the process will become infinite and some time ...
0
votes
0answers
17 views

Magento 2 : Add Params using add to cart API

I want to add a custom parameter in add to cart product api billing_period & subscription_start_date. I have tried with Magento's /V1/carts/mine/items API with below request data. { "cartItem"...
11
votes
3answers
153 views

View product count not updating

There are 3 different tables that stores product viewed count report_viewed_product_aggregated_daily report_viewed_product_aggregated_monthly report_viewed_product_aggregated_yearly If I want to get ...
2
votes
1answer
27 views

Difference between $this->getData() or $this->getResource()

In my Collection.php when i get the collection by $this->getData() is give me collection. But it create some other problem for me . Now i use $this->getResource() then problem solved But it ...
3
votes
1answer
78 views

Restrict product add to cart in magento 2

i am using magento 2.1.5, and i have two tax classes. and i want to add only one tax class product in cart at a time. if customer try to add another tax class product, it will throw the massage. for ...
0
votes
0answers
30 views

Export All Products From Magento to XML File

I'm trying to export all our listed products from our magento site to an XML file - appears the only option via admin site is to do this via CSV - this comes out unreadable. Can you advise?
2
votes
1answer
30 views

out of stock products in flat tables

while selecting the products from flat table. out of stock products are missing. Is there any configurations that will populate the out of products also in flat table? Where the flat tables can be ...
0
votes
1answer
29 views

Magento2: Issues with duplicate simple product

I have duplicate a simple product. The original simple product has: SKU: pld942 URL: pld942.html after duplicate: SKU: pld942-1 URL: pld942-1.html I set in duplicate product: enable weight qty ...
0
votes
0answers
12 views

Assign product to the last level category in magento 2

we are importing product from outside of magento.we create an mappings for all attributes as target attributes and magento attributes.we have categorys as Abc/Cde/efg.Here is my category mapping code ...
0
votes
1answer
13 views

Order “non-existant” product

I have my products repository externally and only use Magento 2 to actually order these items. Similar to this question here but unfortunaly that does not have an answer or specifics about ...
0
votes
1answer
56 views

Frontend not displaying product changes

Magento 2.3 After adding a sentence to the main description and adding information to the short description on the product pages of admin, these changes do not display in the front end. I've ...
0
votes
1answer
30 views

checking both updated_at and created_at filter with OR condition for product collection

Hello Please help me to updated this query to apply updated_at filter too with OR condition. Here If I want to add 'updated_at' too in the filter with the same condition like 'created_at' then what ...
4
votes
0answers
72 views

Magento 2.3.1 - URL rewrite rules are not creating for product after update url key

Any one faced below issue in default Magento 2.3.1 and if found any solution then please help us to solve this. We are facing an issue with URL rewrite rules in fresh Magento 2.3.1 version. Issue: ...
0
votes
1answer
28 views

Getting all products of orders of last 24 hours in magento 1 in a large database

I have a third party module in my magento 1 which is fetching products like this: $products = Mage::getModel('catalog/product')->getCollection(); So I want to replace it with selective products which ...
0
votes
1answer
17 views

Magento - Owebia - Apply conditions for specific list of skus

Using Owebia, I need to apply a specific fee for certain product skus (from 001 to 099). I know the function I need to use with Owebia, but I don't know how to set the array of skus in the cart: { ...
1
vote
1answer
22 views

Single url for a product which is in different category in magento 2

I have a product black-jacket under the category men->tops when i click on men the url is like http://magento2/men/black-jacket.html and if i click on tops under the men then the url is http://...
0
votes
0answers
30 views

No valid data sent magento product export

Trying to export products from Magento using system import-export function and getting the error no valid data sent Initially, I was trying to export a few thousand products I then tried to export ...