Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [product]

Denotes a question related to the Magento products.

1,448 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
195 views

Mask product URL when there's only one available in category

I have a product page http://www.domain.com/category-with-1-product/ramdom-url And i need to rename the full url to a fixed url http://www.domain.com/fixed-url ramdom-url changes every 24 ...
2
votes
1answer
504 views

Magento Product Increments Value

I have a large number of products I need to add different qty increment values for. I cannot find this value in the database, nor do I see a way to upload this value in the admin. What am I doing ...
2
votes
1answer
566 views

Remove second level category from product url

I need to display only first level category inside product url. If visitors browse and click product inside categorylevel1/categorylevel2.html, I need to show domain.com/categorylevel1/product.html ...
2
votes
0answers
232 views

productCollection Filter with layer navigation

I am writing a new product collection in the list.phtml I want new products to show up on the productlist.. but when i make a new product filter the navigation disappear.. I tried to differents ...
2
votes
1answer
43 views

Multilanguage descriptions of a product

I have a store with 3 languages (fr, nl, uk). When I create or edit a product I have to switch from store view if I want to edit the description in each language. Each time I get the popup window with ...
2
votes
0answers
78 views

Some product sales not showing up on Product Ordered Report 1.9.1

When I use the Reports > Products > Products ordered, I have some products in there which are reporting sales of 0 over the last 3 months when I know that we have sales for most of these products and ...
2
votes
1answer
284 views

Display product price without loading whole product

I have built a widget which shows the price of a product. This widget can be used on a CMS page. To obtain the price of the product, the product is loaded and then the price is obtained with ...
2
votes
2answers
369 views

Product attribute creates a duplicate group

From installer I have installed the following attribute but instead of inserting it into a 'inventory' tab it creates another inventory tab. and inserts into new inventory tab. $installer->...
2
votes
1answer
332 views

magento-change product name base on value of custom attribute

I need to write some code in checkout/order review section. file--- app\design\frontend\base\default\template\checkout\onepage\review/item.phtml Now the problem in details: I have a drop down custom ...
2
votes
1answer
51 views

Magento 2 : Product Quantity Update Programatically If Product Status is Disabled

We want update product quantity programatically. If product status is Enable then quantity update properlly. But which product status is Disable quantity not update in it. We create one custom module ...
2
votes
1answer
471 views

How Can I Apply TAX Rule Based On Individual SKU Wise - Taxable Goods

I need to apply the tax rate for my all products with the unique tax rate, Tax rate different from each other, I mean all products have the own tax rate. How can I solve it?
2
votes
1answer
419 views

Magento 2 : How to Check Cart Items Satisfying Cart Price Rule Condition?

In my module I have condition like cart price rule. How to check item in cart satisfy condition or not.
2
votes
2answers
1k views

Magento 2: add fields to products collection

Ok so I'm trying to implement a simple export to CSV massaction on the Magento 2 Catalog products grid. I've successfully created the mass action item, as well as the admin controller. I am able to ...
1
vote
0answers
12 views

Unable to create duplicate product in Magento 1.9

I have tried to create a product using the duplicate product in Magento 1.9.3.1. It gives an error as follow
1
vote
0answers
30 views

How to get all product data from oracle netsuite through php api

I have been created the connection between PHP and Netsuite but now I want to load all product data from NetSuite to my PHP API so how can I do this? is there any solution for that...
1
vote
1answer
35 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\...
1
vote
1answer
67 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 ...
1
vote
1answer
28 views

I'm starting at zero and need advice:

My name is Mathias, I'm completely new to web-development and all of this and I would appreciate it if someone can quide me the right way to start learning the basics. Very short part to my ...
1
vote
0answers
19 views

Can customers reorder configurable products?

Does anyone know how you can get it so that configurable products can be reordered as well as simple products? I have to set up a product that a customer will pick size, colour and material. But it ...
1
vote
0answers
12 views

How to add Dynamic Table of Product from Modal

Please help me to show what products I selected in the images below. At the bottom of "Add Products" button. If you have any example project or article.
1
vote
0answers
45 views

Magento 2.X: Display save price of configurable product

I am working in Magento 2 I have display save the price of the simple product in category page, the home page, product page but I can not display save the price of configurable product example: ...
1
vote
0answers
15 views

Is it possible to display some products dimensions by yards instead of inches

I have some products measured in inches, and some in yards. When I go to list a simple product, the only option that I have is inches. Is there a straightforward way to make the switch, or do I have ...
1
vote
0answers
37 views

Product's Tax Class change to “None” on Reindex. Any ideas?

We've just migrated from Magento 1.9.2.2 to Magento 2.2.8. We noticed in the last couple of days some orders are created without billing any tax. When We go check the product We notice the tax class ...
1
vote
0answers
19 views

Magento 1.9 Product Image Upload Console Error

Console Error : Failed to load resource: the server responded with a status of 403 (Forbidden) VM262:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse ()...
1
vote
0answers
26 views

Adding product photos in Email a Friend in Magento 2

I modified the product_share.html and added this <img src="{{var product_image}}“ border="0" /> before {{var product_name}} The email contains has the image box but no product image only ...
1
vote
1answer
26 views

Programatically Product Save with Image

This is My File Uploader in .phtml file : <input type="file" id="imageUploader" name="imageUploader"> This my PHP file code where form post. <?php namespace VendorName\ExtensionName\...
1
vote
0answers
29 views

Get out of stock product collection in magento2

