Questions tagged [products]

Questions about products in the Magento catalog in general

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

Magento Task to create custom rule for relatable product in frontend using condition [closed]

https://drive.google.com/drive/folders/1LBB1RiZ4TEZqwWwpNj9u7ppt4MfgiddQ?usp=sharing i wanted to create vendor rules based on the given condition(EX:color=='red' OR price > 2000) rule the product ...
0
votes
0answers
12 views

Warning: Illegal string offset 'attribute'

I want to get products collection and I need to join it to several tables so I made this function public function getProducts() { $products = $this->_productCollectionFactory->create(...
0
votes
0answers
17 views

Create product custom options template screen and assign to multiple product as mass assignment without effecting existing custom options

Hi All we are planning to create a admin page so as to create templates for product custom options. So that we can assign a custom option template to multiple products as a mass assignment. We know ...
0
votes
0answers
12 views

can't display the product's name after addAttributeToSelect

I have a table and this table will display the product's name, image, sku, category,and stock. when I use $products = $this->_productCollectionFactory->create()->addAttributeToSelect('*')->...
0
votes
0answers
7 views

Create products through API with xml payload

We are trying to create products by API, if we use json as payload, no problem Endpoint: POST /rest/default/V1/products Payload: { "product": { "sku": "MS-Champ-S", ...
0
votes
2answers
26 views

How to show related products Magento 2.3.5

I want to show related products on product page only from my custom module. I am not sure if I can or is it possible to do it. I am doing a check by if my attribute is enable I will change the outcome ...
0
votes
2answers
17 views

Grouped products - how to add a field?

I have simple products inside grouped products. I am looking for a way, so that when I add a simple product to a grouped product, I can specify Not just the quantity of the simple products but also ...
0
votes
1answer
61 views

Using GraphQL query and filtering products by category_id, I get empty items array

I try to make a simple request using graphql and to get a response from my magento. I have a parent category named Products(id:"3"). In this one, there are 3 subcategories A(id:"5")...
0
votes
1answer
13 views

Magento-1.9: How to manage products as per my wish in owl corousel slider for my home page slider?

I'm trying to set up a category products list on my homepage following this tutorial. <div class="hide-ratting owl-top-narrow" id="featured_product"> {{block type="...
0
votes
1answer
21 views

Magento admin products showing error

When I click on CATALOG>PRODUCTS then It's showing me the following message: How can I solve this?
0
votes
0answers
12 views

Magento 2 - Change text direction of “Regular Price”

I have just migrated from Magento 1.9 to Magento 2 with the standard luma theme. For all my products with a special price, it displays like this: I have created a new theme based on the luma theme so ...
0
votes
0answers
12 views

force customer to remove product from cart if not same type magento 2

if the same type of products is in the cart then force the customer to remove the products from the cart. Customers will not move on the checkout page till then cart having the same type of products. ...
0
votes
1answer
16 views

How to load and update tier price for large products collection for more then 50000 products

We have more then 50000 products in our website and i want update tier price for existing website. I have added code for update tier price for 4 customer groups. and it is working for 500 to 600 ...
0
votes
3answers
194 views

Getting error on indexing magento2.4

I have just installed magento2.4 with sample data. Setup looks fine from frontend and backend also, but facing 2 issues - 1 - when I run 'indexer:reindex' command, it giving me below issue - Catalog ...
0
votes
0answers
22 views

Magento 2.3.4 - Product Pages

I'm struggling with the product pages. When I click on any book in the store, I am getting a message that says Http Error 500. It's happening on every product page. I read that this was caused by not ...
0
votes
2answers
82 views

Magento 2: How to exclude/hide products from Search?

I still want to be able to access to some products through the URL but exclude them from the Search bar I am using elasticsearch7 Thank you in advance EDIT: Ideally, to do it programmatically
0
votes
0answers
26 views

Zoom Image change on mouse over

I want to change the product image Zoom on mouse hover on product page. <var name="magnifier"> <var name="fullscreenzoom">20</var> <!-- Zoom for ...
0
votes
1answer
20 views

How can I store product custom price with tax in an order?

I modified the products price in my custom module. How can I store correctly the product price with tax in the order? I need to store the net amount and tax amount separately for each product in the ...
0
votes
1answer
24 views

How to add stock filter in stiemap.xml in Magento 2.3?

I want to exclude out of stock products from the sitemap.xml. I want to add stock filter like status or visibility filter in the product collection: public function getCollection($storeId) { ...
0
votes
2answers
35 views

Magento 2 - Delete all products with ID 140.000 and higher

We have a lot of duplicate products in our Magento 2 store, that we need to remove. Now I am looking for a way or a sql query to remove all products from id 140.000 or higher. So all products from 1 ...
0
votes
2answers
28 views

Redirect customer on same page instead of customer Dashboard

I am using hide price extension, After login redirect customer on same page.
0
votes
0answers
9 views

Display UPC and MFR on Product Page

I am looking for a way to display the MFR# and UPC# on the product page just the way it shows the SKU#. Currently the page does show the SKU. I would like to have the UPC and MFR show close to the SKU....
1
vote
1answer
38 views

Merge database only products

last night some products where deleted around 100 items. I have the last backup of the database, is there a way to export only products from old backup and import them? Every help is appreciated
1
vote
1answer
15 views

Invert product regular-price and old-price

someone could help me to know how to invert regular-price and old-price on bundles products (M2). I found other threads about but them seems to not run on my site. So I need to have as first old-price ...
1
vote
1answer
28 views

url magento 2 to get manufacturer value on all website

why url like this do not work when we try to access to all product of a specific attribute value. let's take manufacturer as an example::https://website.com//?manufacturer=1437
0
votes
0answers
23 views

Categories and products info

Trying to understand on a lower level how Magento deals with categories and products and relations among them. Going on the admin>catalog>categories I see a tree of categories. Each of the nodes ...
1
vote
1answer
33 views

How to display saved Custom field value with reviews for product details page in magento1.9

I have created Custom fields in admin section for "catalog_product_review" comment reviews reply. i have created reply field for every comment, from admin side admin can reply to products ...
0
votes
0answers
14 views

Migrate Magento From 1.9.3.4 to Magento 2.3.5 Upsell Products Block is not showing on Product View page

I have migrate magento1 to latest magento235 but i am not able to see related , upsell products blocks in product view page becuase it is already showing in magento1 site perfect
0
votes
0answers
12 views

magento 1.9 Catalog Price rules are not carried over to the shopping cart and checkout?

i'm having troubles with catalog price rules.i have a rule for a catalog product- which appears to look correct on product. Product have many option and difference price. When i add product to cart, ...
1
vote
0answers
13 views

Products appear 'In Stock' only after re-saving

Certain products are listed as 'Out of Stock' on the front-end till I manually open the product and hit save. Sometimes it's configurable products, but most often it's one or two simple products. I ...
1
vote
0answers
13 views

How to get MOQ of child that inside the bundle?

How to get MOQ (default quantity) of child product option that inside the bundle? Bundle itself doesn't contains any MOQ, so I need to find their child and get MOQ. Child option may be simple products ...
2
votes
0answers
18 views

Magento2: I want to apply tax on specific products, not entire products

I am using Magento ver. 2.3.2 and I have configured the tax rules and tax rate in admin. Tax applied successfully on the products on cart page. But now I want to apply tax on some specific products, ...
0
votes
0answers
89 views

Magento 2 - Product category not showing - “ERR_INVALID_RESPONSE”

There is a category on my website which does not work. If I try to open it: https://example.com/insektenschutz/fenster/spannrahmen then it shows: The website is not accessible The website at https://...
0
votes
0answers
22 views

Magento Products and Categories in the same page

I'm fairly new to magento, and i've been looking for this solution for a while... Is it possible to show categories(ex : subcategories) and products on the same page ? I didn't seem to find anything ...
1
vote
0answers
8 views

In ui_component products get a grid of all products for each page and filtering does not work

In my file for ui_component: <dataSource name="products_listing_data_source"> <argument name="dataProvider" xsi:type="configurableObject"> <argument name="class" xsi:type="...
2
votes
1answer
74 views

How can I increase the number of related products shown on product detail page in Magento 2? [duplicate]

I am running Magento 2.3.3 and currently show 4 products on the product detail page. Where do I go to increase that number to 6? I have found nothing in the admin panel.
1
vote
1answer
21 views

Out of stock products: why do they appear in Collection::getAllIds and not in Collection::getItems

Im trying to get all products in a collection: out of stock and products in stock. So what I did is: /** @var $collection \Magentp\Catalog\Model\ResourceModel\Product\Collection */ $collection = $...
0
votes
2answers
34 views

Whats the Correct Product Type

What would be the correct product type to use for example we are selling a Printer. Then we want to add a dropdown for what Color of Printer Ink they want to buy. I don't think its a bundled product ...
0
votes
0answers
9 views

magento 2 Product description tab image problem gets smaller?

As shown in the image bellow im importing image in product discription with original size is (826px x 8191px) but after importing it it's getting smaller and resized to (152px x 1507px). how can i ...
0
votes
0answers
12 views

Product Collection incorrect no of products count after applying filters

I have extended ListProduct class into my custom module like this: di.xml <preference type="Ktpl\QuickShop\Block\Product\ListProduct" for="Magento\Catalog\Block\Product\ListProduct"/> ...
0
votes
1answer
13 views

Can't find category_ids in of each product in product collection

How can we include category_ids in product collection getData? Join field didn't work for me. For example, look at the below code Mage::getModel('catalog/product')->getCollection() -&...
0
votes
1answer
31 views

Show Product Meta Keywords in Product pages

Is there a way to show all meta keywords for a product on its product detail page. something looks like below? I'm currently able to display the meta-keyword attribute values under the email icon( I ...
0
votes
0answers
38 views

Notice: Undefined index: is_in_stock in vendor/magento/module-configurable-product/Model/Product/VariationHandler

When attempting to create Configurable products, we are receiving the error below. I've disabled any 3rd party modules I thought could be causing the issue, we were using both ...
0
votes
0answers
39 views

How to filter product by stock quantity?

I am trying to get results of products by stock quantity filter i use this inside the constructor of my helper class. \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $product_lib ...
0
votes
0answers
7 views

I created custom API to update bulk product details but I want to update detail based on store code and store code is collected from payload any idea?

I created custom API to update details but I want to update detail based on store code and store code is collected from payload any idea? Magento 2 [EE] postman custom URL: http://HOST/rest/V1/...
0
votes
1answer
25 views

How to get product collection of a particular category depending upon the custom attribute value in magento 2

I have created an attribute for product like enable/disable to show product in slider in frontend. How can i get the product collection of the product enabled for this attribute value using category ...
1
vote
1answer
127 views

Magento 2: Filter Product Collection using Category Id always return empty set

I have a parent category with subcateogry that contains a lot of product in it, when i tried to filter the product collection using this parent category id, it always return an empty collection: ...
0
votes
0answers
75 views

Can't find variants of configurable products using Graphql query

I'm using the Luma example Theme and Data Store. I'm trying the following query with Graphql: { products(filter: { name: { match: "Argus All-Weather Tank-L-Gray" } }) { items { id ...
0
votes
0answers
25 views

Move only error message on product view page

can I just move the error message (You cannot use decimal quantity for this product.) under product.info.price?
1
vote
0answers
35 views

Magento2: Insert data into a custom table on product creation?

How to insert data into a custom table on product creation in Magento2 Any help would be appreciated.

1
2 3 4 5
19