Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
0
votes
2answers
28 views

Magento 2 Related Product Image is not Accurate

In Related Product Slider, All Images are of different size and default Magento is not resizing them. Screenshot : https://prnt.sc/oax7yl I want to show all images of the same size. In view.xml, I ...
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 ...
1
vote
1answer
33 views

How to get all orders items by product_id?

I want to get all order items by product_id not by order_id. So Please read carefully and give me a solution. Thanks in Advance.
1
vote
7answers
178 views

Create order programmatically product with customizable options in Magento2

I am trying to create order programmatically product with customizable options, and it's working but it's created order with one product even I passed two products for me for these I tried below code. ...
0
votes
1answer
35 views

How to get product by custom attribute in magento 2

I want get product by custom attribute My code : protected $product; public function __construct( \Magento\Backend\App\Action\Context $context, \Magento\Catalog\Model\Product $product ) { ...
0
votes
1answer
24 views

The product page moves down - Magento 2

Good morning, I have a problem ... clean installation plus sample products. When you do not choose attributes and press button add to cart, the page is going down. Why is this happening? https://demo-...
0
votes
0answers
16 views

Magento2 : How to configure that one customer can purchase only one product once in website

In my website i have to configure that one customer can purchase a single product and if that customer login again he couldn't able to purchase any product. Is it possible???
2
votes
1answer
27 views

Create Update product REST API magento2.1

I got below error on my rest API on magento2.1 { "message": "%fieldName is a required field.", "parameters": { "fieldName": "product" } } My URL is: https://XXX/rest/all/V1/...
0
votes
2answers
112 views

How to hide price options on Configurable Product?

I try to hide the price (in the screenshot +4,20€) on my Magento 2.3 but it doesn't work. I want only T2 display and not T2+4,20€. I read and test a lot of posts too like but not working on my ...
2
votes
0answers
91 views

Magento 2: How to get product old and new data on product save button in admin backend?

I am working on Admin Actions Log Extension. For the reference, I am using the link below https://amasty.com/admin-actions-log-for-magento-2.html I want to get old and new data of products while we ...
2
votes
2answers
66 views

Issue with Index Management

I am running bin/magento indexer:reindex command for indexing. In admin panel Systems->Index Management Updated column shows the updated indexing date for all except ' Product Categories ' and '...
0
votes
1answer
35 views

Magento 2 product quantity increasing automatically

I have Magento 2.2.7, the issue is when I update product quantity to zero "0", it automatically increments the quantity after some time. I tried on 3 products and each products increment was different....
0
votes
0answers
23 views

Magento2: How can I make custom import / export product functionality?

I want to make custom import / export functionality? 1) Schedule or Cron wise Import Export. 2) Upload product from Google Sheet. Any one can do help in this?
2
votes
3answers
43 views

How to insert a link in Magento 2?

I'm very new to Magento. I have created a page, and I want to insert a link. I have this page: When clicking on "Order Detail", It's will move to another page. I tried to research but I can't find ...
1
vote
1answer
31 views

Magento2 Change Sku of product with custom option

I have simple product with SKU : AAA and has custom options Sku Option 1 A1A1A1 A2A2A2 Option 2 B1B1B1 B2B2B2 On Product page SKU is showing AAA is fine. Now if customer Add to cart and chosse ...
0
votes
1answer
28 views

Access specified product on custom URL

Greetings StackExchange. I' have a task where I cannot google anything on the subject. I want to create a copy of the standard Magento product view but it should be accessible on a custom URL. I ...
0
votes
0answers
22 views

Magento2.1 URL structure

I want to show my products by below URL structure in Magento2.1: localhost/products/ID/product title What should I do?
1
vote
1answer
38 views

Rest API import product Magento2

I want to add a product using REST API but don't know how should I do. could you please help me what should I do? Magento 2.1 I use. this is the code that i used: { "id": 989898989989989898, "...
0
votes
0answers
28 views

Magento 2 show pagination in admin custom module

I have created a module in which admin form I have shown product collection I want to paginate it. I have used a block and in which I have created Product collection. <?xml version="1.0"?> &...
0
votes
0answers
10 views

“Unique constraint violation found” Error When Assign Product through Category

When I create the new category and tried to assign the product through that new category, I got the error “Unique constraint violation found”. Please check below screen-shot..
1
vote
0answers
13 views

Add image options programmatically in custom attribute not working

I want to add new custom option to upload image like extension : https://shop.emiprotechnologies.com/documentation/custom-option-image-for-magento-2 . So basically , i override some file to add new ...
4
votes
1answer
54 views

Magento2 : Display Bestselling products for last 7 days

I want to display bestselling products for time inetrval 7 days. We can set period by day, month and year $bestSellers = $this->_bestSellersCollectionFactory->create() ->...
3
votes
3answers
62 views

Remove existing and assign new categories to existing product while updating it programmatically in magento 2

How can I remove existing and assign new categories to product programmatically in magento 2 while updating product data. <?php $newCategoryIds = array(5,6); $existingProductId = 25; $...
3
votes
1answer
258 views

Uncaught Error: Call to a member function getData() on null

we are using Magento 2.3.1 and Porto theme when I click on product its showing below mentioned error - https://offineeds.co.in/4-in-1-touch-led-lamp.html Fatal error: Uncaught Error: Call to a ...
2
votes
1answer
44 views

Magento 2 : Product Quantity Update Programatically If Product Status is Disabled

We want update product quantity programatically. If product status is Enable then quantity update properlly. But which product status is Disable quantity not update in it. We create one custom module ...
0
votes
2answers
55 views

