Questions tagged [product]

Denotes a question related to the Magento products.

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

How to enlarge product images displayed through widget( product grid template)

I want to enlarge image size I have inserted it through widget product grid template
0
votes
0answers
12 views

Seller Product Price Problem

I have a problem in my seller's product price. I'm using Magebay Marketplace Module and it saving a wrong price value. Example: input: 1,000 output: 10.00
0
votes
0answers
25 views

Category product showing wrong image

I have a strange problem with my Magento 2.3.4 installation. A product on a category page is showing an image not uploaded for the product. The image shown below belongs to a different product!!! ...
0
votes
0answers
19 views

Magento2.2.3 Display added product qty for each product under add to cart button in category page

I really wanna have the same feature like this. Magento 2 - How to display the quantity of each product in cart under the add to cart button in the product tile But I can't find the correct solution. ...
0
votes
0answers
21 views

Second product image on category page

I'm trying to display second image of a product in a category page on hover. I managed to get images by $_product->getMediaGalleryImages() but I have problems with resizing them to ...
0
votes
0answers
12 views

Products disappearing from Category pages - Tracking down the cause!

I have an unusual problem with a range of items on my Magento store that after a few days, disappear from the category pages. If I go into the back end, disable those specific items and then re-enable ...
0
votes
0answers
8 views

Edit Product Loads Half Way Down the Page

I have this strange issue where every time I edit a product, when the page loads it jumps half way down the page to where the product description is. Then I have to scroll back up to the top. I will ...
0
votes
1answer
30 views

I want to get images form product gallery of a product and display them one by one in Product detail page

