Questions tagged [product]

Denotes a question related to the Magento products.

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

How can I rebuild the “Customizable Options” section by using Ui Component?

I want to rebuild the section "Customizable Options" in product edit page
0
votes
0answers
33 views

Different price in cart

I'm using Magento 2, there is a difference in the price of the product and the subtotal, how to fix it? the actual price in subtotal.
1
vote
1answer
238 views

Magento2: how to create Toggle button yes/no in admin side

here I created a new payment method and want to change the current dropdown option into toggle yes/no button. please check the below code and images. Packt/Shipme/etc/adminhtml/system.xml <?xml ...
0
votes
0answers
21 views

Do not show same products name on product list page in magento 2.3.2?

I want to remove the product which product name same. here 3 products as name same I want to show only one PFA Please give me solution?
0
votes
0answers
8 views

Magento 1.9 Custom Options are not being added to the basket

On my client's site there are many simple products with custom options. When selected the price updates accordingly, but when Add to Basket is clicked the product is added but the options are not ...
0
votes
3answers
314 views

Magento2: Create toggle button yes/no in admin product page

I want to create a toggle button yes/no in the product or category admin side page. also eager to know its description of flow and binding process. I followed many tutorials but don't get the exact ...
1
vote
1answer
43 views

Magento2: create pdf file option in product details page

I need an option to select the chose upload file (pdf) from admin site and that file will visible and have a download option for users On the product details page on frontend. below is sample images. ...
0
votes
0answers
22 views

Magento1.9 return to listing Invalid entity type

After save the product while return to listing grid sometimes we are facing below “Invalid entity type” error. We had added a custom column to the grid name as Old SKU. I don’t know why this error ...
1
vote
3answers
47 views

magento 2 : how to display product name in cart according to store view(English/Arabic)

In the current scenario when the user adds a product from the English view on the cart page it displays product English name and when I switch the store from English to Arabic product name still ...
1
vote
0answers
18 views

Magento 2 : Add To Cart Product Ajax Success is Can't Working On Home Page

we have one issue about some add to cart product ajax success working in all page but homepage when adding to cart product then can't working. Home page ajax success can't be working in Magento 2 so ...
1
vote
1answer
114 views

Magento 2.3.3 set product as New date issue

I am having an issue with Magento 2.3.3 and set up as new to Date. Although I set the date in a product in admin, if I go back to the product and press save the date for set up product as new to is ...
0
votes
3answers
361 views

Magento 2.3.2 Product Export Message: “Message is added to queue, wait to get your file soon”

when i have product export and below message showing Error: "Message is added to queue, wait to get your file soon" Also i run cron command like php bin/magento cron:run still not downloading ...
0
votes
2answers
78 views

Magento2: Remove products from wishlist if it is already added to wishlist in Product detail page after clicking wishlist icon?

I want to remove products from wishlist if it is already added to wishlist in Product detail page after clicking wishlist icon in magento2.3.0? Any help would be appreciated.
0
votes
0answers
24 views

Magento 2: How to disable Quantity field in product edit backend?

I want to disable Quantity filed from the backend. Also, I want to disable all the fields from Advanced Inventory popup.
0
votes
1answer
117 views

Magento 2.2 Can we use Object Manager in Controller or Block? [duplicate]

