Questions tagged [product]

Denotes a question related to the Magento products.

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

Magento 2 copy SKU value to custom attribute value

I have approx 50000 product in my store. I would like to copy the SKU value to the Custom attribute(custom_sku_field) value for all products. I think going for SQL query might be risky. so can anyone ...
0
votes
0answers
4 views

Magento 1.9.4.5: Product Images Not Being Uploaded After Upgrading Magento Version

I have recently upgraded Magento 1 Version From 1.9.2.4 to 1.9.4.5, so after that, i am facing the issue with product images not uploaded from admin: https://i.imgur.com/zDR9McO.png
0
votes
1answer
20 views

How to get ordered product count in magento 2.4

How to get ordered product count of product. I want to how many product is there in that order?
0
votes
3answers
15 views

How To Get The Tax Rate From A Product

I am looking to get the tax rate value from a product (not quote item) in a plugin, which fires on the beforeAddProduct() method. Currently I have the following in my plugin code: $taxClassId = $...
0
votes
0answers
11 views

How to change (via CSS) the position of "Old Price" above the Regular Price?

Thanks in advance to anyone who can answer! 1) How to change (via CSS) the position of "Old Price" above the Regular Price. (As in the image below). 2) How to add this text "ou XXX de ...
0
votes
0answers
8 views

Do Files uploaded through a Product-File-Option ever get deleted automatically?

Magento features the possibility to allow customers to upload files when ordering certain products using an option on product-configuration. The uploaded pictures are stored under magento-root/pub/...
0
votes
2answers
26 views

Remove product count in category page sidebar

I have a Pearl WeltPixel theme for my Magento site and I would like to remove the number of products next to the category name in the sidebar. But even putting "no" in display the number of ...
0
votes
1answer
16 views

Magento 2.4.2: how to add a custom attribute field

I need to add a custom attribute field named google_product_category in addition to those already existing for products. I tried doing it with Add attribute button, but ended up seeing a new field ...
0
votes
1answer
53 views

Magento 2 Breadcrumbs show wrong on product page because of cache

Magento 2.3.5 and 2.4 both versions have these issues. The same product is assigned in two categories. Suppose two main categories - Category One and Category Two Category One subcategories are ...
0
votes
0answers
29 views

Created new module, now all products get 404 not found

After following this as a guide: Github module for grouped product attributes Now all my product pages give a 404 error. I am attempting to add all of the attributes to the grouped product collection ...
0
votes
1answer
20 views

How to retrieve updated stock quantity after modifying source item repository?

I am trying to add stock quantity dynamically and use the current stock quantity for adding the product to the cart. The stock quantity gets updated successfully, however the ProductRepository keeps ...
0
votes
2answers
157 views

Magento 2.4.2 not showing products in category pages after version update

I have updated my Magento from 2.3.0 to 2.4.2, and seems to work fine, but one thing, if I go in any category page, I see no products, and even if I search for, I see no results. On the homepage there ...
0
votes
2answers
26 views

Latest data doesn't show at front end after addding data in my custom module

Latest data does not show at front-end after submitting form in my custom module. when I clear cache then latest data show at front end. Help me! how to fix that problem. when I disable cache my ...
0
votes
1answer
12 views

Magento 2 Get In Cart Product Brand, Variant and Quantity

in Magento 2 I am trying to get below details of the product from the customer cart Name ID Price Brand Category Variant Quantity This process I added in observer during customer proceed to checkout ...
-1
votes
0answers
15 views

How to get the percentage of reviews of each product by product id in Magento 2?

For example, I have 5 5-star reviews, 3 2-star reviews and 2 1-star reviews, when var_dump on the screen, it will look like this: 50% 5-star reviews, 30% 2-star reviews, 20% 1-star reviews Pls help me,...
0
votes
1answer
35 views

How to display cms block in product page if some attribute is set to yes

I want to display cms block if product has the attribute set to yes. A product may have multiple attributes set to yes, and may display multiple cms blocks. Attribute label text will be a BlockId. It ...
0
votes
1answer
18 views

