Questions tagged [product]

Denotes a question related to the Magento products.

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

Magento 2 theme not displaying configurable price

I am using the Solwin FreeGo theme on my installation of Magento 2.3.4 - and I have noticed that configurable product prices are not displaying on the product page. (Screenshot attached below) When I ...
user avatar
0 votes
2 answers
15 views

Warning: Object of class Magento\Framework\Phrase could not be converted to int product/list/toolbar/limiter.phtml on line 26

Can anyone have faced the below error while opening the product listing page at the storefront? Running instance on the Magento version 2.4 vanilla. No third-party modules/themes were installed. A ...
user avatar
  • 3,582
1 vote
1 answer
19 views

Magento 2.4.2: Disable/hide reviews tab in the product details page

The tabs in our product details page include a tab called "Reviews". Where does that come from, and can it be hidden or eliminated? The Yotpo system that we're using already has the reviews ...
user avatar
0 votes
0 answers
19 views

Manegto 2.4.4 translation goes to homepage

I have a newly installed Magento 2.4.4, i created 2 store views English & French. When I'm in base language (English), and the current page / product is translated from backend, it goes to the ...
user avatar
  • 1
0 votes
0 answers
23 views

how to get custom product attribute value in model file in magento2

I have created a custom product attribute using data patch in my custom module and it is visible in product configuration in admin, also when I save value in it, it get save to ...
user avatar
1 vote
1 answer
42 views

Override the product alert cron frequency configuration to “Never”

Im new at magento and am stuck trying to modify the "catalog_product_alert" I need to update it so even if a product has a list of customers subscribed to the stock alert the alert email are ...
user avatar
  • 39
0 votes
0 answers
10 views

delete product in magento 2 this warning appears in a server log client dened by server"). What could I do?

