Questions tagged [product]

Denotes a question related to the Magento products.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 views

Magento 1 - how to check if product page is opened from search page results?

I've working on analytics. I am having some difficulty to have an idea if product is opened from search page or not. How can i determine it ? Thoughts are appreciated.
0
votes
0answers
8 views

Trigger event , when product comes from search

I want to trigger Product Viewed event , when product is viewed , but only for the product that comes from search results. Any idea how to achieve this ? Thank.
0
votes
0answers
10 views

Magento 1.9 Custom extension not displaying block in product view

I have been trying to display a custom template in the product view page in a simple extension but it only works for some references: product.info.additional, product.info.extrahint, product.tooltip ...
0
votes
1answer
14 views

How to add position to products in product listing comes from search results in magento 1?

I am trying to add a position attribute in product object in product listing which comes from search results. Anybody have any idea how do achieve this ?
0
votes
0answers
3 views

simple products dynamics price display base on tier pricing and quantity

Is there any reference that I can follow, so that my magento can update the price base on customer input quantity VS tier pricing. qty 1 = 10 each qty 3 = 8 each qty 10 = 5 each let say I have above ...
0
votes
1answer
12 views

Whats the Correct Product Type

What would be the correct product type to use for example we are selling a Printer. Then we want to add a dropdown for what Color of Printer Ink they want to buy. I don't think its a bundled product ...
0
votes
0answers
10 views

show text in item description for currently selected attribute

Magento 1.9.3 I have a custom piece of code in the description.phtml page for a product. This description auto populates if the item has attributes associated with it. This works well for my ...
0
votes
1answer
9 views

Can't read new product attribute in template

I added a new attribute to a product. The attribute is named "is_brand_new". The product shows in the catalog product view in the upselling and related slider. But the new attribute is not in the ...
0
votes
1answer
18 views

How to get multiselect attribute value of a product in magento 2

I have created multiselect custom attribute for product. See https://prnt.sc/sp7wgn I want to display the selected option value on frontend using phtml file. How can i do that??
0
votes
1answer
16 views

After shifting the website to another server. Products are showing out of stock

After shifting the website to another server. Products are showing out of stock I found the error while uploading the database file. CREATE ALGORITHM=UNDEFINED DEFINER=`user`@`localhost` SQL ...
0
votes
0answers
10 views

After shifting the website to another server. Products are showing out of stock

All product showing out of stock. I found the error while uploading the database file. CREATE ALGORITHM=UNDEFINED DEFINER=`user`@`localhost` SQL SECURITY INVOKER VIEW `inventory_stock_1` AS ...
0
votes
1answer
13 views

Add product to quote, if he has zero stock qty

How i can add product (for example with 10 qty) to quote if this product has 0 stock qty.
0
votes
0answers
19 views

Redirect Simple Products to their Configurable Parent with Attributes Pre-selected

Hey guys I am trying to Redirect Simple Products to their Configurable Parent with Attributes Pre-selected and I followed Daan's guide. The Observer is as follows: <?php namespace DaanvdB\...
0
votes
0answers
15 views

How to remove Specific Category name from URL when product is load

Can it possible to Remove Specific Category from URL when Product is Load. For Example, if Category Name Like this Product Subject Presenters 1) when we click in Product Category Load all ...
0
votes
0answers
13 views

No simple products showing on frontend

My product (approx 1000 product) is not showing on frontend. I have tried to clear cache and reindexing but still after that I am not getting my product in frontend. Currently I am using Magento 2.2.2 ...
0
votes
0answers
14 views

Item with the same id “2011” already exist

I am getting this error when i try to sign in as a customer. What is the reason behind this. I checked there is no duplicate entry for the record id 2011. See error in details here https://prnt.sc/...
0
votes
1answer
32 views

Magento 2.3.3 increment and decrement for Product page adds to all product

I have been successful in adding code to the file addtocart.phtml to have increment and decrement. I had read to add the same code to grouped.phtml to have the option on the grouped page. the boxes ...
0
votes
0answers
12 views

Getting the parent category of a given product

So, this is how I get the category of the current product: $categories = $item->getProduct()->getCategoryIds(); Since I set only one category to each product, this is how I get its parent ...
0
votes
0answers
12 views

Toggle Visibility of Info in Individual Product Pages (Magento 2.3)

If I simply wish to enable or disable the visibility of certain pieces of information on an individual product page, must this be done by a developer editing the template or related files as mentioned ...
0
votes
1answer
20 views

How add new button to grid product

I want add new button near Add Product button in grid product in backend.
0
votes
0answers
9 views

Provide downloadable link on Product Purchase in Magento 2

I have a website in which downloadable products are their on ordering a product i want to provide a downloadable link for that on product order success page. Is there a way to provide that in Magento ...
0
votes
0answers
22 views

Magento 2 - Unable to change category products position

In Magento 2.3.0, I try to change position for category products. In admin, each position is set but in the frontend, nothing changes. Even after clear/flush cache and reindexing. Do you know how ...
1
vote
0answers
19 views

Configurable Product - Disable and grey out out of stock

I've seen some posts about this but can't get to a conclusion. In a configurable product with dropdown all option appears (in stock and out of stock), what I need is to disable the ones out of stock ...
0
votes
0answers
22 views

anyone know where is the value came from?

Anyone know where this value came from? I have no idea why it is showing... Please help
0
votes
0answers
19 views

Default Add To Wishlist is not appearing in product detail page in magento 2

Move to wishlist option is appearing in cart page but in product detail page Add to wishlist is not appearing. In the backend, it didn't disabled wishlist options but still, it is not displaying in ...
0
votes
1answer
27 views