Pass Simple product id along with the swatch options attribute in swatch renderer .js magento 2.4

We get swatch options by swatch renderer .js file. I want to pass the product id of the simple product along with the swatch option. Please see attached screenshot. I want to pass a simple product id ...
0
votes
1answer
47 views

Magento 2 How to add the custom categories attribute field in product form? [duplicate]

I am trying to add the categories and subcategories in a small panel Exactly like the one in the Product Form in the admin panel. I need to add it in Product Form How to achieve this?
0
votes
1answer
28 views

Magento 2 Get Product By First 6 digit SKU

As stated in the title, I want to be able to get Product by only the first 6 digit SKU no Full SKU No : 1350022021000 First 6 Digit SKU : 135002 I have done the code below to test if able to get the ...
0
votes
1answer
34 views

Magento 2.3 multi currencies without using exchange rate conversion

I'm trying to find a solution for my client which is to set products price in multi-currency manually not using base currency and exchange rate conversion. Please share your thought, solutions, and ...
0
votes
1answer
13 views

How to modify core product block

I have a problem with having any impact on how the site render a block. I want to pass data about shipping price to a product page, and I want it done by creating module, I've made standard: app/code/...
0
votes
1answer
13 views

Is there any way to get enabled and disabled simple product of configurable product in Magenoto 2?

Is there any way to get enabled and disabled simple product of configurable product in Magento 2. I need to get all id of enable and disabled product by using SQL query or object manager approach. Can ...
0
votes
1answer
18 views

Magento 2: Import will not import more than 1 product at a time

Magento 2 version 2.2.6 will not import more than 1 product at a time. The import will not create, update, or delete. I've checked the import history, but there are no errors. I've validated the ...
0
votes
0answers
30 views

Export single or limit the no of products for export Magento2.4

In Magento, export functionality is there a way to export only a single product or limit the product export to 5 or 10. As I have more than 30,000 products as of now in my Magento. But I only need ...
0
votes
1answer
15 views

$this->productRepository->save($product) fail for bulk update with multiple attribute sets and tier pricing

I have a custom cron to update/import bulk products using a csv file. All the products have tier pricing and different attribute sets assigned. use Magento\Catalog\Api\ProductRepositoryInterface; use ...
0
votes
0answers
18 views

When we search for a product through the search bar, it is not showing any search results

