Questions tagged [product]

Denotes a question related to the Magento products.

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

Product Price disappeared from frontend magento 2.3

Products Prices does not show up on my magneto 2.3 web frontend. https://prnt.sc/p9mu83 Mapping is set to No in stores->configuration->sales->sales.https://prnt.sc/p9mtre What is the issue. Prices ...
2
votes
4answers
106 views
+50

Magento2 Copy data from one to another magento installation

I want to copy all data from one to another magento installation. Wants to copy products,product-attributes,category,category-attributes,customers,cms-block,pages,rules everything except orders. I ...
0
votes
0answers
11 views

Product to category redirect

Is there a way to link/redirect a product page to a category? Scenario: I have 70-80 new products that all go into the same category. I can either chose to put one of the products in the "News" ...
0
votes
1answer
12 views

Magento 2 : how to perform operation after product price update from backend

I have added the product into the cart and want to perform the operation after the same product's price change from the backend.
0
votes
1answer
27 views

How to disable zoom product image when click in magento 2

How to disable zoom product image when click in Magento 2. I want disable zoom function. I tryed change this code in view.xml but it not working. My code change: <var name="gallery"> &...
0
votes
2answers
773 views

How do I add a custom TAB to magento2 product detail

I flow How to add a tab in product details page using Magento 2 admin panel step to add a custom tab and I got this error my file struct catalog_product_view.xml <?xml version="1.0"?> <...
2
votes
1answer
64 views

Magento2 Backend Not Add Product So give me Solution

Magento2 Backend Not Add Product So give me Solution Here is my EXCEPTION.LOG [2019-04-16 13:09:11] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/ywndev/domains/dev....
2
votes
2answers
2k views

Best practice for multilingual categories and products?

I think it is very important question for setting up a multilingual store with Magento. The main problem here I am facing is URL rewriting for categories names for different language. I have this ...
0
votes
0answers
52 views
+50

Magento2 get Group wise Attribute collection for Attribute set in API

I want to list all product attributes group-wise in admin by api. If product SKU is SKU001 and attribute set is 10. I have separate API for attributes and attribute group For all attribute within ...
0
votes
1answer
15 views

Create Magento 2 Bundles with different quantities of the same product

I'm currently running Magento 2.3.2. The Company I work for sells a number of products in bundles of varying quantities which we call "Stacks". For example a product can be sold in bundles of either ...
2
votes
2answers
1k views

Magento 2: How many products sold Query

For Product A have 100 qty., For Product B i have 200 qty. I would like to check how many products ordered for a particular product. Which table i need to look up & what will be the query to get ...
1
vote
1answer
924 views

Import csv issue (product.php on line 1407)

I just install the magento 1.9.2 and try to import my csv file through System -> Import - > Import. I received the following error message: Notice: Undefined index: _attribute_set in /app/code/core/...
2
votes
1answer
923 views

Magento 2 : Cart Total Not Updating