How to Use Cookie-free Domains and Expire Headers in Magento Site

Hallow Guys ! I did run speed test on my sites and most of the results shows that "Add Expire Headers" and "Defer parsing of Javascript" "Use Cookie-free Domains " If anyone know kindly help me ! ...
0
votes
1answer
10 views

Change order of widget catalog products list

I have a product in my product list, which must be at the top. After I have extended the product list, the product is unfortunately no longer at the top. I add the product list via the widget catalog ...
1
vote
0answers
26 views

Memory leak in product save loop

I'm trying to import ~5000 products from XML, but the execution time and memory usage increases in each loop, resulting in a long import process. Test code to demonstrate: <?php namespace Test\...
0
votes
1answer
14 views

Magento 1.9 product Zoom issue

I am facing an issue with our product zoom functionality. You can see under zoomed image we can see qty + and - signs clearly. Can someone assist me with how to fix this?
0
votes
0answers
17 views

Magento 2 Delete download file from downloadable product via csv

I want to update my downloadable product via csv by removing current assign downloadable file and assign new file to the product as shown in screenshot I want to delete this test_image2.zip file and ...
0
votes
1answer
18 views

I getting the Error on product page magento 2.3

I tried to update the product using REST API but it shows the page this like i can't recognise the error please any one help to resolve it. Header : rest/all/V1/products/SKU My API : { "product":{ ...
0
votes
2answers
22 views

Magento Cloud reindex fail elasticsuite

I try to reindex my Magento Cloud and caught below error. Anyone whats wrong with the ElasticSuite web@mymagento.0:~$ php bin/magento indexer:reindex Design Config Grid index has been rebuilt ...
0
votes
0answers
17 views

Magento 2 want to display both reviews & ratings

I would like to display both reviews & wite a review section can u plz advise. But in M1 anyone can only display but I want to display both.
0
votes
1answer
34 views

How to add <h2> tag to the product tabs in Prodcut detail page in magento 2

I have 4 custom tabs on the product detail page. How to add the tag to the tab heading. catalog_product_view.xml <block class="Magento\Catalog\Block\Product\View" name="magneticBallastTable.tab"...
0
votes
0answers
12 views

Product custom attributes not updated - Magento 2 REST API

I'm using Magento 2.3.4 CE. I used the below JSON to update the product custom attribute part_number in swagger. { "product": { "sku": 678899, "name": "Product name", "attribute_set_id":...
0
votes
0answers
19 views

How to show all product in catalog page ? Magento 2

I need to show all products with a layered navigation filter, or is it possible to show the root category as a parent category, where all categories will be displayed in layered navigation. So to ...
0
votes
0answers
12 views

Magento 2 : How to show Sold Out for Configurable and Budle Product on product listing page

I want to a show Sold Out Label on product listing page, when any of the option not available for configurable and bundle product.
1
vote
2answers
21 views

In this Model what they are mentioning as getTypeId()

In this Model they had mentioned the getTypeId() but for what they mentioned as type id i can't understand can anyone please explain me. $orderItem->getProduct()->getTypeId() what will be the ...
0
votes
0answers
11 views

Nesting Pruduct details default block in my custom block

I would really appreciate a hand here - thanks in advance for any tip, I'm fairly new to Magento's layout structre. I've created a custom block via backend. In that block, among other things, I would ...
2
votes
4answers
182 views

How to update the attribute scope programmatically in Magento 2

I have 20 product attributes. I need to change those attributes' saving scope to "Global". How can I achieve this?
0
votes
0answers
11 views

Magento 2 Custom grid join with product table filter is not working

I've created a custom grid using Ui Component, In my custom table I have a product_id, So instead of showing the product_id, I like to show the product name in my grid so that I have added the below ...
0
votes
2answers
19 views

Magento 2.3 insert a product into a specific store

i have Magento 2.3 and i create three different store view with different ID. After i created a product i can change the price, the name ecc... by the select on the upper-left. But when i create a ...
0
votes
0answers
14 views

Search for products in Magneto 2

when i search in admin so i have show results only 1 and i search same product name and sku so i have multiple results. Screenshot: anyone plz help me how to solve. thanks
0
votes
1answer
36 views

How to get product attributes detail in magento 1.9

I want to get the product custom attribute value for all the products in each order. How can i get the product attribute value using both order id and product id in magento 1.9
0
votes
1answer
23 views

What is the best practice to save a product by its id ? Using factory or repository? [closed]

Save product by its id in magento 2. What is the best practice in use ?
0
votes
1answer
16 views

How to remove the attribute element in the layout in magento 2

I wish to remove the attribute element in the catalog_product_view.xml file I have tried below <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
21 views

Transfer values from product view to checkout

I have customized the Product View page with different settings. For example, the customer can choose whether he wants a special delivery type or how long he needs the device. The selection also ...
0
votes
1answer
25 views

Magento 2 - check if product is new

How can I check if a product is new in Magento 2? I found this solution for Magento 1: function isProductNew(Mage_Catalog_Model_Product $product) { $newsFromDate = $product->getNewsFromDate();...
0
votes
2answers
26 views

Can't load current product

I try to load the current product in gallery.phtml Helper (app\code\Company\Base\Helper\Data.php): ... use \Magento\Catalog\Helper\Data as CatalogHelper; class Data extends \Magento\Framework\App\...
0
votes
2answers
40 views

Why titles for Description and Short Description not showing on Product Page?

I have Description and Short Description, I see the values of these attributes, but I do not see their titles. Why? I tried to set the titles by doing: app/design/frontend/MyTheme/Magento_Catalog/...

1
2 3 4 5
91