Questions tagged [product]
Denotes a question related to the Magento products.
4,935
questions
0
votes
1
answer
27
views
Magento2 catalog product edit related
I am trying to override Related in the product edit to remove it but it does not work
In my file etc/adminhtml/di.xml
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
0
votes
1
answer
29
views
get Image thumbnail Resize in custom Class magento 2
I am getting my images in the array.
I need to check the if image in the array is empty then it should be replaced with the thumbnail image.
Here is my code :
if (is_null($imageData->getData('...
0
votes
1
answer
35
views
Hi, I am new to magento. I am trying to place a CSS/javascript popup in the Products/Specification page, data from the static blocks
I am trying to place a CSS/Javascript popup onhover in the Products/Specification Section. Please refer the image. Onhover on the yellow circles.
I have created some static blocks, which I want to ...
2
votes
1
answer
28
views
Magento 2 Call catalog_product_price.xml file for specific type product
I create one layout file catalog_product_prices.xml file and using this file bind one phtml file so, this phtml file calls every type of product like bundle, group, and simple.
My need is to call this ...
0
votes
0
answers
13
views
Why would product description not transfer when doing an export and reimport from Magento 2 into a different Magento 2?
I have exported products from Magento 2.4.2-p1 and imported the file into Magento 2.4.5-p1.
I've noticed there are a lot of product descriptions missing when going through the products on Magento 2.4....
0
votes
1
answer
26
views
How to remove a product from a specific website by uploading a CSV file
Currently, I want to delete products from a specific website in bulk, as it is a huge list of SKU's, So I want to do this via a CSV file.
But I have not identified which field removes the check mark ...
1
vote
2
answers
33
views
How to replace an existing product's url with a new product
I am duplicating a product, disabling the old one and want to set the url of the new product to replace the old product.
$duplicateParent = $this->productCopier->copy($oldproduct);
$oldproduct-...
0
votes
3
answers
39
views
Preference Module - When to Pass in Parent Dependencies
I am currently creating a preference module to add additional functionality to \Magento\Catalog\Model\Product and in reviewing some of the tutorials, example below, I noted that dependencies weren't ...
0
votes
1
answer
32
views
how to add Strike through on original price and show cart rule discounted price
add strike through on the price and show the discounted price after strick through price on the checkout shipping step summary section
0
votes
2
answers
44
views
Magento 2.4.6 - Import mutiselect attribute options from CSV
UPDATE
I've used the Firebear ImportExport Extension for now. That works without any problem. Its pricey but worth the money if magento cant get something "simple" like this working.
Good ...
0
votes
2
answers
52
views
How to get current category name when having only the product ID
I want to get the current category name in a .phtml file, having only the product ID.
The product ID is fetched from reviews.
Note: I'm not running this on product page.
This is what I have now:
<?...
1
vote
2
answers
45
views
How to create duplicate product programmatically in magento2.4.6?
I want to create a duplicate product using the product id programmatically. I have tried many solutions but have not had success.
How to do it?
1
vote
2
answers
44
views
No such entity with customerId magento2
Product page- I got an error after upgrade version 2.4.3 to 2.4.5
1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with customerId =
Exception #0 (...
1
vote
1
answer
48
views
Platform specific restrictions
I am looking for information what i can not sell using magento open source. Is there list of forbidden items? This information for my blog article.
0
votes
0
answers
25
views
magento 2 sort by name is not showing full products
Magento 2.4 on the category page when sort by selected is name then products are not showing all products
sort by position is working fine
sort by price is working fine
Example Total 31 products in X ...
0
votes
1
answer
15
views
return special price to blank value
I am trying to return the special price that some products have to the value that they had by default "blank value" or eliminating the value that these have, I want to do it loading template ...
0
votes
0
answers
13
views
Running a special discount, but the price not reflecting on cart page
So i updated the pricing for the discount campaign. However, for the people who have added the products added in the cart can see the old pricing and add the coupon code. please help
0
votes
1
answer
34
views
Magento 2 Display compare block only when the number of products to compare > 0
On the catalog page I only want to display the block-compare if the number of products to compare > 0. Now I still see the title of the comparison block, I don't want to see anything.
This is my ...
1
vote
1
answer
29
views
Save products in restricted user roles
I am using Magento 2.4.5, where i have created user roles with access to catalog, marketing and sales. But those users are not able to save Products. When they try adding new product or editing ...
0
votes
1
answer
32
views
PIM Integrated with Magento Using Customizable Options NOT Configurable Products
I'm looking for PIM or some product data management tool that integrates with a Magento 2 store and utilizes the customizable options (sometimes 30+ options per base SKU), NOT one that uses the ...
2
votes
1
answer
31
views
Add a link to the SKU of the product in the order details in the backend
In the backend, click on sales -> orders -> view once, and under the information tab, there is a "Items Ordered" option. Add a product link to the SKU of the product below, which links ...
0
votes
1
answer
21
views
Condition for moving elements
I have a problem with this one so I'm editing the catalog_product_view.xml and I'm trying to move product details before add to cart button. So I have a configurable product and a simple product and I ...
0
votes
0
answers
33
views
How to show swatches in related product in magento 2?
Like the title i just wanna show swatches in related product witch each other, anny ideas ? Thank you all
2
votes
1
answer
65
views
Add price with carton and price without carton
I have products such as gaming tables and chairs. I want to add two prices to them: a price with carton and a price without carton. How can I do that?
0
votes
0
answers
15
views
Dynamic banners not loading after cache clear
Can some one please help me here. I cleared the Product images cache as many images were incorrect.
I'm unable to recall the cache. The main dynamic banners on the homepage are not loading.
I ran the ...
0
votes
2
answers
104
views
How to add image in email template?
I am trying to add image in my custom email template.
I want to know how to define image section in email template and how to set image PARAMS of email sending action using TransportBuilder.
Images ...
0
votes
0
answers
17
views
How to add product specification information in admin product view page?
I am trying to add product specification section in admin product view page.
This section has to include three images upload function that display its specification, and then title input field, ...
0
votes
1
answer
31
views
How to add file upload section in the admin product view page?
I am trying to add file upload section in admin product view page.
Because I want to display to customer the product specification download in the frontend product detail page.
Please tell me example ...
1
vote
1
answer
44
views
Porto theme - Magento2 - Product page - Image position
Check this image:
This is my product details page. Image on the left is moving up with scrolling. I don't want it to move up. I want too always be fixed on the right as long there is a text on the ...
0
votes
2
answers
69
views
Review list - catalog_product_view.xml - QUESTION
I am working on an issue for a few days and can't make it working.
I have a custom theme and was able to fix possitions using catalog_product_view.xml (move method on the element).
The problem I had ...
0
votes
1
answer
36
views
Status and visibility can not be set after copying a product programmatically?
Magento 2.4.6
I copied a product like that:
$childCopy = $objectManager->create('\Magento\Catalog\Model\Product\Copier');
$childCopy = $childCopy->copy($parent);
This works, I can set the SKU, ...
0
votes
1
answer
39
views
When exporting the product, the exported CSV file is too small and the content is incomplete
The version of my magento2 is 2.3.5-p1.
My export steps are as follows:
System ->Export
Select 'Products' for Entity Type
Select 'CSV' for Export File Format, there is only one option available ...
0
votes
0
answers
28
views
Why the sorting of custom product options does not work when you move the mouse?
I can't put the item elsewhere. It always stays in its place.
There are no errors in the browser console.
As I understand the logic of moving an object is in the file: vendor/magento/module-ui/view/...
0
votes
2
answers
27
views
How i get current product name by product collection?
How i get current product name in sendEmail funtion
if (isset($result) && $result) {
$this->emailHelper->sendEmail('Product', $productName);
}
And this is my ...
0
votes
1
answer
27
views
How i get product id in aroundExcute function?
<?php
declare(strict_types=1);
namespace custom\ScheduleContentNotifier\Plugin;
use Magento\CatalogStaging\Model\ProductApplier;
use custom\ScheduleContentNotifier\Helper\Email;
use Magento\...
0
votes
2
answers
139
views
Filtering Product Collection on the basis of visibility
I want to remove the products from the product collection that are set Non-Individually Visible.
Here is my code:
$validProductsCollection = $this->collectionFactory->create();
$...
0
votes
0
answers
59
views
Unable to download product export csv in Magento
While downloading product.csv file in MAGENTO getting below error:
The webpage at https://example.in/bradadmin/admin/export_file/download/filename/catalog_product_20230517_143650.csv/key/...
0
votes
2
answers
48
views
Scable qty going to nagative value
In Magento2 Scalable qty going to nagative value.
Is there anyone have idea which cases Scalable Qty going to nagative value?
0
votes
1
answer
39
views
Magento 2 + How Delete 50 products with images in a single time with creating custom consumer::queue?
I have 1lac products in Magento, I want to delete the products based on some condition like if the product is disabled, but if we delete all products in a single time using corn the server can crash. ...
0
votes
0
answers
45
views
Magento2 : Product Url Rewrite not woking Properly
I am facing an issue with the product URL rewrite. I have installed the extension "OlegKoval_RegenerateUrlRewrites" to generate URL rewrite.
some products are working but others are ...
0
votes
0
answers
12
views
how to remove a product from a specific web site, using a template whose fields are required to perform the action
Currently I want to delete specific products from a website massively as it is a huge list of SKUs so I want to do it through a template and I have the first 2 fields but I need a third one what would ...
0
votes
0
answers
22
views
Magento 2.4.3: Cloned Product Overwrites Existing Entry in CatalogInvetory_Stock
I am working on a Magento 2.4.3 store and am cloning a product via the below methodology:
$product_clone = $this->object_manager->create(Product::class);
$product_clone->load($...
0
votes
0
answers
12
views
How to add a temporary image uploaded from external url to product image data set and view in image section in magento 2 admin product edit page?
I want to add custom image temporary path to existing product images data and load in the edit product page.
I have override the product-gallery.js and gallery.phtml file from module-catalog in my ...
1
vote
0
answers
23
views
How to stop custom options price to apply on each qty of configurable product? Magento 2?
I have a custom option price which gets applied to each quantity. But I only want to apply that custom option price once instead of applying to each quantity. Below I am adding image of custom option
...
0
votes
0
answers
21
views
How to load widget data from a specific category?
I am an absolute beginner of Magento.
Created a new page via Content -> Pages. On that page, I want to show the recent 10 T-shirts from the tees category. Therefore I included a widget but I can ...
0
votes
0
answers
20
views
Magento 2 - How to Create Product custom options using patch data
In Magento 2.4, How to Create Product custom options using patch data?
I tried the solution like this. But it is giving error as Area not set. I tried to set area using DI as values admin, admimhtml, ...
0
votes
0
answers
17
views
manually added products not showing on site?
I have manually added simple products to a grouped product but nothing showing on website?! Checked they are enabled AND showing stock AND not duplicated but still not showing ?
0
votes
0
answers
21
views
Configurable product with swatch AND dropdown attributes changes dropdown workflow
Preconditions and environment
Magento version 2.4.5
Steps to reproduce
Create a configurable product with only dropdown attribute - For example https://magento-802601-3429172.cloudwaysapps.com/only-...
0
votes
0
answers
154
views
Magento 2.4.3 - Update attributes for 1 selected products stuck on pending
I have some issues with bulk updating attributes, what I'm trying to achieve is to add a store view to some products. It is too much to do it manually.
I have tried to truncate magento_bulk, which ...
0
votes
1
answer
38
views
what does this error mean and how to solve it "message":"Products \"%1\" and \"%2\" have the same set of attribute values.","parameters"
I did an upload and the simple skus were created, but the configurable sku shows this error and is not created. What does it mean and how can I fix it?