Questions tagged [products]

Questions about products in the Magento catalog in general

361 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
2answers
12 views

Increase the width of the product table in the order confirmation template

I'm trying to help my friend out who has a Magento Store, (2.3.6). I'm a little new to Magento but am experienced with PHP, HTML, CSS. Order confirmation emails are coming through badly formatted and ...
0
votes
1answer
13 views

Product Catalog Images URL construction

I have a rather strange issue on Magento 2 (2.3.3) where product images are not loading. Grid and List view show an error 500 for (some) product images, which seem to have additional slugs versus what ...
0
votes
0answers
17 views

Combination of grouped or bundled product with simple products

I'm trying to create a product which makes perfect sense to me, but can't get it to work: Customer would be able to select a kit of two products OR one of the two separate items either by a simple ...
0
votes
0answers
8 views

Magento 2 Add Button in Edit Product page and land back there after POST request

So, as the title says, I want to add an Admin button in the Edit Product Admin page. That button, when pressed, will call the respective controller of a URL, sending along the product id, the ...
0
votes
1answer
30 views

How to get ordered products withing a date range in magento 2 programmatically?

I want to get the products ordered within a date range for a report. As the result, I need like, product, product type, product Qty. I tried to load all orders and get the sum of products, it want ...
0
votes
0answers
14 views

How can I set a product downloadable but optionally shippable?

I run a Magento 2.4.2 store which contains only downloadable products but those products could be (with a extra charge) shippable. What's the easy way to set them? Should I insert a downloadable ...
0
votes
0answers
27 views

What is the correct way to configure Magento, so that products will be visible on storefront?

I am completely new to magento. Trying to add some products on store, product saved successfully. But it is not visible on storefront. Checked all the configuration settings, all are correct. I found ...
0
votes
0answers
11 views

Is it possible to make the magento filter load a phtml code inside?

Staff in magento 2, in 2-column layout, in the first column there is a value filter and in the second column the products. Is it possible to make the filter load inside the product column?. I need the ...
0
votes
0answers
11 views

Set Product Image From Image Gallery

Is there any way to get an image for a new product direct from image gallery? i want to categorize photos into folders on image gallery and then putting them into the products. My Magento version is 2....
0
votes
0answers
15 views

Magento 2.3: products are out of stock only on the product details page

I have a multistore site with simple products that appear to have positive quantities from the backend and are set as "available" in stock. I've checked and I'm sure all other store views ...
0
votes
0answers
26 views

Magento 2.4 stock_item in /v1/products API

The stock_item seems deprecated in the Magento /V1/products endpoint there is some mentioned here: Magento 2: Get Product Stock status details in Rest API Magento 2: Rest API add "stock_item"...
0
votes
1answer
17 views

Magento 2: Export All Products with their custom options

I want to export all products with their custom options through database.
0
votes
1answer
18 views

How to create a block with random products and style grid?

I'm starting to play with magento 2 and wanted to create a list of 10 random products that I can place anywhere (e.g. home) with a grid style. May I know, How I can get 10 random products, but I don't ...
0
votes
0answers
17 views

Magento 2, programmatically create configurable products

Hello I have the necessity of creating both simpe and configurable products. This is what (following online guidelines) I have right now: $bootstrap = Bootstrap::create(BP, $params); $objectManager = $...
0
votes
1answer
11 views

Magento 2: Product status doesn't change after changing to another status

When I changed the status of the product from visible to invisible and when I view the product (in the admin panel) it displays correctly but on the table shows the preview status (see attached ). and ...
0
votes
0answers
18 views

Magento 2 Cross Sell products layout are breaking in shopping cart page even in default Theme

We are facing a issue with the Cross Sell products layout in shopping cart page. The product items that are rendered are not loading in proper HTML structure and resulting the items layout to beak. ...
0
votes
1answer
18 views

How can Enable Product (a [website] scope property) can have different values in one specific store view vs All Store?

I have 1 website, 1 store and 2 store views (for English and Finnish languages.), If "Enable product" scope is website. Then how come it can have different values between these Scope: ...
0
votes
1answer
38 views

Magento 2.3.3 Hide product that are missing product image

Im using Magento2 v2.3.3 Open source. My store consist of around 76000 products and some of them are missing product images. Is it possible without much coding to hide products on the frontend that ...
0
votes
0answers
10 views

Magento 2.3 - Customer Login custom product view

We have a customer who asked that when a customer log's into their account, they can only see the products they have been allocated. Our customer is selling a type of products to different stores. And ...
0
votes
1answer
50 views

