Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Denotes a question related to the Magento products.

0
votes
0answers
6 views

Magento 2 reviews and details show together

In my product page I have the details and reviews shown separated but I want them in the same part. I have this: where "Detalhes" is the details part and "Avaliações" is the review part. I want it to ...
1
vote
1answer
17 views

Magento 2 - Allow only to post product reviews by customer who purchased that particular product

I do not want the customers/guest to let post reviews who did not make a purchase of that product. for guest users I disable - "Allow guest to write reviews" for customers/logged in users - how to ...
0
votes
0answers
14 views

tag a limited quantity ribbon or label in listing view or grid

@MagentoAaron please help me to tag all my products as limited quantity without any exception in Magento community 1.9 grid view as well as listing view.
0
votes
0answers
16 views

magento 2 product url allow slah

how can i allow slash in product seo url my slash gets changed to -. I have product abc i want url of same to be : example.com/myproducts/typeb/abc i am trying to put product url as myproducts/typeb/...
0
votes
2answers
10 views

Magento 2 Get product attributeId in foreach loop

I have a collection of product I am looping and displaying for E.G ... $product->getName() ... $product->getProductUrl() ... Now Also I am getting it some option like attributeText foreach ...
1
vote
2answers
42 views

Specific product price render in magento 2

I want to render specific product price render in my custom page in block file. I get reference from here . But, It returns error : main.CRITICAL: Wrong Price Rendering layout configuration. ...
1
vote
0answers
26 views

Admin_User_Session User_ID NULL

1,400 products were deleted fro my PROD Magento 2.2.1 community store. Looking at the admin_user_session table there is an entry at the time I suspect the mass deletion was executed. Is there an ...
0
votes
0answers
14 views

magento 2 Special price of 0 is not display on frontend

I am having big problems with special price after updating to Magento 2.2.6. Steps: Install a Magento 2.2.6 vanilla Create a product with regular price Edit that product and add a special price to 0 ...
0
votes
0answers
17 views

How change category page layout in phone view?

please someone guide me how can i change the phone view layout of category page. I want to show only bigger image in phone view.
-1
votes
0answers
29 views

product price shows 0 after added to cart in magento2.2.6?

product price shows 0 after added to cart in magento2.2.6 please see the below pic clear understanding for clear understanding actually i give the product cost Rs.400/- after added to cart it ...
0
votes
0answers
18 views

Set first configurable product as default image

I have a product with different configuration, but my default product can't be buy (it has no image). I want to show on the store the first configurable product of this not available for purchase ...
0
votes
1answer
13 views

Magento 2 product image gallery not responsive/resizing

I've made a custom Magento 2 Theme, updated the view.xml with all my image dimensions, and resized the catalog images through the cli. However, the Fotorama image gallery on product pages is not ...
0
votes
0answers
21 views

Magento 2 Remove Selected Product

I have a widget where I insert several products with \Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser; Is it possible to remove a product after the product has been choosed?
1
vote
1answer
25 views

Add custom textarea field to product form (admin)

I want to add a custom product attribute to the product form in the admin area. https://devdocs.magento.com/guides/v2.2/howdoi/customize-form-configuration.html and https://devdocs.magento.com/guides/...
1
vote
0answers
26 views

Magento 2 Products 404

Every one of my products 404 when i try using the SEO rewrite link, also when i direct link to the product page it 404's, my search as well doesn't work (which is probably is cause of this). I have ...
0
votes
0answers
8 views

Product custom brand attribute doesn't updated automatically after assigning product from brand extesnions

Please visit here to see my problem:- http://nimb.ws/JkrGdY http://nimb.ws/Qi6rBn http://nimb.ws/sb3M8p I've approximately 5k products so it's not possible to save individually, from the grid I ...
1
vote
2answers
26 views

Magento : Add product qty box in related product

I have a related product list in product detail page. Default there is not qty box available to edit qty i want to add qty box and also it's qty add to checkout/cart page while add specific qty.
0
votes
3answers
43 views

Get current product in observer Magento 2

With my code, my product is not added (the "add to cart button" is not clickable after I clicked on in on the first time, I have to refresh) I believe that's because my code isn't right, so I need ...
0
votes
0answers
25 views

Magento2: Create a new order from Admin panel for particular customer

Create a new order from Admin panel for a particular customer. Magento default functionality is not working When I add a new product and update to the shopping cart option then page refresh but the ...
0
votes
1answer
24 views

Condition to add a product to cart

I have to product : ProductA and ProductB. I want to hide ProductB from the catalog and show it only on the ProductA page. But, the user can't add to cart the ProductB if the ProductA is not added ...
1
vote
1answer
16 views

Set Individual Product's Minimum Qty Allowed in Shopping Cart for a particular customer group

I'm looking to setup a particular product with a minimum order quantity but only for a single customer group ("Wholesale"). Is there a way to do this using the core Magento 2 functionality? Barring ...
1
vote
1answer
21 views

Alter getProduct collection

I need to alter the equivalent of native "getProductCollection", but I don't know how and where to do this. I need the getProductCollection to look like this : public function getProductCollection() ...
1
vote
1answer
11 views

Magento 2.2.6: What is the best way to edit ListProduct?

I'm overriding getProductCollection of ListProduct block to custom filter the collection dinamically depending on current customer session. First time it works perfectly but following times it gets ...
0
votes
0answers
20 views

Magento 2 how to get main product name under related product name in shopping cart page

How to get the main product name under the every related product name, In cart page. When we add related product to cart, I'm using Magento 2.1.7 version. Thank in advance
0
votes
1answer
22 views

Skip same product data migration tool Magento 2

