Questions tagged [product]

Denotes a question related to the Magento products.

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

After shifting the website to another server. Products are showing out of stock

All product showing out of stock. I found the error while uploading the database file. CREATE ALGORITHM=UNDEFINED DEFINER=`user`@`localhost` SQL SECURITY INVOKER VIEW `inventory_stock_1` AS ...
0
votes
1answer
28 views

Add product to quote, if he has zero stock qty

How i can add product (for example with 10 qty) to quote if this product has 0 stock qty.
0
votes
0answers
24 views

Redirect Simple Products to their Configurable Parent with Attributes Pre-selected

Hey guys I am trying to Redirect Simple Products to their Configurable Parent with Attributes Pre-selected and I followed Daan's guide. The Observer is as follows: <?php namespace DaanvdB\...
0
votes
0answers
18 views

How to remove Specific Category name from URL when product is load

Can it possible to Remove Specific Category from URL when Product is Load. For Example, if Category Name Like this Product Subject Presenters 1) when we click in Product Category Load all ...
0
votes
0answers
13 views

No simple products showing on frontend

My product (approx 1000 product) is not showing on frontend. I have tried to clear cache and reindexing but still after that I am not getting my product in frontend. Currently I am using Magento 2.2.2 ...
0
votes
0answers
17 views

Item with the same id “2011” already exist

I am getting this error when i try to sign in as a customer. What is the reason behind this. I checked there is no duplicate entry for the record id 2011. See error in details here https://prnt.sc/...
0
votes
1answer
44 views

Magento 2.3.3 increment and decrement for Product page adds to all product

I have been successful in adding code to the file addtocart.phtml to have increment and decrement. I had read to add the same code to grouped.phtml to have the option on the grouped page. the boxes ...
0
votes
0answers
14 views

Getting the parent category of a given product

So, this is how I get the category of the current product: $categories = $item->getProduct()->getCategoryIds(); Since I set only one category to each product, this is how I get its parent ...
0
votes
0answers
12 views

Toggle Visibility of Info in Individual Product Pages (Magento 2.3)

If I simply wish to enable or disable the visibility of certain pieces of information on an individual product page, must this be done by a developer editing the template or related files as mentioned ...
0
votes
1answer
32 views

How add new button to grid product

I want add new button near Add Product button in grid product in backend.
1
vote
0answers
23 views

Provide downloadable link on Product Purchase in Magento 2

I have a website in which downloadable products are their on ordering a product i want to provide a downloadable link for that on product order success page. Is there a way to provide that in Magento ...
0
votes
0answers
159 views

Magento 2 - Unable to change category products position

In Magento 2.3.0, I try to change position for category products. In admin, each position is set but in the frontend, nothing changes. Even after clear/flush cache and reindexing. Do you know how ...
1
vote
0answers
55 views

Configurable Product - Disable and grey out out of stock

I've seen some posts about this but can't get to a conclusion. In a configurable product with dropdown all option appears (in stock and out of stock), what I need is to disable the ones out of stock ...
0
votes
0answers
22 views

anyone know where is the value came from?

Anyone know where this value came from? I have no idea why it is showing... Please help
0
votes
0answers
77 views

Default Add To Wishlist is not appearing in product detail page in magento 2

Move to wishlist option is appearing in cart page but in product detail page Add to wishlist is not appearing. In the backend, it didn't disabled wishlist options but still, it is not displaying in ...
0
votes
1answer
46 views

How to Use Cookie-free Domains and Expire Headers in Magento Site

Hallow Guys ! I did run speed test on my sites and most of the results shows that "Add Expire Headers" and "Defer parsing of Javascript" "Use Cookie-free Domains " If anyone know kindly help me ! ...
0
votes
1answer
36 views

Change order of widget catalog products list

I have a product in my product list, which must be at the top. After I have extended the product list, the product is unfortunately no longer at the top. I add the product list via the widget catalog ...
1
vote
0answers
98 views

Memory leak in product save loop

I'm trying to import ~5000 products from XML, but the execution time and memory usage increases in each loop, resulting in a long import process. Test code to demonstrate: <?php namespace Test\...
0
votes
1answer
19 views

Magento 1.9 product Zoom issue

I am facing an issue with our product zoom functionality. You can see under zoomed image we can see qty + and - signs clearly. Can someone assist me with how to fix this?
0
votes
0answers
35 views

Magento 2 Delete download file from downloadable product via csv

I want to update my downloadable product via csv by removing current assign downloadable file and assign new file to the product as shown in screenshot I want to delete this test_image2.zip file and ...
0
votes
1answer
19 views

I getting the Error on product page magento 2.3

I tried to update the product using REST API but it shows the page this like i can't recognise the error please any one help to resolve it. Header : rest/all/V1/products/SKU My API : { "product":{ ...
0
votes
2answers
326 views

Magento Cloud reindex fail elasticsuite

I try to reindex my Magento Cloud and caught below error. Anyone whats wrong with the ElasticSuite web@mymagento.0:~$ php bin/magento indexer:reindex Design Config Grid index has been rebuilt ...
0
votes
0answers
17 views

Magento 2 want to display both reviews & ratings

I would like to display both reviews & wite a review section can u plz advise. But in M1 anyone can only display but I want to display both.
0
votes
1answer
43 views

How to add <h2> tag to the product tabs in Prodcut detail page in magento 2

