Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [product]

Denotes a question related to the Magento products.

1
vote
2answers
688 views

Magento 2: Custom Options - info between?

Is there a way for me to place text between the custom options on my product page? I'd like to separate each option (size, message, text field) with some information relating to the option beneath ...
0
votes
0answers
9 views

Magento 2.3: saving configurable products lead to erasing price

When I create a new configurable product and then I add the configurations price field gets disabled and erased. Is there any way to fix this or just take the first configuration price? Also in ...
1
vote
2answers
860 views

Magento 2.2.4 : image not showing in product page

I haven't the image of the product on my product page, but I have it inside category page. I also have the link of the image if I go into html code through developer console. I tried to flush ...
0
votes
1answer
30 views

magento 2 get all products video gallery

I need to get all videos in one page, How I can get all the videos or get all product that has video?
1
vote
1answer
23 views

Magento 2: How to completely hide price from the store

I want to completely hide the price from the store. Be it in the catalog, product, minicart or cart. I need to do this through a custom module. Any help is appreciated. Thanks!
0
votes
0answers
9 views

Magento2 product migration issue

I am facing a very strange issue on Magento 2.2.7 I have migrated products from Magento 1 to 2. When I try to save and duplicate on the product page the process will become infinite and some time ...
1
vote
1answer
741 views

Show Tax Amount in the Product page

I'm trying to show the label "Tax amount: 40$" in mu product page, just under the price, as this image I enabled in the System > Configuration > Sales > Tax almost every display with "show including ...
0
votes
3answers
2k views

Crosssell products in product page

I have at the moment in catalog.xml <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/> and in view.phtml <?php ...
2
votes
1answer
18 views

Magento 2 - Full hierarchy wise product breadcrumb

If I open a product directly from Home or search page then breadcrumb shows like this: Home > MyProduct Whereas if I go to the category, then subcategory and then open the product, it show the ...
4
votes
0answers
24 views

Magento 2.2 - order confirmation/order edit - rounded bundled product qty

I use decimal qty for some products. If product type is simple order confirmation email sends qty correctly in decimal eg. 1.05 m2 Unfortunately if same product is part of bundle qty is rounded down. ...
0
votes
1answer
2k views

Magento1.9: How to add video in product page? [closed]

How to add product video to product detailed page? We want to show that video based on creating new attribute then want to show that there.
0
votes
1answer
93 views

Not able to add Custom phtml file on Product Page - Magento 2.2.4

I can't able to add/include my custom phtml file on product detailed page. Here is my entire flow : Added the following code in app/design/frontend/Themename/themedirectory/Magento_Catalog/layout/...
5
votes
0answers
20 views

Magento 2 : Is there any idea how product will come in mailchimp after connect my magento with mailchimp?

I just need to use Product Recommendations block in mailchimp account. My magento store is already connected with mailchimp account but i can not seen any product inside this product block in ...
6
votes
2answers
1k views

Assign Inventory source while programmatically creating product

I have a custom script that read CSV and creates products programmatically, it was working fine with Magento 2.2.6, now I upgraded it to Magento 2.3, and with upgradation, I configured Multi-Source ...
4
votes
0answers
32 views

Sort by price is not working on magento 2

This is a website link https://magento-202257-609939.cloudwaysapps.com/catalogsearch/result/index/?product_list_dir=asc&q=wera I am developing for my client and after a search of any product when ...
1
vote
2answers
1k views

When i post a URL to Facebook I get html code showing in the post

When I post a link to Facebook I get the HTML code of the title showing in the post. As per this screenshot : http://prntscr.com/e858be Can anyone advise why and if there is a way to stop this from ...
0
votes
1answer
22 views

How to customize Add to cart functionality based on product categories in Magento 2?

I am using Magento 2.3.0 I have some products in my website which allows custom printing and these products are assigned in category "Printing Products". Now I want to customize add to cart ...
0
votes
0answers
7 views

