Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
0
votes
2answers
40 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
34 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
15 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
21 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
35 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
23 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
24 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
36 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
30 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
29 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
22 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 "...
3
votes
1answer
40 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
65 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
16 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
19 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
22 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
38 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
12 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
27 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
58 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.
1
vote
1answer
24 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
21 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
46 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
11 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
28 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
23 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
21 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
65 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
44 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
63 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 - ...
0
votes
0answers
20 views

Magento2.3: Product is showing as OUT OF STOCK even the product has set to stock

I have created a simple product and set it as IN STOCK and given 1000 in quantity field. However, when I check the product in front-end, I can see the product is showing out of stock. Why it is ...
0
votes
0answers
8 views

Are product images that are imported from an external URL saved to the server?

I am curious if product images from an external URL that are imported are actually saved to our server or are they linked like a CDN?
0
votes
0answers
31 views

Missing group price after migration M2

After migration From Magento1 to Magento2 Group Product Price Missing I have followed below step Not solve this issue plz help me Step 1 Run query in M1 DB and download resule csv file (without ...
1
vote
1answer
53 views

Magento2 3 2 : How to Upload Product images To Amazon S3 Server After Product Save

Does anyone know how can we upload product images to amazon s3 server after Product save?
1
vote
0answers
22 views

Magento 2 - Visual Merchandiser rebuild automatically

I'm using Magento Visual Merchandiser to create smart categories. I created conditions to add products into my smart categories, but if I update product attributes value, the products didn't add ...
1
vote
0answers
27 views

Excess qty adding into cart when adding product in cart with custom option programmatically

I am using this the following code to add a product in cart with custom option value. But all the time cart qty taking the value of "Maximum Qty Allowed in Shopping Cart" and then adding 1. For ...
0
votes
2answers
56 views

Magento 2 How to show success message after product add to cart on home page?

How to show success message after product add to cart on home page like this "You added product-name to your shopping cart." I am using that code on template file - <form data-role="tocart-...
1
vote
0answers
29 views

Lazy load at the product reviews section in magento 2

I need to add lazy load feature on the product reviews tab instead of pagination if my product has more than 10 reviews. Thanks in advance.
1
vote
1answer
104 views

Magento 2 : How to check product is in stock by color and size?

I want product can be pre order if not in stock. suppose, Product X has 3 sizes S,M and L. and colors Red, Blue and Black. At Product Details Page, If I select size L and Color black which is not in ...
1
vote
3answers
92 views

Product view page not open when customer log out in magento 2.3?

I have a site in Magento 2.3! My requirement is when the customer does not log in to my site so he can not see product view page. they see only the product listing page. and when he click product ...
1
vote
0answers
33 views

Magento 2 - Category filter on custom search page

I have custom search page that is working perfectly and all the filters are applying properly except category filter. Following is the code: $indices = $this->searchResult->getIndices(); ...
0
votes
0answers
34 views

How can I move quantity box after product title in magento 2.3?

I want to move quantity box after product title without moving add to cart button on product detailed page. I have tried to move quantity box using jQuery but after that always single quantity (...
0
votes
2answers
53 views

How override grid.phtml Magento 2

Which referenceBlock name i should set in own xml file to override template Magento/CatalogWidget/view/frontend/templates/product/widget/content/grid.phtml?

1 2
3
4 5
90