I want to get the wishlist collection for the customer. $this->wishlist->create()->loadByCustomerId($this->session->create()->getCustomerId(), true)->getItemCollection(); How to ...
1
vote
1answer
45 views

Magento2 Change Sku of product with custom option

I have simple product with SKU : AAA and has custom options Sku Option 1 A1A1A1 A2A2A2 Option 2 B1B1B1 B2B2B2 On Product page SKU is showing AAA is fine. Now if customer Add to cart and chosse ...
1
vote
1answer
84 views

Rest API import product Magento2

I want to add a product using REST API but don't know how should I do. could you please help me what should I do? Magento 2.1 I use. this is the code that i used: { "id": 989898989989989898, "...
1
vote
0answers
13 views

Add image options programmatically in custom attribute not working

I want to add new custom option to upload image like extension : https://shop.emiprotechnologies.com/documentation/custom-option-image-for-magento-2 . So basically , i override some file to add new ...
1
vote
0answers
38 views

Magento 2 - bundle product

I want to sell in Magento 2 products that depend from production. I will explain this base on coffee. Let say I have 1 Kg of seeds arabika as a simple product. This translate to 900 g of ground ...
1
vote
0answers
38 views

Product stock not returning to available stock in canceled order

Is there any explanation of why product stock from canceled order is not returning to available stock? Step to reproduce: I tried to order an item X (until place order) Open admin site, edit ...
1
vote
0answers
36 views

Button not work

Can u check my code please, ty when i press the button nothing happens I think error in "actions" public function modifyMeta(array $meta) { return $meta['general'] = [ ...
1
vote
0answers
39 views

$_product->isSaleable() shows different value in list page and view page magento 2

Issue: Out of stock set at admin side. On product list page display "Out of stock" while detail page shows "Add to cart" button. I have print the $_product->isSaleable() function on list.phtml as ...
1
vote
1answer
74 views

How to display the product reviews without tab in magento 2?

I want to display the products review below the product without Tab. like this revies in the red box: Please suggest something for the same
1
vote
0answers
15 views

Magento 2 : Unable to to get custom image url on list.phtml

i have created custom image attribute in magento 2 named as background_image screenshot below i want to show url of background image in my category listing page, i have tried below code but nothing ...
1
vote
0answers
29 views

Why quantity_and_stock_status is always 1 in /V1/products?searchCriteria in Magento-2.2.7?

I am using Magento-2.2.7 . If i call this endpoint /V1/products?searchCriteria , it always show each product having same quantity_and_stock_status . Whenever product is in_stock or out_of_stock it ...
1
vote
1answer
30 views

How can i import simple_links and downloadable_links of downloadable products?

i want to import downloadable products, which have multiple sample_links and downloadable_links, My Magento app is multi store site. like i have 7 multistore/multilingual, each product belongs to ...
1
vote
1answer
62 views

Magento 2 REST API: extension attribute for saleability not working for some products

I needed product's stock status in the product listing API: V1/products?searchCriteria[filter_groups][0][filters][0][field]=category_id&searchCriteria[filter_groups][0][filters][0][value]=144 ...
1
vote
1answer
117 views

Magento2.3 adding the products automatically to the parent category and to the subcategories which are on higher level

I am using Magneto2.3.0 I need this adding the products automatically to the parent category and to the subcategories which are on higher level If anyone idea reply me how to achieve this requirement....
1
vote
1answer
27 views

Product Description is not showing on product page

Getting my webstore up and going. Just noticed that I don't have a product description tab. Only the more information tab is showing. I am using the Luma theme and the only changes I have made are to ...
1
vote
0answers
35 views

Tax Class does not appear in product Magento 2.3.0

I migrated from Magento 1.9.x to Magento 2.3.0. When editing a product in admin the Tax Class is not shown and is not in any of the expandable sections. I can see the tax class in the product list (...
1
vote
1answer
26 views

Getting Subcategories even if product count for each is 0

In my module, I am getting the current ID and then using the category repository and the "getChildren" method. This works great, except it doesn't return child categories with product counts of 0. ...
1
vote
1answer
42 views

Magento 2 How to prevent product save with custom condition using plugin 'aroundSave'?

I want to prevent to save the product with my custom condition, for that, I want to use the plugin with method 'aroundSave', When the user clicks on 'Save & Duplicate' button I do not want to ...
1
vote
0answers
32 views

Can't update products in Magento 1.9

When I try to update a product nothing happens and I got the following messages in logs: 2019-05-16T07:19:30+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given in ...
1
vote
1answer
34 views

How get products name magento 2 sql database

I am trying to get products name(value) and when i see my db table catalog_product_entity_varchar but in which in the column of value all base images are given so please tell accurate table or any ...
1
vote
0answers
170 views

How I can place a block anywhere in Store?

I want to place my best seller product list in the following places: Home Page Product Page Category Page Cart Page I want the administrator to select any of them according to the administrator ...
1
vote
0answers
21 views

Product page and category page disappeared

Developed on developer mode and everything is OK, just set production mode, home page and admin panel is OK but category page completely disappeared and shows a blank page and also product page is ...
1
vote
0answers
23 views

How to modify the collection of options in step 2 when creating product configurations magento 2

I have overrided this template module-config product/view/admin/templates/catalog/product/edit/attribute/steps/attributes_values.phtml now i can't understand where options com from in the file and ...
1
vote
1answer
35 views

Product Url Key is not generated on edit product

I have the following scenario: I have created a new product. I have left the url-key field blank. If url-key field kept blank, then on product saving, it will set url key value automatically ...