Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
1
vote
2answers
30 views

Product image by ftp url

I need to pass an url of an ftp to be the product image by the magento api, can I do this? Something like { "attribute_code": "image", "value": &...
0
votes
0answers
20 views

Magento 2 custom field not exists in request

I have added a custom row builder using phtml (template) to product creation form. However, when I submit the form, it does not send my custom input values to the server. my phtml file is like the ...
0
votes
0answers
16 views

Magento 1 shopping cart: product list empty, but there is products

When I open shopping cart, the product list seems to be empty; however there is products, infact the total show the price. Any suggesion? Thank youenter image description here Magento 1.9.4.5
0
votes
1answer
13 views

Magento : Assigning products to (new) websites programmatically do I need to run an index and which one?

In Magento When assigning products to (new) websites programmatically do I need to run an index and which one? When using Mage::getModel('catalog/product_website')->addProducts(array($...
1
vote
1answer
15 views

How to change Product price of a Cart? [SOLVED]

I created an order using Rest Api and i want to change the Produt Price from a Cart. I tried this: But didn't work, this line: $quote = $this->quoteFactory->create()->load($resultQuote->...
0
votes
0answers
16 views

The errror message “We don't have as many of some products as you want” is showing while adding the product to cart

I am getting the error message "We don't have as many of some products as you want" while adding the product to cart. Help me to resolve this.
0
votes
1answer
22 views

Magento2 Use of “Cost” In Catalog Product Edit Advanced Pricing Section

Does anyone explain me what is the use of "Cost" Attribute in magento 2 catalog product edit advanced pricing section?
0
votes
0answers
113 views

Magento2.3.3 - Can't check requested quantity for products without Source Items support in product list grid

I see someone getting the same error but different magento2 version. Ref - Can't check requested quantity for products without Source Items support
0
votes
0answers
17 views

error comming while add to cart using textarea in magento 2.3.5

I am facing this kind of error while creating module for custom add to cart in magento 2.3.5. So can anyone have idea then please share with me. Thank you in advance.
0
votes
0answers
8 views

Magento2 Configurable showing add ot cart button when product is set out of stock

For configurable product - when I set option Out Of stock to main product it is showing that's fine. But also add to cart button showing is not expected as it is out of stock now. When I try to add to ...
0
votes
0answers
34 views

Magento 2 - Get custom attribute of child products of a configurable

I tried to get value of my custom attribute of child products in product details of a configurable but without success. This is my code but not work: $simple_collection = $_product->getTypeInstance(...
3
votes
1answer
49 views

Creating a csv file that contains product details magento 1

I am trying to create a csv, using script that contains the below product attributes. (id, title, description, link, image_link, price, availability) in Magento 1 Has anyone implemented it? Or Any ...
0
votes
1answer
34 views

Move custom product in More Information Tab

I want to move product attributes inside the more Information tab. Can someone help?
1
vote
5answers
341 views

Any help - Magento 2.3 - After migration Add Product via admin return Fatal error, any help for this error

Installed Magento 2.3.4 using Github Installation, After migration from Magento version 1.9.2.3 to 2.3.4 If click Add Product i am getting the following error, Errors: System.log : [2020-09-18 10:37:...
0
votes
0answers
13 views

Image gallery area disappear in admin product

I am using magento 1.9.3.4 I'm trying to add images for product in catalog->Manage product->side bar/images option But I can't see image gallery and upload button So I have a look console log ...
0
votes
0answers
11 views

How to programatically assign multipe Bundle Products into one bundle product?

I have one project requirement, which have one Bundle product, in which requires multiple bundle products (nested levels) same as Simple Products Options association allows. Is there any way to ...
0
votes
0answers
18 views

How to add column to product grid magento 2?

How to add column to product grid magento 2 ?
0
votes
1answer
43 views

Products are not updating programmatically Magento2

I'm trying to update product details by this code - public function updateProducts(){ $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // instance of object manager ...
0
votes
2answers
212 views

How to add a custom link to product page magento 2

I want to add custom link in More Information tab. See attached screenshot: I want to give a link instead of text
0
votes
2answers
103 views

Magento 2 - Add multiple simple product in cart programmatically

I'm trying to add to the cart the simple products of the programmatically configurable product. For now I have this script that only puts 1 item in the cart and does not update the minicart: <?php ...
0
votes
1answer
24 views

Product URL issue in Observer Magento 1.9

I have create an Observer function which is call after product save but having some issues with product url. Getting product like: $product = $observer->getEvent()->getProduct(); Getting ...
0
votes
1answer
26 views

Get data from orders with observers

I am with magento 2.3.4, and I want to capture the information: product order client I would also like to know how I can print the data on the console. I am using the observer when ordering ...
1
vote
0answers
49 views

Magento 2 How to Update Product Saleable qty using programmatically with Magento standard code

How to Update Product Saleable qty using programmatically with Magento standard code ? i am able to update product quantity using below code - protected $_stockRegistry; public function __construct( ...
0
votes
0answers
41 views

Magento 2 REST API V1/products list all inactive Tier Prices

I am using /V1/products API Call to get the product list. It contains the inactive tier prices (means expired tier prices). Either I need to get the tier price from and tier price to or I need to get ...
1
vote
0answers
22 views

Product's Custom Attribute ISN'T updating on the ADMIN PAGE

I'm beginner at Magento 2 and i'm trying to update an attribute value from a specific product. The update works on the API, but seems to have not updated on the admin page. What could it be? Any help ...
2
votes
4answers
217 views

faster way to update attributes/ update product programmtically with stock data in Magento 2?

I have this code but Anybody tell me faster way to update products. This below code takes much time. So any alternative solution for to save product in fast way and Can I also put sleep function at ...
1
vote
0answers
15 views

How to add all product to a category at once magento 2

I want to add all website product to a specific categories using database query.anyone?
0
votes
1answer
13 views

Assign attribute to a product using mysql Magento 2

I am trying to assign attribute to a product in mysql, but not able to do so. Any idea how to do it ?
1
vote
1answer
47 views

Call current product in custom phtml file in Magento 2

On the product page I created a custom module to override the form.phtml file. I also added the option to include a new file called customFile.phtml when the user clicks on a button that is positioned ...
1
vote
0answers
36 views

Magento 2: Add product attribute to product by SQL

I am trying to add a product attribute to a product in Magento 2 by SQL, but its there is some issue in it. product id is = 244992 product attribute code is = 70
1
vote
1answer
33 views

Magento 2 - Product images not loading in catalog view

I noticed that the product images are suddenly not loading in the category view anymore: in the product view it works just fine. I inspected the HTML source code and noticed that the images are ...
1
vote
2answers
27 views

Magneto2.3-How to make product category mandatory in Magento 2

I am using Magneto 2.3. I want the product category field mandatory. See below my code: [![enter image description here][1]][1] <div class="field"> <label class=&...
0
votes
1answer
80 views

Custom Link with Product edit form

I am using magento 2.3 version. I want to add anchor tag after product attribute Name. I tried with adminhtml_catalog_product_edit_prepare_form observer but not working. I also tried with JS but not ...
0
votes
1answer
35 views

Using third party template file on product detail page magento 2

Hello, I have installed FAQ module from github https://github.com/php-cuong/magento2-faqs-extensions. I want to show the faq/view.phtml template file on product details page over here https://prnt.sc/...
0
votes
1answer
38 views

Observer function auto call twice in magento 1.9

I have created one function in Observer and set it called on product save after via config.xml file events section. When I press "save & edit continue", this function log all the ...
2
votes
1answer
43 views

Magneto 2 edit configurable products sku and product undefined

New product creating configurable product step 1: Select Attributes - selected color then, Step 2: Attribute Values - selected 2 colors then. Step 3: Selected Skip image uploading at this time Step 4: ...
1
vote
1answer
15 views

magento2 product custom url name_sku

How can I change my product URL to name_sku? Example: baseurl.com/shirt_35458.html also I have product url preficx that I created a module for it.
1
vote
2answers
67 views

Show category names in breadcrumb in product page magento 2.3.2

How can i show full category names in breadcrumb on product details page. Currently it is coming like https://www.screencast.com/t/5o9uZEu8xnV I want like this https://www.screencast.com/t/...
1
vote
1answer
145 views

Magento 2 admin getting error “not allowed to edit the product's design attributes” during product save!

I have admin user account with limited access. When I am saving a product it is showing an error: not allowed to edit the product's design attributes like this screenshot: What is the issue & how ...
2
votes
1answer
34 views

Product attribute information is not saving in the product

We use magento 2 and i recently updated the product attributes for the products. Now the new product attributes I created are not saving the content. I have the problem for the attributes price, text, ...
1
vote
1answer
33 views

Error while importing products through csv in magento 2

I am trying to update my product price through csv. When I run this import, I am getting this error: -> The value specified in the URL Key field would generate a URL that already exists. https://...
0
votes
2answers
113 views

Magento 2 - How to change number of products per page dynamically?

In Magento 2, I try to change number of products in category pages dynamically. For exemple categories 1 and 2 will have default number value (10), and category 3 and 4 will have one less product, ...
1
vote
0answers
41 views

Magento 2.3 Edit Configuration product added SKU undefined

I have added Product and parent products save When I Edit Configurable products Select Attribute Values and add more parent products Then next Select Skip image uploading at this time Step 4: Summary-...
1
vote
0answers
21 views

Show Store Stock against each Products

need to show, store wise qty. > karama 01 19 left > karama 02 10 left there is two stores and qty mentioned
1
vote
1answer
47 views

Check if product is in an attribute set by its ID

I want to get Attribute set ID in product page Can you help me please
1
vote
1answer
61 views

Magento 2.3.5: What is the correct technique to update stock?

I have tried to follow the next solution: Magento 2: Programmatically Updating Inventory But in Magento 2.3.5 this solution is deprecated. \Magento\CatalogInventory\Api\StockRegistryInterface ...
1
vote
1answer
118 views

Get “category level” for products in magento 2

How to get Category level of product using product id ?
0
votes
1answer
29 views

how to get short description on mail of refund on Magento2

i am want to show product short description on refund mail. My error: Fatal error: Uncaught Error: Call to a member function getId() on null in i am editing in : Magento_Sales/templates/email/items/...
2
votes
0answers
30 views

How can I show related products in magento 1.9

I am using Magento 1.9 with porto theme. i want to show related product in product page . I searched a lot on google , stack platform & in magento community. i tried all possible ways to add ...
0
votes
0answers
14 views

Magento CE 2.3.4 saving new product takes time

Adding new products to saving new products takes time. It takes almost 5min to save a product.

1 2 3
4
5
94