Questions tagged [products]

Questions about products in the Magento catalog in general

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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
1answer
16 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
6 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 ...
1
vote
2answers
20 views

Magento 2 - Change amount of products per row in category view

Currently there are showing 4 products per row in the category view. How can I make it show 3 products per row instead? I found this answer. It says there is a file Magento_Catalog\web\css\source\...
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
1answer
23 views

Set product in shared Catalog

For product import, I have checked from admin (admin -> catalog -> shared catalog ) that my id for shared catalog (Default (General)) is 1. Then I done code as below. but not works. please guide ...
0
votes
1answer
14 views

M2.4 - How to add OG tag for categories?

I am created OG tag for the Homepage and products, For Homepage : 1)app/design/frontend/Zero/my_theme/Magento_theme/layout/default_head_blocks.xml <meta name="og:title" content="...
0
votes
0answers
64 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
22 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
12 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
17 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
1answer
24 views

magento 2: how to get order details from “controller_action_predispatch_sales_order_reorder” event?

I am using "controller_action_predispatch_sales_order_reorder" event to find out whether an order is reorder or not. Using this event I am able to get original orderId but along with that I ...
0
votes
0answers
25 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
52 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
19 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
9 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
17 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
22 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
36 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
10 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
18 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
19 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
12 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
28 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
19 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
196 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
16 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
23 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
14 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
22 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 ...
1
vote
3answers
452 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 ...
1
vote
2answers
186 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
28 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
22 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
30 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
37 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
39 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
16 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
42 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
47 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
16 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
16 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 ...

1
2 3 4 5
20