What is Difference Between Group,Bundle,Configurable,Virtual & Simple Product In Magento?

I can't Find the difference between in all of them.Please Explain it.
1
vote
0answers
36 views

Magento 2 - bundle product

I want to sell in Magento 2 products that depend from production. I will explain this base on coffee. Let say I have 1 Kg of seeds arabika as a simple product. This translate to 900 g of ground ...
0
votes
0answers
20 views

Multiple Recuring with multiple items in cart and checkout with paypal

I have multiple recurring products in my store I am using express checkout single recurring payment created successfully but when I add multiple subscription items in my cart it not creating.it is ...
2
votes
1answer
78 views

Product image going to the wrong URL

I have this block at the bottom of cms pages that are created by bluefoot and when you click on the image it takes you to a long URL like if it was being searched for but if you click on "add to cart" ...
0
votes
1answer
27 views

Change the Product grid view to a specific number of columns

The default number of columns is 3. How do I change it to 2? I prefer a solution that uses the admin, but I will settle for any solution. I have looked through the Magento user guide www.magento....
2
votes
0answers
19 views

Magento Change Product View Url Multiple Website Wise

I have created multiple websites in Magento, and my website's homepages are working fine but When i am trying to view the product from the second website than product redirect to the first website(...
3
votes
1answer
37 views

How to get all the attributes of all Products. Magento2

I want to get all the products with all attributes it tried $productCollectionFactory = $objectManager->get('\Magento\Catalog\Model\ResourceModel\Product\CollectionFactory'); $collection = $...
2
votes
0answers
26 views

Magento 1.9.4.1 logged in customer can not show product page, it is showing 404

I have upgrade magento 1.9.4.1 from Magento 1.9.1.0 now a guest customer can visit the product page, but when the logged-in customer visit the product page it is showing the error as below: "...
3
votes
2answers
45 views

How to set default product group price in magento

We have 3 customer group. When we create a new product at that time we want all 3 groups are selected and it's price set default 0(zero). Anyone help me to set this type of functionality. Find attach ...
0
votes
0answers
23 views

Associated simple products filtering

Is there a way to filter the admin product grid so that it hides the simple products that have been associated to a configurable one? We just implemented a product feed with over 10000 products none ...
1
vote
1answer
39 views

How Get Products URL's in magento 2.2

I want to get products URL's using product collection,I have tried many links from searching browser,please help me with appropriate file path this is my module catalog import export code to get URL's ...
1
vote
1answer
39 views

Magento2 get ID of product in price template default.phtml

How can I get the ID of product in Magento 2, in tempalte vendor/magento/module-catalog/view/base/templates/product/price/amount/default.phtml I copied it to my theme: /app/design/frontend/xxx/ddd/...
2
votes
0answers
23 views

Magento2 URL key for specified store already exists. while creating product

I'm creating products using scripts. Product data came from json file. Problem is I'm getting error URL key for specified store already exists. ,when second product has same name but different sku. So,...
2
votes
1answer
34 views

In Magento 1 if i try to delete over 50 products the site crashes

Is there anyway to solve this rather annoying issue?
2
votes
0answers
26 views

How to create custom tab in search results page magento 2 [closed]

i want search results page like this, and can switch the 2 tabs by clicking, how to make it?
0
votes
1answer
23 views

Show final price (full price) of configurable products variations

I have a configurable product with 2 variations: Variation I (Default): Dimension 4.5cm Price $1.81 Variation II: Dimension 7cm Price $1.81 + R$1.01 = $2.82 I need remove + $1.01 and show $2.82 on ...
0
votes
0answers
26 views

Magento 2.3.1: Showing configurable products price in products grid

I'm trying to display the price of configurable products.After I imported it from a csv the price was there but if I save it the product price disappears. I would like to know how to show the price ...
0
votes
0answers
18 views

override product attribute values on product detail page

Hei We have tabs on product detail page and in specification tab I have length , weight attributes Those have some decimal values, I want to override them, how can I achieve this?? Looking for ...
0
votes
0answers
19 views

How to set bundle product out of stock if any associate product out of stock?

I want bundle product out of stock if that product's any child have 0 qty
4
votes
1answer
54 views

How do i delete products which are not in a category?

our site has over 90,000 products which need to be deleted and are not in categories, but the products in the categories we want to keep, how do i solve this?
0
votes
0answers
15 views

Configurable SIze Swatch Loding Issue

Hi Any One please help me to resolve size swatch taking long time to render. Please check the url http://52.66.213.76 Help Me to fix it. Thanks in advance.
2
votes
1answer
32 views

how i can add text in magento 2 product page price

here I want to add after MRP price: Incl.Tax Rs:1,550.52 in Magento 2 product page any idea's i tried this answer but it's showing text for both price(Incl.Tax and Excl.Tax) https://magento....
2
votes
1answer
34 views

Magento 2 Add Custom tab in Product Page

I like to view my product page information details like "accordion-toggle" and let me need to add custom tab with static text in same page information details.
0
votes
0answers
22 views

Chinese characters in product description Error utf unable to serialize

I got the error when I save Chinese characters in product description 1 exception(s): Exception #0 (InvalidArgumentException): Unable to serialize value. Error: Malformed UTF-8 characters, possibly ...
0
votes
0answers
22 views

How to restore only the product data sheet

I have encountered a very serious bug in magento2.2.6. This bug removed almost all product data from my store. Detailed description link for this bug:https://github.com/magento/magento2/issues/15935 ...