How we can skip the same product data migration? Any reference would be helpful Thanks.
0
votes
0answers
19 views

Magento 2 - update product price via swatches on custom page

On a custom page I want to show only the swatches of a configurable product and automatically update the product price based on the chosen swatches. I managed to get the swatches and price to show up ...
0
votes
0answers
24 views

Magento : Please specify the product(s) quantity

I have one simple product in that related products tab i have added 8 products. i can see that products in bottom of this product detail page with checkbox like select all product to add to card. ...
0
votes
0answers
33 views

Magento 2 : Schedule Status : suspended

I'm on Magento 2.2.4 with php7. I have a cron job already set that reindexes it all twice a day. I usually also reindex manually and when i see a suspended index I reset it. But, when I do reindex:...
0
votes
0answers
15 views

How to generate xml sitemap with new request_path after URL re-write?

I have just updated request_path for the product from www.xyz.com/my_product to www.xyz.com/my_product_new through url rewrite. The request_path is inserted in the database correctly and working ...
0
votes
0answers
16 views

Ask if user want to add another product (up selling ?)

I have two issues : I need my user to add one product (1) on his cart. Then, when this product is added, I want to ask if the user wants to add another product (2) The product (2) is available only ...
0
votes
0answers
19 views

Individual Prices: 4.000 Customers - 13.000 products. What to do?

Following situation: I will have ~4000-5000 customers and ~13.000 products on a Magento2 shop. Most of the customers have individual prices (on single products, product groups, etc.). The prices are ...
1
vote
0answers
20 views

Magento 2 - How to add video icon in dot if the gallery has video?

I want to add video-icon class in dot if the gallery has video.
0
votes
0answers
12 views

How to remove all product from category by CSV bulk sheet?

In Magento1 just I was uploading csv sheet sku , Category_id empty was remove all the products from the assigned category, why Magento 2 is not working ??
0
votes
0answers
48 views

The new url key is not working for product page

I am trying to change "URL Key" for the product. When I edit "URL Key" on product edit page, URL key gets changed correctly ... but the "request_path" in database is not updated for that key. I have ...
0
votes
2answers
30 views

Exception #0 (Exception): Notice: Undefined variable: context in

Exception #0 (Exception): Notice: Undefined variable: context in /home/dukaania/public_html/testing2/app/code/Sugarcode/Test/Model/Total/Fee.php on line 37 <?php /** * Copyright © 2015 Magento. ...
1
vote
1answer
23 views

Why does getParentIdsByChild return an empty array for a Child (Simple) Product

I have injected. Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable In my constructor as $configProductModel $this->configProductModel->getParentsIdsByChild($product-&...
0
votes
1answer
17 views

Magento 2 catalog_product_get_final_price event not working

I have to set the product price to a custom value depends upon the customer. So I have written an event catalog_product_get_final_price and in the observer, I have set the custom price for the product....
0
votes
0answers
15 views

cart page show this error Estimate Shipping and Tax

My cart page didn't show anything except Estimate Shipping and Tax. Please review my code and share code where I mistake. <?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING....
0
votes
1answer
37 views

Magento 2.1.7 to 2.1.15 upgrade issue

I have upgraded my magento version 2.1.7 to 2.1.15. The upgrade process working fine. But the issue is my home page contents are not loading. It loada product detail page content in the home page. ...
1
vote
1answer
17 views

Can not display products of a category in the frontend

Can not display products of a category in the frontend.
1
vote
0answers
8 views

Products and their prices should be shown area wise

I want to add product price depending on the customers pin code in magento 2.1.x. Kindly help. Products (simple/configurable) and their prices should be shown area wise (pin code)
0
votes
0answers
8 views

how to fetch data from custom table and show in cart page

i want to fetch data from custom table and show in cart page. Please give me a code or any reference or any extension need serious help. I just create a module for show data in cart page but data is ...
1
vote
1answer
32 views

How to get product parent category id and category id separatly in magento 2.2.6 using product ID?

Problem definition: I have product under below category: Beauty --> Sun --> my-some-product-name. where 'Beauty' is root category and 'Sun' is the subcategory of 'Beauty'. Currently, I am ...
0
votes
0answers
19 views

magento 2.2.2 cannot delete products

i am getting an error when i try to delete products from admin. any help matters. thanks print_r var_dump var_export Krumo FirePHP dBug stdClass Object ( [0] => Unable to remove product ...
0
votes
0answers
11 views

Product export download is not working in magento 2.1.15

I am using AWS server. I tried to export the product from the back-end. But while downloading it showing Failed- Server Unreachable in chrome browser. Is that related to owner permission issue? ...
1
vote
0answers
16 views

Magento 2: Problems Extending Product Image Gallery

I'm trying to change the image gallery so that it doesn't display the product name as a default image caption. After tracing through the code I found the getGalleryImagesJson method of the Magento\...
0
votes
0answers
5 views

Product Images Not Switching And Zooming

I am not into technical stuff but the images of my product page are not switching or zooming on hover. There's no '<' or '>' in the image. What to do? Thanks!
-2
votes
2answers
32 views

just show one name in list all i want to show all users names

list all user name and id in dropdown in magento 2 admin panel on product edit page. Here's my code. Please find where i mistake. <? /** * Copyright © 2016 Magento. All rights reserved. * See ...
0
votes
3answers
46 views

I want to show all usernames and ids in drop-down

I want to show all usernames and user ids in a drop-down. Please find my issue, where did I make a mistake? Here's my code: /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for ...
0
votes
1answer
21 views

how to show users list in product edit page?

List all users in product edit page admin panel. Any tutorial or guide please share. I just created a tab in product edit page but need to show all users details in that tab. Here's my code: <? /...