Different image on Visual Image Swatch for every product variation

How Can I set different image visual swatch for every product variation? For example, I got 2 products with a different variation, but I want their variations with a different image, like in this link ...
4
votes
4answers
767 views

best practice to connect Magento 2 to price/product service

I have my own price/product service that I need to connect to Magento. The service has a variable amount of products with very variable prices. The price can change with every request a customer makes....
0
votes
1answer
826 views

Products still showing out of stock

Previously in my Magento store I had set the Qty for Item's Status to Become Out of Stock in the inventory to 5 so that if the quantity of the products reaches to 5 or below it should show as out of ...
1
vote
0answers
34 views

Button not work

Can u check my code please, ty when i press the button nothing happens I think error in "actions" public function modifyMeta(array $meta) { return $meta['general'] = [ ...
4
votes
3answers
146 views

How to show a category's products in shopping cart

Magento version 2.3 I want to show a particular category in shopping cart page using programming, instead of using backend widget settings. I have tried to modify the following files with no luck: ...
1
vote
2answers
62 views

Magento 2 how to add product dimensions using rest api

I can add simple products to Magento 2 just fine and adding the weight is no problem at all I do the following: $data = '{ "product": { "sku": "' . $row["item_number"] . '", "name": "' . ...
0
votes
0answers
11 views

Set Configurable Option Before Product Load

Is there a way to set a configurable product's option before the first page load? Right now we have a javascript script that selects the first option when the page loads but we'd like to avoid that ...
0
votes
1answer
29 views

Magento 1.9 - Add a tax free product to a specific product when adding to the shopping cart

When I add a specific product to the shopping cart, I want also automatically add a tax-free product to the shopping cart. Example Adding a watch(€500) with 21% tax to the shopping cart ...
0
votes
0answers
28 views

$_product->isSaleable() shows different value in list page and view page magento 2

Issue: Out of stock set at admin side. On product list page display "Out of stock" while detail page shows "Add to cart" button. I have print the $_product->isSaleable() function on list.phtml as ...
0
votes
1answer
39 views

Magento 2 : Show all categories of a product

Actual state: My products are in several categories. Thus, when I call a product from an over category or by searching out, only the following is displayed in the breadcrumb: "Start > ProductName " ...
1
vote
2answers
352 views

Remove default fields from Product Collection

I have a product collection object (Mage_Catalog_Model_Resource_Product_Collection). I am adding various attributes to the select via addAttributeToSelect(). How do I remove the default attributes e....
4
votes
1answer
1k views

Tier Prices with different product options

We're implementing tier prices in our webshop. We have a simple product with one customizable option 'flavor'. This dropdown has two options: strawberry and banana. We've added tier prices for this ...
0
votes
0answers
18 views

Magento 2 : Custom Option Price + Finale Price = Show Total in custom options itself?

Product Price: 100 USD Custom Option: Premium: +50 Custom Option: Exclusieve: +100 I want it to show: 150USD. (instead of +50) if i choose Premium and 200(instead of +100) if i choose exclusieve.
0
votes
1answer
23 views

Magento 2: Products Aren't Showing up. But they exist in backend!

I've added products in the backend even a test one. But they will not show up no matter what we do. We have already tried php bin/magento indexer:reindex in the SSH We have cleared the cache, It ...
2
votes
3answers
747 views

product image missing from backend after updating

After upgrading to Version 1.9.2.3 will not product images are displayed in the backend only in frontend. All run on a single web server with the same rights on apache user. Someone who can help?
0
votes
1answer
40 views

How to add/update product from magento 1 to magento 2 website [closed]

Website 1 - www.domain1.com (Magento 1) Website 2 www.domain2.com(Magento 2) If any product is uploaded on Magento 2 I want to also upload on Magento 1 it's possible?
1
vote
2answers
716 views

add animation button addtocart to top cart

you can add, when you click on the button "add to cart" an animation that brings the button or the photo product to the top cart. You must try to directly hand or there is something to be activated, ...
0
votes
1answer
21 views

Decimal Qty increment not working

I am not able to set qty increments as decimal (example 0.5) for product. can anyone help me on that.
0
votes
2answers
347 views

Magento 2: values of multiselect attribute don't ever change!

i have a multiselect product attribute, that when ever i change its settings and save, i get but the settings don't get changed. Here's the attribute's database values: I'm on magento 2.2.4, ...
4
votes
1answer
34 views

Magento 2 issue on category page and product page of “inventory_stock_1” table?

I am facing issue on product page and category page. Can any one suggest or guide me on this ?
78
votes
6answers
66k views

Difference between getSize() and count() on collection

I have heard many times that they both are the same. But I am facing a weird issue, in the product collection of CatalogSearch module, count() is returning correct product count while getSize() is ...
0
votes
0answers
23 views

Take by Magmi a Magento attribute value

I would like to add to a price I have in CSV a percentage that I have on an attribute (when I update the product). For example, in my CSV I have: sku price xx 18,08 On Magento I have a ...
1
vote
1answer
21 views

Getting Subcategories even if product count for each is 0

In my module, I am getting the current ID and then using the category repository and the "getChildren" method. This works great, except it doesn't return child categories with product counts of 0. ...
0
votes
1answer
33 views

How to display the product reviews without tab in magento 2?

I want to display the products review below the product without Tab. like this revies in the red box: Please suggest something for the same
2
votes
0answers
20 views

Variable product attributes

Magento 2.3 Is there a way you can change a products attributes depending on the choice of the first attribute. For example... I have 3 types of curtain rails Straight, U Shaped and L Shaped each of ...
3
votes
1answer
41 views

How to remove <br> tags from short description programmatically in Magento 2?

I am using Magento 2.3.1 I have 8000 products which are migrated from Magento 1. The issue is that the tags are added in short and long description in Magento 2. Please see below content for ...
0
votes
1answer
860 views

Getting the custom product attribute in the Checkout summary Magento 2

Hi i have a custom product attribute which for some reason we are using in place of name. I need to change this through out the site. I got success in getting this in minicart , product and cart page....
0
votes
1answer
722 views

Operator [backend] create unique cart link for customer - extension? code? method?

several times per day customers e-mail us: "hi, the coupon code is not working", or "I can't add 3 products to my cart" .... and more problems like that. Very often we send a step by step procedure ...
0
votes
0answers
22 views

Magento 2 referrer URL not working and also product not adding to cart

https://hofindia.com/hof/customer/account/login/referer/aHR0cHM6Ly9ob2ZpbmRpYS5jb20vaG9mLw%2C%2C/ This Url Not working and https://hofindia.com/hof/customer/account/login/ It's Working Also, ...
1
vote
1answer
76 views

Magento2.3 adding the products automatically to the parent category and to the subcategories which are on higher level

I am using Magneto2.3.0 I need this adding the products automatically to the parent category and to the subcategories which are on higher level If anyone idea reply me how to achieve this requirement....
0
votes
1answer
977 views

Magento 2 - override product attribute in product_form.xml

I've something like this: $eavSetup->addAttribute( \Magento\Catalog\Model\Product::ENTITY, 'test_att', [ 'type' => 'varchar', ...
0
votes
3answers
4k views

Magento 2: Get qty of added product in cart

I want to get total quantity of product added in cart by product ID. I use \Magento\Checkout\Model\Cart class to get all items in cart. $items = $cart->getQuote()->getAllItems(); foreach ($...
0
votes
1answer
17 views

Magneto 2.3.1 'Quantity source' becomes null when create product with the same name

I have Magento 2.3.1 setup and multiple products, When I am trying to create a new product with the same name, it is allowed me to create the product with the same name but the 'Inventory Sources' ...