This is the gallery.phtml code which is displaying main thumbnail image only <?php $images = $block->getGalleryImages()->getItems(); $mainImage = current(array_filter($images, function (...
0
votes
0answers
14 views

How to link image which is present in magento ftp to product?

I have following image saved in magento 2 ftp: https://www.moebel-guenstig24.de/pub/media/catalog/product/moebel/10-51-WW-20/1/kommode-mahattan-sideboard-kombikommode-esszimmer-wohnzimmer-...
0
votes
1answer
30 views

Magento 2: Show Category name below product name in the product page

I want to show Category name below the product name here is the code: <div class="block widget block-products-list <?= /* @noEscape */ $mode ?>"> <?php if ($block->getTitle()) :...
0
votes
1answer
22 views

Magento:2 I want to display product image in 1 column vertically instead of using default Fortorama.js. I want to remove slider

I am facing this issue ..I don't want to display product images in default slider which is coming from fotorama.js I want them to displayed as one by one without slider What should I do $...
0
votes
2answers
33 views

magento 2 unable to get product Ids in foreach loop

I am trying to get all product ids of multi-select attribute "filter_type" ids($optionData) are assigned. But I am unable to get them as its only works first time. In second and other loop I am not ...
1
vote
0answers
34 views

Magento 2 : Change product price when enter value in custom textbox

I added one custom textbox in product view page. Now, I want to do like when add any text it should be calculate price and update product price. and when I leave empty textbox it should be restore by ...
0
votes
2answers
34 views

How to add new div at the bottom of product details page using catalog_product_view.xml in magento 2

I want to show my custom block at bottom of product details page (after tab section) in Magento 2.3. How can I do this? <referenceContainer name="content"> <block class="Vendor\...
0
votes
0answers
13 views

Magento 1.9 REST API - Could not get JSON data

Just recently I started the Magento journey, I had a chance to get official document for accessing the rest API in Magento. So far I have done, Got Request Token Authorization Process Got Access ...
0
votes
1answer
24 views

Magento 2 catagory product list image background erased

In category list page the background of product image is erased can you help me and how i can fix that? Magento version: 2.3.4 Orginal Image:
0
votes
0answers
23 views

magento 2 get top level category id by product-Id or SKU in sql query

Am trying to get Top level category id of a product. but in below query am getting all category_ids those related to product. how to get the top level category Id? $sql = "SELECT e.entity_id AS 'id', ...
0
votes
0answers
24 views

Searching order using sku of a product

How can i retrieve all the orders where the purchased item have a specific sku? Thanks in advance
0
votes
1answer
25 views

Get product by attribute value

Is there a way to get all products by a specific attribute value? For example: how can I get all the products where the attribute color is red?
0
votes
1answer
25 views

Cannot see Browse image option in magento 1

I am using magento 1.9.2.0 I cannot see Browse option to add images. What can be the issue. See https://prnt.sc/rapqp5 However, i can see the option in Magento 1.9.4.4.
0
votes
0answers
35 views

Magento 2 collection not working on list.phtml

I want to display product on listing page attribute options wise. For e.g. filter_type attribute has multiple multi select options like: 1=> Specials 2=> Entree 3=> Breakfast Now I ...
0
votes
0answers
27 views

How to add data in Elastic search Product Index

I have integrated Elasticsearch with Magento 2 and I am now making API calls to it for getting product Data, but the product data being returned doesn't contain full data, for example, data such as ...
0
votes
2answers
43 views

Magento 2: Product image to be displayed one by one instead of slider

Right now the images are shown in slider but I want to show them one by one like 1st image 2nd image 3rd Image Not like the slider Gallery.phtml contain the following code <div ...
0
votes
1answer
26 views

How to check which admin user has added the products in admin backend magento 2.3.2

I have multi websites site. I have multiple users with different user roles. Is there any way to save and check which admin user has added the product in admin panel backend.
0
votes
1answer
80 views

Request validation failed for action “Magento\Catalog\Controller\Adminhtml\Product\Validate\Interceptor” [] []

Can someone guide me on where I can find the issue the validator is concerned over? This is Magento 2.3.4, and the database has gone through data migration. There are several products that when I ...
0
votes
0answers
30 views

Magento 2.3.4 - Multi product catalogs

I want to create a separate product catalog with different product IDs, is that possible? For example, I currently have a product catalog with incrementing product ID's starting with 1. I'd like to ...
0
votes
2answers
21 views

How to get the product type by SKU?

I have a bunch of SKUs in a DB table and I want to get the respective products in my for each logic. How to do it?
0
votes
0answers
28 views

Magento 2.3.3 : Edit product in minicart error

I am facing an error like this: when I add product have option and press button "edit cart" of it product it redirects to product detail and show error js like this: this error only in the product ...
1
vote
1answer
39 views

How to get the product type by the product SKU?

I have some product SKUs in my custom module and I want to get just the simple products. I don't want to load each product entity by SKU in a loop to get the product type to avoid performance issues. ...
0
votes
0answers
12 views

Meta Robots doesn't match

I made an api that return me the meta information from a product. This is how I get the datas $product->load($productId); $productMetaTitle = $product->getMetaTitle(); $productMetaDescription ...
0
votes
2answers
58 views

Not able to export product csv in magento 2.3

When i try to export csv from backend it get the message "Message is added to queue, wait to get your file soon". but i did not get any file later. I tried this 4-5 time, same message appears. what ...
0
votes
1answer
43 views

Magento 2.3.3 - Change price in catalog product view

I want to change the price in the Catalog View Page, I use a price attribute with the name rrp, and I need when customers are logged to display this price attribute otherwise display the normal price. ...
1
vote
1answer
34 views

Remove the image slider in product detail page

I want to to remove the slider in images What I want it to be like :
2
votes
1answer
44 views

Magento 2 Product page layout change

Magento 2 change the product page layout as below :- <referenceBlock name="head.components"> <block class="Magento\Framework\View\Element\Js\Components" name="...
0
votes
0answers
20 views

Magento 2 - Add text swatch attribute value programmatically

i need to add text swatch attribute value through script. I'am able to add the attribute but swatch value is not adding. Below is the code i using - $attributeDetails = $objectManager->create(...
0
votes
2answers
51 views

Magento 2: Product Detail Layout change

I want to make the product detail into 2 Columns with images at the side and description on the other side... I want the right side containing the detail to be sticky while scrolling and left side ...
1
vote
1answer
24 views

Magento 2 - How to fix “Incompatible argument type: … Actual type: array; File:”

I'm using Magento 2.3.3. I created a plugin that can edit product at the frontend. The plugin works fine. But it error when running setup:di:compile. Incompatible argument type: Required type: \...
0
votes
2answers
33 views

Magento 2 get product attribute value without objectManager

I load some related products inside a foreach and want to call some attribute values of these individual products. My current code below works fine with using $objectManager, but that's not the best ...
0
votes
1answer
43 views

Magento2: How to get current product category id?

I want to get the current product category ids by Knockout JS. Please help.
0
votes
2answers
50 views

Magento2 - disable add to cart on product page

Im running Magento2.3.4 and would like to disable the add to cart bottom 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
57 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
24 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
41 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
23 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
14 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 ...
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
22 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
1answer
40 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: ...

1
2
3 4 5
90