When we search for a product through the search bar, it is not showing any search results. Upon checking for the issue we have seen the following error : "caused_by":{"type":"...
0
votes
2answers
36 views

Magento 2 How to Remove Particular Product Price in Category Page?

I want remove particular product price in category page.
0
votes
1answer
80 views

Magento 2.4.3: graphQL ResolveURL response error "Internal server error"

I am working on Magento 2.4.3 setup graphQL with Ubuntu 20.04.3 LTS machine. I setup a pwa-studio with venia-concept theme on the same machine and connected it with the Magento setup. All is running ...
0
votes
0answers
12 views

Add upload DOC field. Magento 2

I need to add to the product page the ability to upload DOC files. I'm trying to add this via attribute, but nothing not found, any idea how possible to add this?
0
votes
1answer
27 views

.Logo images are not showing in transactional emails magento2

I can see the logo image and product images in the email logs backend. But in emails, the logo image and product images are not displayed.
0
votes
2answers
29 views

add custom tab in product page

Is it possible to add custom tab in product page remains in custom module(with out changing template of theme). if it's not possible help me in extending template of theme to adding custom tab in ...
0
votes
0answers
24 views

Magento 2 configurable product price show 2 times on category page

Default Magento 2 does not provide to show the special price on the category page, for show special price we did these changes file name - Vendor/theme/Magento_ConfigurableProduct/templates/product/...
0
votes
0answers
19 views

Cannot get session from Product plugin

I am using this guide to change the price of the product: https://www.mageplaza.com/devdocs/how-to-change-product-price-with-plugin-magento-2.html In this plugin, I need to get token info of the ...
0
votes
0answers
12 views

Subscription pack kinda product

we want something like a product the customer can buy and for x months it has some privileges like a premium user, something like a VIP subscription. Is this possible? The client customer account ...
0
votes
1answer
20 views

Attribute value not showing properly in admin form

I have created a custom 'Forme' product attribute select type based on option value class FormeOptions extends AbstractSource { /** * Get all options * * @return array */ ...
0
votes
1answer
25 views

Not able to upload product images in the admin in Magento 1.9?

We have Magento v1.9.0.1. when we try to upload product images in the admin we get a JSON-related error in the browser console. we checked the error logs but didn't find any specific cause of this ...
0
votes
1answer
14 views

HOW TO GET PRODUCT ATTRIBUTE AND AVAILABILITY?

I want to get the Product attribute using Object manager and check the availability of the product if its RTS I have to assign that product to a category id.
0
votes
0answers
9 views

Subtract/reduce more than one unit from a product's stock/inventory

I want to configure that my shop subtracts/reduces a defined stock value from the product stock specified in product or elsewhere. Is this possible and if, how can I do it?
0
votes
0answers
25 views

Product Export Not exported all product Magento 2.4.2

I am trying to export the product from Admin, After successfully exported all products not showing. I have 3000 data in the database but 2700 product export in excel sheet. Expected Result: All listed ...
0
votes
1answer
24 views

How we can add category Filter to assign product grid

I want to add a category filter to the assigned product grid in Magento 2. Please help me out. Thanks in advance.
0
votes
0answers
11 views

How to move the attribute text into the select box label in magneto 2 product details page?

In Product page how to move all configure attribute title on dropdown label and replace with default label (Choose an Option...)? currant : https://prnt.sc/1zwviuh expected : https://prnt.sc/1zwv9ap ...
0
votes
0answers
13 views

How to know the method available for Magento_Customer/js/customer-data

I am doing a Google Tag Integration on Magento 2.3.5-p2 which require me to capture an event that happens during add to cart and remove it from the cart to capture this event I put in code as below at ...
0
votes
1answer
34 views

My product can not show image

What is that problem? src="http://magento.demo2.com/media/catalog/product%5Ccache%5Ca3a5fab46ded5c197ff7844fd9e08957%5C//u/r/urn_aaid_sc_us_a1b326b9-062f-484a-b97d-39dbdbe93333_1_3_1_1.png"
1
vote
3answers
42 views

Magento 2 : Get current product id in product edit page

How do I get the current productId on the product edit page. $request->getParam('current_product_id'); $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $request = $...
0
votes
1answer
12 views

magento: 2.4.3: Add Content - Products Carousel not show arrows and dots in page Home Page

I added Product Carousel it not show image, arrows and dots in page Home Page Please! Help me!
0
votes
0answers
11 views

Magento 2.4 sorting issue due to pricing by some additional attributes

We have a site where we have to sort products by price to display in collection. But there are few attributes that too are considered while calculation final price and even on listing we want to show ...
0
votes
1answer
18 views

Magento 2: Change product template based on the category

We have multiple categories and each category has it's own products(mostly simple products). The products in each category has different UI design for product view page / product details page. I know ...
0
votes
0answers
6 views

PROBLEMS WITH SEO MAGENTO 2 SAME URL FOR DIFFERENT STORE VIEWS

I have one magento 2 with two stores (two different domains ) each store with two store viewS (english and spanish) both stores share almost the same products. Each store have the same URL for the ...
0
votes
0answers
17 views

How to add recently viewed product in mini cart

How to show recently viewed product in mini-cart. its showing in home page.but I couldn't find a way to place that into mini-cart.
0
votes
1answer
19 views

error on import "The source file moving process failed" magento 2

I am getting the error "The source file moving process failed." when trying to perform any type of import. I have tried catalog re-index, tried changing the file, been searching but cant ...

1
2 3 4 5
97