Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
0
votes
1answer
9 views

Magento 2 disable add to cart on product page

Im running M2 2.3.4 and would like to disable the add to cart bottum on some product pages because they are to complicated to ship. Have created an Yes/No attribute "afhentes" and I would like to ...
0
votes
1answer
5 views

The requested sku is not assigned to given stock. Product is not displayed

When I go to product page I get this: The requested sku is not assigned to given stock. Also product is not displayed on category page.
0
votes
1answer
22 views

magento 2 product page gallery images not showing

I am facing issue with gallery images I have images in backend but not showing in front-end product page gallery slider I have checked there is no error in the console.
0
votes
2answers
29 views

Remove block from Product Page in Magento 2

I want to remove right side block from product page. See https://prnt.sc/r5mlfi How can i remove this? What is the name of this block? <referenceContainer name="content"> <block ...
0
votes
0answers
7 views

Magento2 Import csv without required attribute like attribute_set_code and product_type

Magento2 Import CVS without required attribute like attribute_set_code and product_type Note: we can add run time while CVS running
0
votes
0answers
17 views

how to fix magento 1.9.3 ERR (3): Notice: Undefined variable: productId

Hi Magento log show ERROR Notice: Undefined variable: productId in /home/myhomestoreco/public_html/app/code/local/Sm/Cartpro/controllers/IndexController.php on line 31
0
votes
0answers
13 views

Magento 2 add multiple products to cart at once - controller

I am having issues adding multiple products at once on a controller that I created. If I comment the first the second one is added fine, but if I keep it not commented only the first only is added to ...
-3
votes
0answers
15 views

how to hide custom tab on product detail page base on category of product in magento 2.3.3

how to hide custom tab on the product detail page base on the category of product in Magento 2.3.3. here is the code Lava Calculator ...
0
votes
0answers
8 views

Magento 2.3.x: Dropdown Tax Rule do not selecting correct Tax rate for product

Here I create a dropdown for the user to choose the tax rate, for the same country same state. but different store. Two different stores US and US1 for the common country (i.e. united states) https:...
0
votes
0answers
17 views

Set custom attribute value for a product programatically in magento 2 [duplicate]

I have created custom attributes for a product. I am doing product import programmatically. How to set value for the custom attributes programmatically in magento 2.
0
votes
0answers
24 views

How to convert drop-down into checkbox in Magento 2?

Fair and straight. Is it possible to convert drop-down to checkbox for front-end only after creating configurable products?
1
vote
0answers
31 views

Inconsistent Product URL

I'm facing an issue in Magento 2.2.0 and Unero Theme 1.3.2 where there are products that have an URL like: https://example.com/catalog/product/view/id/440/s/product-url-key/57/ and the others are: ...
0
votes
0answers
26 views

How to solve Add to cart not working in Magento 2?

Our "add to cart" button are not working... When we click on the button, the page refresh then nothing. Any ideas? https://stage.shopunder.com
0
votes
2answers
35 views

How to get total default quantity stock in stock and salable quantity stock in product In Magento 2?

I want to get 2 values. 1. How much total quantity assigns to the product? example(50) 2. How much is the total quantity remaining for that particular product? Like if 50 quantity is there and if 5 ...
0
votes
1answer
23 views

Product images not showing for some product - Magento 2.3

