Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
2
votes
3answers
46 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
44 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
23 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
68 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
41 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
12 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
0answers
67 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
101 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
2answers
704 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
51 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
94 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
38 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
104 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
20 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
41 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
30 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
48 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
24 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
60 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
25 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
30 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
31 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
60 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
21 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
57 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
34 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
36 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
26 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
23 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 ...
0
votes
0answers
15 views

In Magento 2, How do I get the lowest price of custom options and set it as from price?

I have simple products in Magento 2 with base price as zero. I would like instead of showing zero price in the list and product details page to show from price which would be the lowest price form ...
0
votes
0answers
28 views

How to add additional custom price at the time of adding the product into cart in Magento 2?

I am using Magento 2.3.0 I have groped products on my website and all associated products of the grouped products are having tier prices and I displayed these tier prices in the product page in the ...
3
votes
0answers
67 views

Add Product to cart with required Options is impossible

I added a required customization option (not sure about the name in English, in French, it's "Option personalisable"). On the front, there is no problem until you try to add the product to the cart. ...
1
vote
0answers
35 views

Product stock not returning to available stock in canceled order

Is there any explanation of why product stock from canceled order is not returning to available stock? Step to reproduce: I tried to order an item X (until place order) Open admin site, edit ...
0
votes
1answer
53 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
18 views

How to convert API xml data to array in php

We use API for get data. In API has multi product data. But we get it in XML. How to convert it in array; so we save it it particular product.
0
votes
0answers
23 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
1answer
61 views

magento 2 get all products video gallery

I need to get all videos in one page, How I can get all the videos or get all product that has video?
1
vote
1answer
71 views

Magento 2: How to completely hide price from the store

I want to completely hide the price from the store. Be it in the catalog, product, minicart or cart. I need to do this through a custom module. Any help is appreciated. Thanks!
9
votes
1answer
204 views

Magento 2 - Full hierarchy wise product breadcrumb

If I open a product directly from Home or search page then breadcrumb shows like this: Home > MyProduct Whereas if I go to the category, then subcategory and then open the product, it show the ...
5
votes
0answers
25 views

Magento 2 : Is there any idea how product will come in mailchimp after connect my magento with mailchimp?

I just need to use Product Recommendations block in mailchimp account. My magento store is already connected with mailchimp account but i can not seen any product inside this product block in ...
4
votes
0answers
40 views

Sort by price is not working on magento 2

This is a website link https://magento-202257-609939.cloudwaysapps.com/catalogsearch/result/index/?product_list_dir=asc&q=wera I am developing for my client and after a search of any product when ...
0
votes
0answers
8 views

Different image on Visual Image Swatch for every product variation

How Can I set different image visual swatch for every product variation? For example, I got 2 products with a different variation, but I want their variations with a different image, like in this link ...