Optimize Product Collection Filter

I have a Model in my code that creates a custom product collection based on a user search term. That search term should search products and filter it by sku or name... The issue is that it takes too ...
0
votes
0answers
17 views

Infinite scroll is loading once all products are loaded

I want to make infinite scroll to load even if not all products are loaded templates for infinite scroll here is the code : <?php if($block->isEnabled()): ?> <div class="...
0
votes
0answers
32 views

Shopify to Magento 2 products csv converter

I want to migrate my products from shopify to magento. Is there any code present on github or any other software for this? I don't need to go for paid extensions. Need some script to convert ...
0
votes
0answers
12 views

Add attribute to bundle pre order product

I have a pre order extension that gives me an attribute "Preorder Product Availability" that responsible for the time date of Availability of the products , and I have bundle products. Then ...
0
votes
0answers
19 views

New products take 12 plus hours to appear in categories

We are currently using Magento 2.4.1 . When we add new products it takes hours to show in the categories we had picked when creating the product and yet if you search the product on the website it ...
0
votes
0answers
221 views

I have error Call to a member function getData() on null l/vendor/magento/module-catalog/Helper/Image.php:501 in supro theme

I have error main.CRITICAL: Error: Call to a member function getData() on null in /home/bigroadusa/web/bigroadusa.com/public_html/vendor/magento/module-catalog/Helper/Image.php:501 in debug and system ...
0
votes
1answer
23 views

How to get subcategories on one page and products on another page?

I have category seating and I have some subcategories (sofa,chair) in it. I want one category page that shows list of sub categories and another page which shows all the products of the seating. We ...
0
votes
0answers
106 views

Magento - SQLSTATE[23000]: 1452 Cannot add or update a child row: a foreign key constraint fails

I get the following error when I try to reindex product Flat Data. This error happened after I deleted all products using SQL query. Exception message: SQLSTATE[23000]: Integrity constraint ...
0
votes
0answers
30 views

Assign Products to Specific Store Programmatically : Magento2

I am trying to assign different products of the main store to other stores programmatically. Is there any way to get it done?
0
votes
0answers
26 views

Magento 2: which event fires before a product gets added into cart on the admin side?

When an admin wants to reorder an item I want to check whether that item is enabled or disabled and if its disabled I want to skip that product based on its SKUs from adding into my cart. Which event ...
0
votes
0answers
55 views

Redirect to /downloadable/customer/products after successful checkout automatically | Magento 2.4.1 CE

Cause we only sell downloadable products in our Magento 2.4.1 CE with Autoinvoice we would like to redirect our costumers automatically to the /downloadable/customer/products/ instead of the /checkout/...
0
votes
0answers
20 views

How to retrieve quantity from products list with REST API?

I need to get stock info about my products in REST API response. I'm using this endpoint: GET https://{{magento}}/index.php/rest/V1/products?search_criteria%5Bpage_size%5D=10&search_criteria%...
0
votes
0answers
27 views

Odd error - main.CRITICAL: Notice: getimagesize(): Read error!

main.CRITICAL: Notice: getimagesize(): Read error! in [full path removed]/public_html/vendor/magento/framework/Image/Adapter/AbstractAdapter.php on line 304 [] [] Getting this error on pages that are ...
0
votes
0answers
26 views

Can we display discontinued products in website?

Can we display discontinued sku? I have a some SKU’s in my website, but after some time it's discontinued, but people still search for it. I've seen this feature in many websites showing discontinued ...
0
votes
1answer
50 views

Hide a Ui Component Field based on condition on product edit

I have created custom field in Magento 2.4.1 product edit page, product_form.xml <field name="type" formElement="select"> <argument name="data" xsi:...
0
votes
0answers
78 views

Magento 2 The update with the “1609327541” ID doesn't exist. Verify the ID and try again. [ M2 EE 2.3.3 ]

I am facing the below issue while saving products from the backend or via script. Magento 2 The update with the "1609327541" ID doesn't exist. Verify the ID and try again. [ M2 EE 2.3.3 ] [...
0
votes
0answers
14 views

How to get the best selling products in a category and sort them from best selling to least selling?

How to get the best selling products in a category and sort them from best selling to least selling? I try get best selling collection like: use Magento\Store\Model\StoreManagerInterface; use Magento\...
0
votes
0answers
44 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
20 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
14 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
23 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
18 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
0answers
20 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
23 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
0answers
24 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
0answers
30 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
25 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
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
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 2 3
4
5
8