I am new to Magento, Facing some issue with product images : Total product count : around 550 1) On Product Detail page images are not showing for some product, showing error 500 in console. (/pub/...
1
vote
0answers
14 views

Magento2 Product Price For Widget is not refresh price with currency switcher

I have create one widget and display some products to that product, but while change currency using currency switcher , it does not change new currency
1
vote
1answer
19 views

How to display Multiple price currencies in product page?

I want to display 2 currencies at a same time on product page, just like $50 and AED200 something like this : https://miatlantic.ae/ws-c3850-24t-s
1
vote
0answers
30 views

How to add quantity increment and decrement button with catalog widget product Magento 2

I want to add custom quantity increment and decrement button with catalog widget product.
0
votes
1answer
28 views

How I can set “Display Product Options In” via Magento2 Api?

does anyone know if you can set this option via Magento API I couldn't find anything in the documentation, and I'm too unable to find it in the source code https://devdocs.magento.com/redoc/2.3/...
1
vote
0answers
22 views

Update product data in magento 2

I am trying to update product data programmatically through scripts. The data gets updated in database but not getting reflected in admin panel. I am using magento 2.3.2 Here is my code $product = $...
0
votes
1answer
22 views

Disable URL redirection from catalog to product view in case of the error “The requested qty is not available” when adding too much products to cart

I can't figure where to find the code displaying "The requested qty is not available" and redirecting to the product URL when we add more product than the stock. [I'm using Magento 2.3.3 and custom ...
0
votes
0answers
22 views

How to fetch data from one database into Magento database

I want to create webservice which fetch products data from one mysql database and insert into magento database. When product added into a mysql database it should be added into magento database also.
0
votes
0answers
31 views

Magento 2 programmatically update products by processing feed (cron job)

I have looked everywhere high and low, and tried every "solution" I could find, but could not figure out what's wrong with my code. We have an XML feed which gets imported to a local folder, and then ...
0
votes
0answers
26 views

Magento 2.3 How to update product stock quantity programmatically in web serves

Magento 2.3 How to product stock quantity update in programmatically in web serves SoapClinet api request, I want to update multi products stock quantity.
0
votes
0answers
9 views

CheckoutSession throws error when chaning the price of the product in cart?

I am using $this->checkoutSession->getQuote() in one of my module. When I change the price of the product already added in the one-page checkout, from the admin and reload the one-page checkout $this-...
0
votes
1answer
13 views

FREE SHIPPING configuration not working for diffrent products in cart

Magento2 experts. I need a help. I need FREE SHIPPING on 3 or 3+ products. I set in cart price rule. in Action- "Quantity in cart equals or greater than 3" When I add same 3 products to the cart, it ...
0
votes
0answers
14 views

Products not showing up in category but are showing up in layered navigation drilldown

I am running into an issue where I have about 1000 products in a category. I have it sorted by price as the default. When I go to the page, it is showing the price order correctly, only, there are ...
0
votes
1answer
28 views

I want to display my products in my own template

First, I am new to Magento 2. My aim is to achieve when products added in the backend I want it to show in my custom template. Can anyone suggest some methods to do it?
0
votes
0answers
20 views

How to get RMA Details

How to get RMA enable/disable value on product level in case of Simple and Configurable product? Backend screenshot: I have also checked in Product collection is_returnable attribute but it returns "...
2
votes
1answer
21 views

Does Magento 2 always transliterate product url keys or only when generating it?

In our Magento 2.2.9 shop when updating a products url_key it has been transliterated automatically to remove spaces, umlauts, etc.. We now updated to 2.3.3 and this behavior stopped working. I ...
2
votes
1answer
61 views

How to add shipping price for all individual product

I want shipping price for individual product, not depending country, state or anything. For example one product's shipping price is $5 but another one product's shipping price is $8. How to give ...
0
votes
0answers
9 views

Is it possible to create a product without assigning a sku?

as a bundle item, need to crete a product that a display layout is pulliung from that consisets of several ite,ms that DO have part numbers, but i need the core product to not contain a product number....
0
votes
2answers
36 views

Magento2: How to get current product parent category on product detail page?

I want to get the current product parent category on the product detail page in Magento2? My Code: <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $...
0
votes
0answers
15 views

Magento 2 Product custom attributes are not in created order

In my admin dashboard product Add/Edit page I have my custom attribute order like below image. Admin Page But in my product view page i get in random order like below.
0
votes
0answers
11 views

“Configuration parameter is required for the ”sources“ component.” error after upgrade to 2.3.2?

After I upgraded from 2.2.3 to 2.3.2 I am getting this error when I try to open a product in the admin: array(4) { [0]=> string(84) "The "componentType" configuration parameter is required for the "...
0
votes
0answers
21 views

Get the downloadable links array on save

The issue is on the Product/Save.php and it's about Downloadable products I want to find a way to check if at least there is one link provided. I'm starting by getting the product from the form $...
0
votes
1answer
36 views

magento 2.2.3 how to add a new cms block or new phtml to product page

I want to add a new cms block or PHTML to the product page. I have the following files composer.json, etc/module.xml, and registration.php I have view/frontend/layout/catalog_product_view.xml &...
1
vote
0answers
11 views

Magento 2 - Add Product Search functionality using Ajax in Custom Admin Form

I had created an admin form in Magento 2. I had taken a text field for the product search. I want to search for a product by entering Product Name / SKU / ID in the text field. How could I do it? I ...
0
votes
1answer
25 views

How can I add custom product subscription in Magento 2?

How can I add custom product subscription in Magneto 2.3.3, any suggestion: Customer can subscribe product weekly/monthly/2 month, as per rate. I'm trying using save period in quote table date ...
0
votes
1answer
44 views

Shipping tab is empty when creating products in magento 2.3

I am a beginner in Magento, When I try to create a new product in Magento then the shipping tab is empty. I enabled shipping methods in store. This may be a simple question.
0
votes
1answer
23 views

Programatically creating products with custom attributes

I'm creating a product with a set of attributes using a cli script. First of I'm setting the session for \Magento\Framework\App\State with setAreaCode('adminhtml') in the constructor. Then calling to ...
0
votes
0answers
15 views

“Create Permanent Redirect for old URL” is triggered when saving even when key not changed. why? how?

EDIT: the two things were unrelated so this is a non question. Background: I have tried to bulk update attributes for my product but it fails. Digging in the error always is "URL key ... for ...
1
vote
0answers
30 views

Bulk editing products doesn't work correctly

I'm having an issue on my store. I've got around 2000 items in my product list. I used the magento data migration tools to convert 1.9 to 2.3 successfully. All the products, and the images are showing ...
0
votes
1answer
10 views

Decoding Failed: Syntax error

Hi i use csv file to "import" bulk products. Checking Data with no error. but when i import the csv file, " Decoding failed: Syntax error"come out if anyone know why ?
1
vote
1answer
26 views

Magento 2.2.5 Product details blank page while switching to Production mode

My magento site when setting to Prod mode displays blank Product detail page. The page is perfect in developer mode though. Screenshot: https://prnt.sc/qmt3db I ran the following while changing the ...
0
votes
0answers
20 views

Magento 2: Move Stock info above Add to cart

I know this questions has been posted other times, but in my case didn't solve the issue. I need to move the Stock info before the add to cart button (in the product page of course). I put this code ...
0
votes
1answer
18 views

magento 2.1.5 unable to add product getting mysql error

i am getting below error while adding product in magento 2.1.5 SELECT `e`.* FROM `catalog_category_entity` AS `e` WHERE (()) 2 exception(s): Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[...
0
votes
2answers
53 views

Magento 2.3 - Load product by id

I try to load a product by it's ID into my block template. Currently I am using this code which works fine: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $...
1
vote
1answer
29 views

How to export product Advance pricing in magento 2

how to export product Advance pricing in Magento 2 Currently, I am using profiler to export product price but I didn't get Advance pricing so how can I export Advance pricing store wise in Magento 2 ...
0
votes
1answer
43 views

Magento 2.3.0 product urls end with .html.html

I noticed some of my products had an extra .html at the end. SQL query: UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html.html', '.html'); MySQL said: Documentation 1062 - ...

1 2 3 4 5 88