Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
0
votes
2answers
3k views

Magento 2 Some configurable products not shown on frontend

I have noticed some of my configurable is not showing on the frontend, nor searchable. However, the product page is accessible directly with URL. These products which are not showing on the frontend (...
0
votes
0answers
8 views

Magento 2.3.x: Dropdown Tax Rule do not selecting correct Tax rate for product

Here I create a dropdown for the user to choose the tax rate, for the same country same state. but different store. Two different stores US and US1 for the common country (i.e. united states) https:...
0
votes
0answers
16 views

Set custom attribute value for a product programatically in magento 2 [duplicate]

I have created custom attributes for a product. I am doing product import programmatically. How to set value for the custom attributes programmatically in magento 2.
0
votes
0answers
24 views

How to convert drop-down into checkbox in Magento 2?

Fair and straight. Is it possible to convert drop-down to checkbox for front-end only after creating configurable products?
0
votes
0answers
26 views

How to solve Add to cart not working in Magento 2?

Our "add to cart" button are not working... When we click on the button, the page refresh then nothing. Any ideas? https://stage.shopunder.com
1
vote
2answers
758 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 ...
2
votes
1answer
942 views

Add select quantity options on product page Magento 2

I want to change quantity textbox to quantity dropdown on product page. I found solutions that work for magento 1 not for magento 2. There is less information/doc about magento 2. It's being very ...
1
vote
0answers
28 views

Inconsistent Product URL

I'm facing an issue in Magento 2.2.0 and Unero Theme 1.3.2 where there are products that have an URL like: https://example.com/catalog/product/view/id/440/s/product-url-key/57/ and the others are: ...
2
votes
2answers
479 views

Magento 2 : Hide Product Images Using Database

I have migrated my products from Magento 1 to Magento 2. How to hide bulk product images? For example, I have product with 4 images found on backend, I want only one product will display on frontend. ...
0
votes
1answer
29 views

How to get total default quantity stock in stock and salable quantity stock in product In Magento 2?

I want to get 2 values. 1. How much total quantity assigns to the product? example(50) 2. How much is the total quantity remaining for that particular product? Like if 50 quantity is there and if 5 ...
0
votes
1answer
1k 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 ...
0
votes
3answers
2k views

Is it possible to display the gross profit of a product as an attribute in the admin page of a product?

Simply looking to create an area/block in the admin area of a product page that displays what the current gross profit is on that product. I.e. calculating the difference between the cost price and ...
3
votes
2answers
2k views

Show available inventory on configurable product magento 2

I need on configurable product page to show available inventory of simple products,while selecting options, like price will change on option change in same way.
1
vote
2answers
2k views

Category has not been created. URL key for specified store already exists

I am trying to upload my stock through the Magento 2 admin panel via CSV. I am getting the following error: Category "Default Category/Aftermarket and Parts/Spare Parts/ Fasteners/Screws and Bolts/...
2
votes
4answers
798 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
2k views
0
votes
1answer
23 views

Product images not showing for some product - Magento 2.3

I am new to Magento, Facing some issue with product images : Total product count : around 550 1) On Product Detail page images are not showing for some product, showing error 500 in console. (/pub/...
0
votes
1answer
829 views

Display simple products of group as a grid/list view similar to category

I need to use grouped products because the products are vehicles and they have lots of sub models. For example Citroen Berlingo (grouped product) has sub models like: panel van crew cab 8 seater ...
1
vote
4answers
126 views

How to get a each product id in category page in Magento 2?

How to get a each product id in category page? I need to get the product id in custom module template file.
2
votes
4answers
16k views

“There are no products matching the selection”

In magento at my home page i have added the the product block {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}} {{...
2
votes
3answers
5k views

Magento 2: How to create configurable product Programmatically

I want to create a configurable product and assign some simple product to it. I have found lots of solution in the web but it's not working. Please let me know if any idea!!! Thanks
0
votes
5answers
257 views

Some products have catalog/product/view/id/2221/name-of-the-product from product URL magento 2?

In the Site, product URL is like this: http://www.test.com/product-url-key But when I searching the product then some product URLs are showing like this: http://www.test.com/catalog/product/view/id/...
1
vote
1answer
17 views

How to display Multiple price currencies in product page?

I want to display 2 currencies at a same time on product page, just like $50 and AED200 something like this : https://miatlantic.ae/ws-c3850-24t-s
1
vote
0answers
14 views

Magento2 Product Price For Widget is not refresh price with currency switcher

I have create one widget and display some products to that product, but while change currency using currency switcher , it does not change new currency
1
vote
2answers
2k views

Transfer all products from one magento installation to other

How can I transfer all product from one magento installation to another (both are 1.9). I tried to export all products and then import them in other store, but it failed. No product is imported. ...
2
votes
3answers
461 views

Magento 2.3 extreamly slow with over 100 cart lines

I am working in a Magento 2.3 installation with avarage cart size of 100-150 lines. Getting the visible cart items from Quote is slower over time ( as products count rises ) I've search thought ...
1
vote
2answers
58 views

Select different product packaging (select between different SKU's)

I would like to know if there is a possibility to select different product packaging options while viewing one of packaging types. My aim is to display all packaging options separately (to display ...
0
votes
1answer
1k 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
1answer
967 views

Magento SOAP v1 - updating product by SKU

I want to update product by it's SKU. I've found that it is possible to do with following code: $client->call($sessionId, 'catalog_product.update', array($product_sku, array( 'stock' =...
2
votes
3answers
3k views

Magento2 : Get Product Url for Store

I'm writing a custom indexer and I need to retrieve the product URL for different stores. $product->setStoreId(2)->getProductUrl(); still returns the URL with the admin store (backoffice) in ...
1
vote
0answers
30 views

How to add quantity increment and decrement button with catalog widget product Magento 2

I want to add custom quantity increment and decrement button with catalog widget product.
3
votes
1answer
1k views

Magento 2 - How to add dynamic-rows grid on catalog product

I am using Magento 2.1.5 I need to add dynamic rows grid on catalog product page I am using below di.xml for adding dynamic row on product_form app/code/vendor/module/etc/adminhtml/di.xml <...
1
vote
1answer
1k views

Magento:Save Product image from external url

I want to save a simple product programatically.I have used the following link http://inchoo.net/magento/programming-magento/programatically-manually-creating-simple-magento-product/ All fields are ...
0
votes
1answer
28 views

How I can set “Display Product Options In” via Magento2 Api?

does anyone know if you can set this option via Magento API I couldn't find anything in the documentation, and I'm too unable to find it in the source code https://devdocs.magento.com/redoc/2.3/...
0
votes
1answer
986 views

images loading too slow on product page

i am using the porto theme and images are loading slow even when they are small in size and the server is very fast. it happens in the product page.. what's the cause of this? is that related to the ...
0
votes
1answer
2k views

Magento2: How to get simple product color and size?

I'm editing app\design\frontend\Vendor\theme\Magento_Checkout\templates\cart\item\default.phtml This is what I'm trying to achieve: For configurable product, it shows color and size by default, but ...
0
votes
1answer
22 views

Disable URL redirection from catalog to product view in case of the error “The requested qty is not available” when adding too much products to cart

I can't figure where to find the code displaying "The requested qty is not available" and redirecting to the product URL when we add more product than the stock. [I'm using Magento 2.3.3 and custom ...
1
vote
0answers
22 views

Update product data in magento 2

I am trying to update product data programmatically through scripts. The data gets updated in database but not getting reflected in admin panel. I am using magento 2.3.2 Here is my code $product = $...
0
votes
0answers
22 views

How to fetch data from one database into Magento database

I want to create webservice which fetch products data from one mysql database and insert into magento database. When product added into a mysql database it should be added into magento database also.
2
votes
2answers
721 views

Magento 2 : How to get current product programmatically in a helper?

Could someone advise what's the best way to get the current product in a custom helper? Basically if I am a product page I need to get it's sku
0
votes
0answers
31 views

Magento 2 programmatically update products by processing feed (cron job)

I have looked everywhere high and low, and tried every "solution" I could find, but could not figure out what's wrong with my code. We have an XML feed which gets imported to a local folder, and then ...
2
votes
1answer
1k views

Magento 2 : Cart Total Not Updating

I added simple product with options programmatically into cart using this code. namespace Vendor\Extension\Controller\Customer; class Myclass extends \Magento\Framework\App\Action\Action { ...
2
votes
1answer
894 views

Need add to cart functionality on product list page. (attribute: size, quantity)

I need add to cart functionality on product listing page. On the product list page I have size and quantity box and add to cart is directly placed on the shopping cart page. Currently it redirects ...
8
votes
2answers
2k views

Magento 2 is there a faster way to change product media gallery entries programmatically

I need to do a massive update of product data but what I need to do can't be achieved with product import. In example I need to update media gallery and categories for given products, but the solution ...
0
votes
0answers
24 views

Magento 2.3 How to update product stock quantity programmatically in web serves

Magento 2.3 How to product stock quantity update in programmatically in web serves SoapClinet api request, I want to update multi products stock quantity.
0
votes
0answers
9 views

CheckoutSession throws error when chaning the price of the product in cart?

I am using $this->checkoutSession->getQuote() in one of my module. When I change the price of the product already added in the one-page checkout, from the admin and reload the one-page checkout $this-...
0
votes
4answers
1k views

IN STOCK FILTER FOR Magento 2 Product collection

i am trying to filter inStock product in Magento 2 Using I am trying to filter inStock product in Magento 2 Using \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory,...
0
votes
1answer
13 views

FREE SHIPPING configuration not working for diffrent products in cart

Magento2 experts. I need a help. I need FREE SHIPPING on 3 or 3+ products. I set in cart price rule. in Action- "Quantity in cart equals or greater than 3" When I add same 3 products to the cart, it ...
2
votes
2answers
1k views

Magento 2: How many products sold Query

For Product A have 100 qty., For Product B i have 200 qty. I would like to check how many products ordered for a particular product. Which table i need to look up & what will be the query to get ...
1
vote
2answers
830 views

Upgraded from 1.9.2.4 to 1.9.3 Bundle “Price as configured” Price Shows Zero

I just upgraded from 1.9.2.4 to 1.9.3 and having a problem with the Bundle "Price as configured" price. The problem is it always shows zero no matter which bundle sub-products are selected. It was ...

1 2 3 4 5 88