Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [product]

Denotes a question related to the Magento products.

0
votes
0answers
2 views

Grid sezielize ui-form

I have refer links to make tabs have grid product sezielize. However, I can't filter that product and post data when saving. It show error on console: TypeError: require is not a function[Learn More]...
0
votes
0answers
9 views

how to change the custom option value to download link in magento 2 order

Hi I have created a custom option for product working fine in the front end When I order this product in order view the product custom option showing as text I need as the ...
1
vote
1answer
18 views

Magento product “Save Button” not working

I am running Magento 2.2.2 and suddenly the products cant be saved anymore. Clicking the save button has no effect at all. There are no errors in the console. The network tab in Chromes dev tools ...
0
votes
0answers
12 views

Add Free Product to Cart price threshold doesn't work after discount applied

Were using Magento 1.9 CE We offer free gifts with purchase (GWP) when the GWP conditions are met. Most often the threshold is a certain $ amount. We have an issue that when a discount code is ...
0
votes
0answers
7 views

Force use of Flat Tables in Rest API

I'm wondering how to force the use of FLAT Tables in Rest API. I have a product API which is using the Magento\Catalog\Model\ResourceModel\Product\CollectionFactory. I've enabled the Flat Tables in ...
0
votes
0answers
25 views

How can I have a product attribute with a source model as a swatch?

I have a product attribute that I populate from my own custom table, I have a class that extends from \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource to be able to populate my attribute ...
0
votes
0answers
15 views

I am getting Invalid input datetime format of value '11/22/2018' when setting special price in magento 2.3.1

I am getting Invalid input datetime format of value '11/22/2018' when setting special price in magento 2.3.1.
1
vote
1answer
25 views

Get values of customizable option

Is there a way to get the SKU of the option of my product ? Can't make anything works Tried this : $customOptions = $objectManager->get('Magento\Catalog\Model\Product\Option')->...
1
vote
0answers
19 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 ...
0
votes
0answers
12 views

Unable to add product attribute using backend (Magento 2.3)

I've either come across a Magento 2.3.0 bug or I'm confused about how this process works. I'm hoping someone here can clarify what I should be expecting. I'm using the backend to edit products. I go ...
0
votes
0answers
15 views

Magento 2 : Stock status not accurate

I have some products which they are out of stock in backend and also in catalog pages, but on the product page, they appear as in stock. This behavior is the same whether the flat product enabled or ...
1
vote
3answers
64 views

how to add negative qty product into cart in magento. 2

How to add a out of stock (less than 0 ) product in shopping cart in magento 2 In my backorders setting i have custom option as Allow pre-order when i select a custom option and saved a ...
0
votes
0answers
17 views

Magento 2 after exporting products csv products id does not match back end product ids

After exporting products in csv file products ids does not match magento 2 backend ids please help this matter. Any help would be appreciated. Thanks in advance..!
1
vote
1answer
23 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 ...
2
votes
0answers
13 views

Product page count and record count issue on listing page

Unable to change the record on listing page it shows static number for all listing page as shown in the image It display 10000 for all listing page using $this->_productCollection()->getSize() ...
0
votes
0answers
12 views

Incorrect product sorting for numerical attributes (Magento 2.2.8)

I've got a shop with an attribute "capacity" created via Magento Backend: Shops -> Attribute -> Product It has "Text Field" as input type and "Decimal" as validation. So for new products therefore ...
0
votes
0answers
10 views

Magento2: Option of product : show and select only weeks

I have a date picker attribute for a product. How can I show only the number of the weeks so that the user can select only the weeks? (not the days of the weeks)
0
votes
1answer
18 views

Some of product detail page error- Element 'reference': This element is not expected

When I tried to change or open product I got next message: 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'reference': This element is not expected. Line: 1 ...
0
votes
0answers
10 views

divide existing configurable Products

Its a bit of a complicated Situation at a Clients Magento (1.9) Store. Products are generated programmatically by an Interface to a bigger Managementsystem for Goods. Most Products are Clothes with ...
1
vote
0answers
166 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 ...
2
votes
1answer
19 views

How to load current product in Magento 2 without using deprecated functionality?

The core uses two deprecated classes to load the current product within the block class on the front end: \Magento\Catalog\Block\Product\AbstractProduct \Magento\Framework\Registry See: \Magento\...
1
vote
0answers
20 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 ...
0
votes
0answers
16 views

Sell simple product and configurable as pair

I'm currently using bundle products to list a simple product sold as a pair. Is there a better way to do it? The reason i'm asking is that bundle cause weird behaviour with tier pricing on the ...
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
23 views

Magento2: How to load a product using URL key?