When I want to delete a product in Magento 2, this warning appears ("A total of 1 record(s) haven't been deleted. Please see server logs for more details "). The log tells me ("client ...
user avatar
0 votes
1 answer
23 views

Magento 2 : product quantity increasing automatically

I am using magento 2.4.1, the issue is randomly my product's quantity is increasing, it automatically increments the quantity after some time. I tried to keep eye on few products and found that each ...
user avatar
0 votes
0 answers
17 views

How to create custom grid with product data in magento2.4.3

I want to clone product data into a custom grid with the custom conditions. How can I achieve this ?? Thanks in advance..
user avatar
  • 5,666
1 vote
1 answer
18 views

Custom block last on productpage Magento 2

I'm working on an Magento 2 webshop and I have implemented some code to show a custom block on the productpage. But it is showing before the Product Details / More Information (tabs). In the file /app/...
user avatar
0 votes
0 answers
11 views

Magento 2: How to prevent product meta description and tags in sitemap?

I am setting up the robots.txt for sitemap and I want to restrict the product meta description and meta tags for the web crawlers but I don't know which instructions I need to put in robots.txt file. ...
user avatar
  • 480
0 votes
0 answers
23 views

Magento 2.3 Prev/Next Product on Porto theme is not working

I have set the category sort order to 'position' both in store catalog settings and categories settings. It works fine on category view. However when on a product page the previous/next product link ...
user avatar
  • 1
0 votes
1 answer
18 views

need to remove the the number of review tag

I just want to remove the "3 Reviews" text from my custom module. for that, I have created a file *view/frontend/layout/catalog_product_view.xml file. Please check SS My module name is : ...
user avatar
0 votes
0 answers
16 views

Search functionality not working on key 100% match

im using magento 2.4.2 and the search functionality is not working on 100% match key. for example i want to search product name with name "Bord". yes it showing "bord" product ...
user avatar
0 votes
0 answers
17 views

Magento ver. 2.4.3-p1 - "Add new tax class" button is missing Create a new product tax class

There is no "Add new tax class" button in Magento ver. 2.4.3-p1, see screenshot. And the following error in console: Uncaught ReferenceError: require is not defined Any ideas why the buttons ...
user avatar
  • 1
0 votes
0 answers
8 views

Change pagebuilder product carousel breakpoints

I need to create responsive product slider. Problems appear on mobile version where I need only one visible item per scroll, instead I get 2 stuffed together. I tried overriding Magento_PageBuilder/...
user avatar
  • 1
0 votes
1 answer
48 views

Fastest way to get attribute value of custom product attribute by attribute_code and sku

Hello fellow Magento developers, What is the most efficient way of getting an attribute value of a custom eav product attribute, by only using its attribute_code and the products sku? => The ...
user avatar
  • 33
0 votes
1 answer
12 views

How can I calculate the final price of the product as the price of a unity times its quantity in a group ? Magento 1

In my Magento store,a product has an attribute about the quantity of this product in a box,on the checkout is showing the price of the unity. How can I set its final price as the price of the unity ...
user avatar
0 votes
0 answers
9 views

no-route-2 custom module magento 1.9 (anonymous page access)

Good afternoon guys, I'm creating a module to add a product to the magento 1.9 cart, which is outside the site, on an external site. When sending the information from an external server via POST, ...
user avatar
  • 197
0 votes
1 answer
41 views

Magento 2 - How to add columns to Sales order products grid?

In magento 2 I need to add columns (stock, status, brand) in this admin grid : Sales > Order > Create new order > Select Product Grid Do you know how to achieve this ? Thank you
user avatar
  • 107
0 votes
2 answers
18 views

Magento 2 How to get OptionTypeId of product custom option?

How to get OptionTypeId of custom option of simple product with option type field or area. Option type dropdown return the value of OptionTypeId but I also want this value with option type field or ...
user avatar
0 votes
0 answers
29 views

Magento 2: How to display product image caption instead of product title below the image in product details page?

We want to replace product title/heading under product image with its caption(value in title attribute of IMG element). The things that do need the captions are: When clicking on another image in the ...
user avatar
0 votes
1 answer
29 views

Magento 2 how add product select to the widget xml?

I want to add a sku product selection to the widget, but I can't find how to do it Please tell me how can this be done
user avatar
0 votes
0 answers
19 views

magento 2.4 programmatically create new product with custom id

the usual procedure to create a new product via code is to call the product factory, set the new data, then save using the repository: $data = [ 'id' => $id, 'sku' => $sku, 'type' => \...
user avatar
  • 143
0 votes
2 answers
36 views

How can I get if is in this table 'catalog_product_entity_text' Use Default value on product Magento 2

In database, I find data like this SELECT * FROM catalog_product_entity_text where entity_id = 70430 AND attribute_id = 76 AND store_id = 5; How can I do it programmatically? I need info if it is ...
user avatar
0 votes
1 answer
11 views

Split Configurable Products' options onto two pages

A particular Product has eight configurable attributes. The logical flow from a user perspective would be to select the first four attributes on one page, click "Next", then select the last ...
user avatar
  • 1,113
0 votes
1 answer
12 views

Admin stuck on loading when creating a new product

some admin users whatever the role he has. when creating a new simple product Magento stocks loading the page without any HTTP request. I tried these commands. setup:upgrade & setup:di:compile &...
user avatar
0 votes
1 answer
23 views

How to rename file while uploading catalog images in Magento2

When you upload a product image from backend to Magento that has the name that we are uploading like slide1.jpg I need to rename uploaded file name to productsku_slide1.jpg and same for other images. ...
user avatar
  • 561
0 votes
2 answers
48 views

Magento 2 - automatically set product as new when CREATING product only

I want Magento (2.4) to set newly created products as new for specified period of time but only when product is created and not saved after being edited... So, I would need something very similar to ...
user avatar
0 votes
1 answer
47 views

Magento 2 : Get Configurable Product using swatch-option

I want to get product id on selecting swatch option.for that i have used code as given below. i am getting error of "Cannot read properties of undefined (reading 'options')" as per given ...
user avatar
0 votes
2 answers
42 views

Magento 2.4 get stock qty after the product is saved in plugin

How to get stock qty after the product in saved via plugin? With code bellow I allways get "stock qty" 0 no matter what. di.xml: <type name="Magento\Catalog\Model\ResourceModel\...
user avatar
1 vote
2 answers
145 views

Magento 2 : Create a JOIN

I am trying to display a report which GROUP BY : SKU and Subsidiary. So instead of displaying each RMA in different rows, I am trying to display Filtered Report, Group by SKU and 2nd group by ...
user avatar
  • 68
0 votes
1 answer
38 views

New products not showing in category frontend Magento 2.3.7-p3

Before you dismiss this kindly read the details. I have come across several issues but none provide a solution to my question. My products do not show in the frontend of the store. They are visible ...
user avatar
1 vote
1 answer
22 views

I wanto to make the qunatity of products in a dropdown

My qunatity/Qty on Product page i simple a text field. I want to change it into a drop-down.
user avatar
0 votes
1 answer
280 views

Magento 2 Product Salable Quantity shows 0 even if Qty is greater than 0

The products Salable Quantity of Simple products shows zero(0). But its Quantity is greater than zero (>0). Due to this product swatches are not showing correctly on the front end. Magento admin ...
user avatar
0 votes
0 answers
17 views

Magento2 : Save Product Quantity To Custom Attribute

I Want To save Product Quantity Value In Custom Attribute. For That, I Have Created Patch With backend_model :-Magento\Catalog\Model\Product\Attribute\Backend\Stock. Whenever I save Value It Renders [...
user avatar
0 votes
0 answers
17 views

Magento2 : Category Page (Product Listing Page) Custom Sorting Option Not Working

I Want TO Display Product Based On Product Stock On Category Page. I Have Used Code As Below. I Have Used the Around Plugin To Set Collection. File:- di.xml Vendor\Module\etc\di.xml <type name=&...
user avatar
1 vote
2 answers
36 views

How to change swatch from grid view to list view

I'm new one here. I have no experience with magento developing. I want to change my product swatch from list view to grid or grid view to list view. I have also attached a picture of my product page. ...
user avatar
0 votes
1 answer
50 views

Magento 2 - Orders with deleted products ProductRepositoryInterface The product that was requested doesn't exist. Verify the product and try again

If I want to print my order using some PDF extension which uses the table from transactions emails, some invoices with deleted products are causing an error. As a result the table will be blank. ...
user avatar
0 votes
0 answers
21 views

Magento 2 : Render Product Using Custom Sorting Option

I want to display product on Qty Desc order but shows no product to display. I run sql query used in sorting and it working in as per qty. I have tried below code. $collection->setOrder('price','...
user avatar
0 votes
1 answer
89 views

Magento PWA show custom product attribute in details page

I am trying to modify product details page on Magento PWA Studio. I have a custom attribute(text-editor type), and I have some html there. When I am trying to call that attribute it comes as string ...
user avatar
  • 714
0 votes
0 answers
81 views

Magento 2 Get product (rest/V1/products) with filter Different result with Web (PLP)

I have configurable products that have variants with COLOR (RED/BLUE). In Web at PLP page when filtering with COLOR Red (value:13) But when using API rest/V1/products, the response does not same as ...
user avatar
  • 161
0 votes
0 answers
41 views

Store product from API

I'm using Magento 2.4.3 and tried to store product from API following the docs https://devdocs.magento.com/guides/v2.4/rest/tutorials/configurable-product/create-simple-products.html using POST to ...
user avatar
0 votes
1 answer
30 views

Incorrect integer value: '' for column `project-preprod_db`.`catalog_product_entity`.`has_options` at row 1

Running a custom import script, I'm facing this error for some products (some others are perfectly being created without this issue). Error occured on B2C product import : The product that was ...
user avatar
  • 782
0 votes
0 answers
69 views

Magento 2 Youtube is not working for configurable product

Using Magento 2.4 version. On simple products, youtube works properly. but on configurable and their children's products youtube is not working. Does Anyone face this type of issue?
user avatar
  • 1,153
0 votes
1 answer
45 views

Add To Cart Problem with Grouped Products

Most of my products are Grouped. The problem I have is that on the Category Pages when the Add To Cart button is clicked, it goes through to the Product page and immediately has the warning message at ...
user avatar
  • 172
0 votes
0 answers
85 views

How to create a script to export each product with all images, names, SKUs, dimensions as a CSV programmatically in Magento 2?

**This is a working code** **You Create a file path as i.e. http://localhost/magento241/exportproduct.php** <?php use Magento\Framework\App\Bootstrap; use Magento\Framework\App\Filesystem\...
user avatar
0 votes
1 answer
18 views

how to get the name of the category that the user used to add the product to the cart. Magento 1.9

I need to get at cart what category the product came from. The problem is that the product is added to several different categories, and I need the category in which the user accessed to add the ...
user avatar
  • 197
0 votes
2 answers
199 views

how to delete media image after we delete product in magento2?

As image plays an important role in page load time,Need to delete image too after delete of product from admin panel in Magento 2
user avatar
  • 60
0 votes
0 answers
10 views

Magento 2 product page 3 column - how to order the columns?

I have changed my products page so that it has three columns. Each column now contains: product-info-main (Product title, price, short description, etc.) product-add-form (Add to basket and product ...
user avatar
  • 3

1
2 3 4 5
98