I added simple product with options programmatically into cart using this code. namespace Vendor\Extension\Controller\Customer; class Myclass extends \Magento\Framework\App\Action\Action { ...
0
votes
1answer
23 views

Magento 2 :Product Filter in magento 2

Please suggest any free module which can provide the filter in the product listing page like the below screenshot.
0
votes
1answer
52 views

Getting the product info from different store in checkout process

I have two stores. View one is in English and the other is the translation, each product has the same price and information but the difference is the translation. I want all orders in the back-end ...
1
vote
1answer
1k views

How to add canonical tag for product pages as domainname.com/category/subcategory/product.html

Canonical tag for product pages of (eleczo). I need solution how to add a canonical tag for product pages as domainname.com/category/subcategory/product.html in MAGENTO 1.9.1.1. Because, the same ...
0
votes
0answers
10 views

Get current product categories of current store only in Magento 2

I made the following in Magento 1 for a multi-store website: $rootCategory = Mage::getModel('catalog/category')->load( Mage::app()->getStore()->getRootCategoryId() ); $sameStoreCategories = ...
0
votes
1answer
35 views

Magento2.3: Product quantity is not reflecting to the minicart

I have installed a module which is for adding increment and decrement buttons for quantity. After installing the module I can see the buttons in product detail page but when i update the quantity, it'...
0
votes
1answer
21 views

how to add product programmatically in magento1.9 [closed]

I am new to magneto 1.9. i want to add product by programmatically. where to add code and what code should be added?
1
vote
0answers
31 views

Magento 2 Is there a way to use product chooser in ui component form (NOT BLOCK)?

Im building module using ui components and need product chooser in my form. But can't find any useful info related to product chooser implementation using ui component. Is it possible to do this ...
4
votes
1answer
1k views

Adding custom column into product grid

I have created a custom column for associated products (basically every simple product will have that column under "associated products" tab of configurable product). I store information of this field/...
0
votes
1answer
31 views

How To Add Item Sku's and Product Names To Magento 2.2.7 Sales Order Grid

I have modified the order grid layout by adding this code in: vendor/magento/module-sales/view/adminhtml/ui_components/salesordergrid.xml <column name="order_items" class="Magento\Sales\Ui\...
2
votes
1answer
21 views

Product page gives 404 - even though the product exists?

Magento 1.9.3.7 My product has the id 541 and the URL is https://example.com/catalog/product/view/id/541/s/presse-marburg/. Now when I open the URL, it always gives me a 404. The product is ...
2
votes
1answer
1k views

Redirect disabled product to product category

I would like to know if it's possible to redirect disabled product to the URL of its category.
3
votes
2answers
1k views

Add to Cart button in Magento 2.1

I tried with button add to cart and it not working, app/code/Moo/Custom/view/product.phtml <?php $product = $this->getData('product'); $postDataHelper = $this->helper('Magento\Framework\...
1
vote
1answer
1k views

Magento 2: Change Product status OUT OF STOCK Programmatically

I need to change product as out of stock without changing its Quantity. I mean if a product having quantity 5, It will be same but product would be changed to OUT OF STOCK. Is it possible in magento?
2
votes
2answers
1k views

How to change max-width in the product gallery in Magento 2

How to change max-width in the product gallery in Magento 2 by using below code. <div class="fotorama__stage__shaft fotorama__grab" tabindex="0" data-gallery-role="stage-shaft" style="width: 684px;...
1
vote
1answer
612 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
1answer
2k views

Get Visibility of product Magento 2

I want to know how to get visibility of product using Magento 2. I have a product that is set to "not visible individually" and want to remove it from a collection. I have tried below methods: $...
2
votes
1answer
42 views

Magento 1.9 Mysql Query to pull out data

I am kind of stuck getting data from magento 1.9. The solution i needed is mysql query so that I can collect all data in one table. The values in table i needed from different table are product id, ...
0
votes
1answer
33 views

when i add product in magento 2 from iphone the image change to landscape

I am using codazon theme for Magento 2 and I am facing issue when I open Magento 2 admin from iPhone and start adding images for product all of sudden the images change to landscape, all other places ...
0
votes
2answers
40 views

Magento 2: Not able to duplicate the product from admin

I am using Magento 2.3.2 and I am trying to duplicate one of existing SKU from admin I clicked on save and edit and I am getting the following issue. The value specified in the URL Key field would ...
1
vote
1answer
44 views

Bulk updating product prices : Magento 2

In my M2 store I have over 200k products. They were added manually through API (https://domain.com/rest/all/V1/products call). Nowadays prices of my products are changing frequently and I need to ...
2
votes
1answer
38 views

How to get the product ID in Magento 2 plugin

Hi all I am using Magento 2 and I want to get the product Id on all pages. Now i amable to get the product id in product details pae (Product single page). but i am not getting those in product ...
0
votes
0answers
17 views

What does the following fatal error mean please when I try to export products to a CSV file?

The below comes up when I use the admin panel system and currently on Magention version 1.9.1.0 Open Source Fatal error: Unsupported operand types in /home/fxxxxs/public_html/app/code/core/Mage/...
0
votes
0answers
17 views

Custom products section / custom content type

I'm currently building a site for car parts, and the product structure is quite difficult, but i'm new to magento so I don't really know how to approach it, so any sort of advice would be appreciated. ...
2
votes
1answer
138 views

Magento 2: How to get product old and new data on product save button in admin backend?

I am working on Admin Actions Log Extension. For the reference, I am using the link below https://amasty.com/admin-actions-log-for-magento-2.html I want to get old and new data of products while we ...
1
vote
4answers
2k views

How to get Product custom options name?

How to get Product custom options name? $data = $this->getRequest()->getParams(); echo "<pre>"; print_r($data); die; Array ( [options] => Array ( ...
0
votes
0answers
21 views

Products not loading on Load More in magento 2.3

The load more button is not working for loading products as shown here. https://prnt.sc/p45em5 When i click on load more it shows Loading. https://prnt.sc/p45f11 But then again it show load ...
0
votes
0answers
10 views

magento2 Custom Product Type From Bundle Product

I'm working on Mix and Match Product, I have to create New Product type which extended from Bundle Product Like class Box extends \Magento\Bundle\Model\Product\Type everything is working perfectly ...
1
vote
2answers
2k views

How do I show MSRP on product page?

I need to show the MSRP price next to the regular price on the product view page in a Magento 2 site. So it would be like: $199 (MSRP: $399) I have found this question: How to display MSRP / RRP ...
0
votes
4answers
501 views

Product setDescription not working with HTML

If I run $product->setDescription($text) with plain text and then save the object, it works as expected. However, if $text contains HTML, it does not update the record. Is there something I'm ...
1
vote
2answers
2k views

How can I check if a product exists in Magento 2 without throwing \Magento\Framework\Exception\NoSuchEntityException?

I'm attempting to scan an incoming list of products and add any new ones to the catalog. Therefore, I must run a check on each product to see if it already exists. I'm using a ...
2
votes
1answer
1k views

Issue with Magento 2.2.4 - quotation mark in product name break product pages

I have just installed Magento 2.2.4 to try out and have so far noticed a few issues in my first half hour. Was wondering if this is just my custom installation or is happening for anyone else. The ...
0
votes
1answer
1k views

Magento : How to Implement Automatic Related Products and Category Based Upsell Products

We have 5000 products at our webstore. We can not use magento default feature related products & upsell, cross-sell products. Is there any customize code or modules which can implement to display ...
3
votes
2answers
488 views

Uncaught Error: Call to a member function getData() on null

we are using Magento 2.3.1 and Porto theme when I click on product its showing below mentioned error - https://offineeds.co.in/4-in-1-touch-led-lamp.html Fatal error: Uncaught Error: Call to a ...
3
votes
2answers
4k views

Where to setup product dimensions(width, length, height)?

I'm building a custom shipping method for Magento 2. And I couldn't seem to find product dimensions within the standard attributes However, when receiving product data information from the checkout ...
5
votes
1answer
1k views

Product image not zooming in properly when hovering on image at product detail page

In my product page detail when i try to hover the product image there's only white box with low opacity overlaying at the top of my image like this : Usually in Magento 2, when hovering the image it ...
0
votes
0answers
12 views

Display Certain Out Of Stock Products

I would like to display certain out of stock products on the front end how can this be done using version 1.9