I need to load a product using its URL key. I find methods to load using only ID and SKU like, use Magento\Catalog\Model\ProductRepository; $product = $this->_productRepository->getById($...
0
votes
0answers
12 views

Magento 2 Not saving product changes at the backend

Magento 2 I am trying to change product data - first time it is working fine, when i tried to change same attribute second time it not updating which i selected data
0
votes
1answer
37 views

How use Pagination in Custom Product Page

I display custom products in page. use controller ,block and .phtml files define block and template in xml file. Products are showing correctly i use template module/catalog/view/frontend/template\...
2
votes
1answer
20 views

How to get Latest Products Collection in my costum Module Magento 2

I want to get Collection of Latest Products in Magento 2 i have some restriction Without using Object Manager Without using API i have searched on internet found these two methods but i have to ...
0
votes
0answers
26 views

Magento 2 - Add new quote item when quantity changed to > 1

I wanted to add new quote item (new row on cart page) when the product quantity is more than 1. I already tried accepted answer provided here. Whenever I tried to add existing cart item from 'product-...
1
vote
2answers
53 views

Magento 2 - hide & disable add type product (Simple product … etc)

On Magento 2, and product page, there's a list of product type, I want to hide and disable and block a user to access an additional type of product, for example: hide Configurable product and ...
0
votes
0answers
22 views

Adding textarea to admin product view to show customers who ordered product?

I want to add a textarea to the Magento 2 admin product view which contains the customer ids of the customers who ordered that product. What would be the best approach? Has anybody done something ...
1
vote
1answer
24 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 ...
0
votes
0answers
12 views

requested product doesn't exist rest api

I'm creating rest api to add product to cart, it works okay for some users and doesn't for others. what is reason for that? here is the code: $customer = null; $isGuest = true; $quote = ...
0
votes
1answer
29 views

Change the name Attribute of product to not required magento 2

I want to generate the name of product based by sku. For example : when i enter 10014000 for the sku, the name of product will be Bovin phenelop 16/18 blanc 100. This information is coming from ...
1
vote
0answers
28 views

Filter product with Ajax and return Json Array from a controller to show in a phtml file

Is it possible to return an array from a controller or from a block function to the phtml file? <?php namespace Mnuhell\FormSearchAttributes\Controller\Index; use Magento\Framework\App\Action\...
1
vote
1answer
37 views

How change layered navigation filters orientation from vertical to horizontal on product page in magento 2.3

How change layered navigation filter orientation from vertical to horizontal? Now I have vertical-orientated filters, but I want to change them to horizontal.
0
votes
0answers
20 views

how to deduce the name of product from sku when creating a product magento 2

I have disabled the auto generated SKU so SKU is independent from name but in advance I want a new functionality when adding the sku 10014100 for example i will do a request in some table to ...
0
votes
1answer
25 views

How to get the value of input of custom attribute before the saving product in Magento 2

I want to recuperate the value of the input of two attributes of the product to do a request o database to recuperate some value from the custom table according to the value of the two attributes ...
0
votes
1answer
49 views

How get the collection of all Discounted Product?

I need the collection of all discounted Product . i find 1 table catalogrule_product in which all discounted products entity are available . How can get these all discounted Products ...
0
votes
0answers
10 views

How to import Text Swatch attribute Using Magmi?

How i can import text swatch attribute in Magento using Magmi? In my CSV file i will put the attribute code but the description is filled only like below:
0
votes
1answer
30 views

Magento1: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails

getting the error while uploading the media files to the products, I have tried repairing the tables and also tried increasing the INT value in table structure still giving the following error: ...
0
votes
0answers
14 views

M2 | Close First Group as “Product Details” on Product Creation Form

I need to close first group as "Product Details" and show custom fields at top on product creation form as in screen shot: I think this feature is originally available in Magento Enterprise Edition ...
0
votes
1answer
38 views

Fatal Error: 'Uncaught Error: Call to a member function setCustomPrice() on boolean magento 2.3

Here i am trying to add product to the cart using customerId and productId without customer logged in, it's working fine but its not adding custom Price to that product,please guide me if you have ...
0
votes
0answers
25 views

How to add product to the cart with customer id and product id magento 2.3?

Actually while adding product to the cart with product id and customer id, i am facing one error "We found an invalid request for adding product to quote." If anyone have any idea please guide me. &...
0
votes
1answer
27 views

Magento 2 : Default filter on sales admin order grid

I need to create a filter on sales admin order grid that only shows the orders that contain products from a specific source. I found questions that sort of answered this for Magento 1 but not for ...
1
vote
0answers
34 views

Magento 2 : Two same products in cart but one must be FREE

I need to implement a functionality that do this : After an api call, I get some SKU of product. This product needs to be added to the cart, but as a free product. By doing this, this could cause a ...
1
vote
1answer
21 views

Magento 2 - How to show configurable product options in a popup

I would like to show the configurable product options in a popup in the mobile version of my store
2
votes
1answer
22 views

Unable to access the PUT API service of Magento 2 through Python

I'm trying to update a particular product in Magento through PUT using python. I'm using OAuth1Service for authentication to Magento 2. GET products is actually giving me all the products in Magento ...
0
votes
1answer
27 views

Magento 2.1.17 product imported but product images not show

I want to import product in Magento 2.1.17 product imported but images show error - Imported resource (image) could not be downloaded from external resource due to timeout or access permissions in ...
0
votes
0answers
15 views

Magento 2.2.6 quick search is not working for sometimes

I am trying to search a product through a quick search using the product name and its brand name. But it does not work for all product. Only for some product. E.g if I search products of brand "XYZ" ...