To get product data, I am using object manager in my controller, but I read in docs that we should not use it directly. <?php pubic function execute() { $objectManager = \Magento\Framework\...
0
votes
0answers
14 views

Magento2.3 get product name using ProductCollection->GetData()

i'm working on Magento2.3 and i need to work with my product not as object but as array. So i use getData function and everything goes right. $array=$_productCollection->getData(); but GetData ...
0
votes
1answer
79 views

Magento 2.3 : Category names missing from breadcrumbs on the product page

I am using Magento 2.3 for my store.On the product page category and subcategory are missing from the breadcrumb.Is there any workaround to show the fullpath with category and subcategories in the ...
1
vote
1answer
74 views

Update Product QTY right before place order from external remote API

We want to update and check product quantity when user clicks on "Place Order" button. If product is outofstock in remote API and get 0 qty then user should not able to "Place Order" and display ...
0
votes
1answer
53 views

Magento 2 function to get a list of products (simple and configurable) with special price on a given date

I have the following function which gives me a list of simple products which are on special at the moment: public function getSpecialProducts($config = []) { /** @var $collection \...
1
vote
3answers
33 views

change product URL programatically

I need to change all my product URLs and I would like to use a code snippet to use it. All I need is a simple code which is Magento 2 compatible and will change the URL for one product then saves it. ...
0
votes
0answers
14 views

My product page layout configuration not responding to any changes?

** I got changes in my product page layout and I want to restore it back to the default of my theme layout .. and the product configuration does not take any effect in changes of the col in the ...
0
votes
0answers
22 views

ERP changes visibility status of products

We are facing a stupid problem. Our Magento 2 shop is connected to an external ERP system. Our ERP system sends back the status to the shop as it should, once the products are shipped and sets the ...
0
votes
1answer
23 views

Magento 2: how to get shipment id by product id?

For a single order, I want to get shipment id by product id if shipment created in that order.
0
votes
0answers
17 views

Magento 2 multistore Catalog Product CONTENT - EDIT & SAVE - CONTENT stays always DEFAULT

We had to upgrade to Magento 2.2.9 recently. It is a multi-language store, with DE and EN content. (store-view) Product descriptions in CATALOG-PRODUCTS-CONTENT are DE in DE-store and EN in EN-...
0
votes
1answer
24 views

Magento 2 When I add a configuration, the product disappears from front end

I am attempting to add configurations for a product, but whenever I add a configuration, it disappears from the front end. When I remove the configuration, the product reappears. I've also noticed ...
0
votes
2answers
33 views

Magento 2 how to show another text if price is > 2000?

I want to show custom text instead of the price if the product price is > 20000. if price > 20000 then I want to show "contact for price" instead of price. Also, I need to hide the add to cart ...
0
votes
0answers
47 views

Magento 2 Do we need to reindex & cache clean for Product Qty update

I need to update product Qty programmatically, I have my main store where I have my stocks details so I need to update to Magento whenever it's triggered from my Main store or by cron with interval. ...
0
votes
0answers
14 views

Product Page Type - “Default” fails to load

A bit of an issue here. Working on Magento 2.3.1 Whenever I create products, I wish to have the "standard" main picture show up with additional picture underneath it - see example: However, when I ...
2
votes
1answer
113 views

Magento 2 Error while saving product with customizable options when more than 2 options

I am facing below error: Recoverable Error: Object of class Magento\Catalog\Model\Product\Option could not be converted to string in /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on ...
0
votes
0answers
10 views

Created a custom field in Product Edit Form via UI Component, Need a clear answer as to how to save value to database, and call value on front end

I figured out how to create a module. And I figured out how to add a custom field to product edit form per https://devdocs.magento.com/guides/v2.3/howdoi/customize-form-configuration.html This is ...
1
vote
1answer
421 views

Problem on saving attribute. “The value of Admin must be unique.”

Currently, I'm migrating a website from Magento 1 to Magento 2. I've used the data migration tool and moved my data to Magento 2. When I try to update a custom attribute called 'color_sw_selection',...
0
votes
1answer
42 views

Magento 2.3 - Can't translate product name

After I upgrade my store to latest Magento 2.3.3 version, I can't translate Product Name in the Backend there is not any checkbox or something. Like this is now: So there is not anyway to translate ...
0
votes
1answer
27 views

unexpected changes in my product page layout?

unexpected changes in my product page layout that attached in the first screenshot happened to my product page bootstrap layout system .... i can't get back to my default magneto layout as it attached ...
0
votes
0answers
28 views

Create Product at Magento 2 Using REST in C#

I'm trying to create a simple Product by Rest API. Response.Status = Unauthorization I wonder if the installation or configuration of something is missing Here is my code public void CreateProduct()...
0
votes
1answer
146 views

Create Product at Magento 2.3.3 Using REST in C#

I'm trying to create simple Product by Rest Api status code is ok Although I can not see the product in Magento2, Here is my code : Token = this.GetAdminToken("admin", "password"); var request = ...
0
votes
1answer
29 views

how to Remove the decimal number from price in Magento 2.3

We want to Remove the decimal number from price in Magento 2.3 ex. 100.00$ to be 100$. Anyone know how to do it? Thanks in advance.
0
votes
0answers
22 views

magento 2 sort using ORDER BY FIELD

Case : i have create attribute name : Populairty attribute details as below , i have set Used for Sorting in Product Listing as yes , value of it can be as 1: yes 2: no 3: very popular i want to ...
0
votes
2answers
53 views

Calling product description into custom module Magento 2

New to Magento 2 and hit a bit of a hurdle I can't seem to find the answer to. I'm trying to add the product description into a custom module that's called inside of the product page. I've tried ...
1
vote
1answer
55 views

How Best seller tables gets populated Magento 2?

There are 3 tables related to bestseller in Magento 2 sales_bestsellers_aggregated_daily sales_bestsellers_aggregated_monthly sales_bestsellers_aggregated_yearly How and when these tables get ...
0
votes
0answers
23 views

Magento2: Gallery Customisation

I want to display three images instead of displaying a single product image in the gallery. Is there any possibility? Thanks.
0
votes
1answer
33 views

Product detailed page get 404 in one store view

I have 2 store views. One is in Chinese and another one is in English. After I import the product information programmatically. Only the store view in the Chinese could display the product detailed ...
3
votes
2answers
50 views

Which of my magento 2 extensions that changed my product page layout?

once i downloaded one of the extensions that viewed in the image that attached .. it had change my product page layout .. and make the product image appears in different column and different size .. ...
1
vote
2answers
31 views

In my category landing page, 9 products are showing by default. how to make it 12?

In my category page, 9 products are showing by default. I want to make it 12 by default. how to make it 12?
0
votes
0answers
16 views

Product images loading from previous product, when i try to add new product

Can anyone help... When I try add a new configurable product, the previous images load up and I have to delete and reload them 3 times for it to get the correct images Magento 2.3.2 currently up-to ...
0
votes
1answer
26 views

Magento 2 How to move product swatches container

I am trying to change product swatches container and putting it in detailed info tabs.But it move whole option block.How to move only swatches.Table is a watches image. <move element="product.info....
0
votes
2answers
42 views

Magento 2 : Get simple products from configurable (with Out of stock products)

I'm looking for get the simple products associated to a configurable one. I'm currently using this : $product->getTypeInstance->getUsedProducts($product); Where $product is a configurable. But ...
0
votes
1answer
50 views

Magento 2 - Get disabled product by sku

I try to get disabled products by sku. These products are not in flat table, so I can't use collections to find them. I tried some methods to find products, but it doesn't work Magento 2.3.2: ...
0
votes
0answers
23 views

How to send 'Out of stck' to back of the page Magento 2

How can I display In stock product first and Out of stock products back in catalog pages? I tried something like this, public function aroundgetProductCollection(\Magento\Catalog\Model\Layer $...
0
votes
0answers
14 views

Category not being updates for products

I currently have a cronjob plugin running in the background of my magento 2 installation which imports products from an XML file to the db. The code checks if the product exists, and if it does it ...
0
votes
1answer
36 views

magento getProductCollection add random order and exclude a product id only from output

I want to get random product from category id which is working find but i want to exclude a particluar product id from out and show output in random order Below is my code , please help me with way ...

1
3 4
5
6 7
90