I have 4 custom tabs on the product detail page. How to add the tag to the tab heading. catalog_product_view.xml <block class="Magento\Catalog\Block\Product\View" name="magneticBallastTable.tab"...
1
vote
0answers
129 views

Product custom attributes not updated - Magento 2 REST API

I'm using Magento 2.3.4 CE. I used the below JSON to update the product custom attribute part_number in swagger. { "product": { "sku": 678899, "name": "...
0
votes
0answers
25 views

How to show all product in catalog page ? Magento 2

I need to show all products with a layered navigation filter, or is it possible to show the root category as a parent category, where all categories will be displayed in layered navigation. So to ...
0
votes
0answers
17 views

Magento 2 : How to show Sold Out for Configurable and Budle Product on product listing page

I want to a show Sold Out Label on product listing page, when any of the option not available for configurable and bundle product.
1
vote
2answers
88 views

In this Model what they are mentioning as getTypeId()

In this Model they had mentioned the getTypeId() but for what they mentioned as type id i can't understand can anyone please explain me. $orderItem->getProduct()->getTypeId() what will be the ...
0
votes
0answers
11 views

Nesting Pruduct details default block in my custom block

I would really appreciate a hand here - thanks in advance for any tip, I'm fairly new to Magento's layout structre. I've created a custom block via backend. In that block, among other things, I would ...
2
votes
4answers
928 views

How to update the attribute scope programmatically in Magento 2

I have 20 product attributes. I need to change those attributes' saving scope to "Global". How can I achieve this?
1
vote
0answers
102 views

Magento 2 Custom grid join with product table filter is not working

I've created a custom grid using Ui Component, In my custom table I have a product_id, So instead of showing the product_id, I like to show the product name in my grid so that I have added the below ...
0
votes
2answers
74 views

Magento 2.3 insert a product into a specific store

i have Magento 2.3 and i create three different store view with different ID. After i created a product i can change the price, the name ecc... by the select on the upper-left. But when i create a ...
0
votes
1answer
205 views

How to get product attributes detail in magento 1.9

I want to get the product custom attribute value for all the products in each order. How can i get the product attribute value using both order id and product id in magento 1.9
1
vote
1answer
27 views

What is the best practice to save a product by its id ? Using factory or repository? [closed]

Save product by its id in magento 2. What is the best practice in use ?
0
votes
1answer
132 views

How to remove the attribute element in the layout in magento 2

I wish to remove the attribute element in the catalog_product_view.xml file I have tried below <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
21 views

Transfer values from product view to checkout

I have customized the Product View page with different settings. For example, the customer can choose whether he wants a special delivery type or how long he needs the device. The selection also ...
0
votes
1answer
350 views

Magento 2 - check if product is new

How can I check if a product is new in Magento 2? I found this solution for Magento 1: function isProductNew(Mage_Catalog_Model_Product $product) { $newsFromDate = $product->getNewsFromDate();...
0
votes
2answers
26 views

Can't load current product

I try to load the current product in gallery.phtml Helper (app\code\Company\Base\Helper\Data.php): ... use \Magento\Catalog\Helper\Data as CatalogHelper; class Data extends \Magento\Framework\App\...
0
votes
2answers
194 views

Why titles for Description and Short Description not showing on Product Page?

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why? I tried to set the titles by doing: app/design/frontend/MyTheme/Magento_Catalog/...
0
votes
1answer
79 views

Magento 2 : Add product category filter in order grid

In admin I want to add product category filter in order grid so that admin can filter by category and processed the order. Please help me guys. Thanks
0
votes
0answers
12 views

Why I can't do product configuration?

Can't do product configuration, the product image does not appear on the screen, neither product description isn't changing by clicking from one product to another by selecting the colour. On the very ...
0
votes
0answers
30 views

Move only error message on product view page

can I just move the error message (You cannot use decimal quantity for this product.) under product.info.price?
0
votes
2answers
78 views

Magento 2 - some products not showing in frontend - 404 site not found

I am editing the description of a certain product for hours now and saved alot during this time and it always worked and showed me the updated description in the frontend after reload, but now I ...
0
votes
0answers
40 views

Products color image didn`t load and i see placehold image

can anyone help me? when I click on products color image, it did not load and I see placeholder image instead of product image!! Edit: I found that cache product did not generate auto , i tried ...
0
votes
1answer
192 views

Magento2 How To Export Product Custom Attribute With Value

I have export product from backend and getting custom product attribute but it shows empty data in csv file. does anyone know how i can export custom attribute with value?
1
vote
1answer
39 views

Change Product Price if particular Payment Gateway is selected

I have 2 payment gateway on the website, I want when user choose payment gateway one, price of all products gets increased by 10 I new to magento and could not find with an event to override for ...
0
votes
1answer
35 views

Create configurable product magento 2 Programmatically

Create Programmatically configurable & simple product
0
votes
3answers
100 views

I want to add zoom effect on click of product images

I have attached the screenshot of before and after zoom after on click the should be like
0
votes
0answers
12 views

Magento2: Adding product including tax and show reduced tax from product on checkout?

I want to reduce tax for all the products on checkout with 20% based on shipments as my product is already added with the tax on admin catalog simple product please suggest me any idea of ...
0
votes
1answer
34 views

Magento 2- Product list sorting issue for alphanumeric product name

I am facing problem in product list sorting by product name if the name is alphanumeric, Such as "Facewash, 50ml", "Facewash, 200ml" and "Facewash, 500ml". Expected result:- "Facewash,50ml", "...

1
5 6
7
8 9
94