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-view]

Denotes questions related to the product view page of Magento.

0
votes
0answers
4 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 different variation, but I want their variations with different image, like in this link ...
0
votes
0answers
10 views

show certain products in a category on home page in magento 2

I added a widget on a homepage and selected a categories from a drop down to include some items from a category (73)- I have 5 items to show up. I am not sure why but it only displays the 5 oldest ...
0
votes
0answers
8 views

Magento2.3 I am using AMP validatore tools in getting error on product side

I am using AMP Validator tools login after getting product side some warning errors showing so please if anyone know this type of please reply me. In AMP validator warning display here
0
votes
4answers
7 views

How to set qty number to add to cart on product page

How to set certain number when the product page loads up. Default level when you click on a product the add to basket quarry is always one how to change that to different value for each store. I know ...
4
votes
3answers
44 views

How to Find out where it Is made Breadcrumb Array in Magento 2.3.1

where it Is made Breadcrumb Array in Magento 2.3.1? In Detail page has show Breadcrumb but i m not able to find where it Is made Breadcrumb Array Can somebody help me? Thanks
2
votes
2answers
170 views

cant override a addtocart.phtml file in custom module in magento 2

How to replace a custom text (from backend) for add to cart button and stock availability in product view page in my custom module magento 2 Updated app\code\Cm\Preorder\view\frontend\layout\...
0
votes
0answers
20 views

PDP page throws Exception #0 (OutOfBoundsException): No element found with ID 'releases'. in mageno 2

While opening Product detail Page,throws below exception Exception #0 (OutOfBoundsException): No element found with ID 'releases'. Please provide me a solution in mageno 2
0
votes
0answers
32 views

How to move my custom container after add to cart button in magento 2

How to move custom container (product.info.extrahint) after add to cart button in product detail page in magento 2 catalog_product_view.xml <referenceContainer name="content"> <...
1
vote
1answer
39 views

I wish to add the new div in PDP page after price section in mageno 2

I have added custom div in /var/www/html/pot/app/design/frontend/pot_customization/Magento_Catalog/templates/product/price/amount/default.phtml. The div displays for all the products and works fine. ...
0
votes
1answer
33 views

Magento 2.2.6 how to develope loggedin customer only show price in website

I am using Magento 2.2.6 I need to customize and if any plugin available for logged-in customer show only price not show for guest user in Magento website. if anyone idea reply me. I have try to one ...
0
votes
1answer
32 views

While opening PDP page throws exception in magento 2

I have imported product options in magento 2 But It throws following error, Please provide me a solution 1 exception(s): Exception #0 (Exception): Warning: Invalid argument supplied for foreach() ...
0
votes
1answer
65 views

Product Page 404 error, after moving website

I have created a testing version of my website, in the same server, but using a different domain name. Frontend and backend works ok, but product pages redirect to 404 page error I have tried: ...
1
vote
1answer
25 views

Disable the Sidebar on Product View Page

I’m using Porto 3.1.6 for Magento 2.3. In the product view page on mobile, there is a sidebar that is shown when pressing an arrow on the right. Please see the attached images to see what I am ...
0
votes
1answer
23 views

Specific view page for products (product info) from specific category in Magento 1.9

We devided all the products into two categories: "Main products" "Accessories" All listed products from the category "Main products" are opened with our custom template: catalog/product/...
0
votes
0answers
39 views

Magento 2.2.7 - Issue With Configurable Product Details Page having more than 20 associated products - MageMojo, Nginx

We are receiving this error on opening a configurable product in the frontend. The configurable product having 20+ associated products. The issue is not there with other products having less number of ...
1
vote
1answer
120 views

How to move sku in price block in product detail page and how to move title in magento 2

How to move SKU in price block in product detail page in Magento 2 screenshot i was tried with below code <move element="product.info.sku" destination="product.price.tier" after="-"/> and ...
2
votes
3answers
326 views

In magento 2 How to customize a sidebar additional in product details page?

In custom theme how to customize a sidebar by our requirement in product detail page. please refer the screen shot
2
votes
3answers
131 views

How to customize a product details page in magento2?

In magento 2 how to customize a product detail page in custom theme. app/design/frontend/companyname/themename/Magento_Catalog/layout/catalog_product_view.xml <?xml version="1.0" encoding="...
0
votes
0answers
48 views

Why blank space appear in body layout in magento 2?

Blank space shows top a product details page, Please someone help to how to recover it. Update: I realized i had a mistake in below file vendor/magento/module-catalog/view/frontend/templates/...
1
vote
2answers
73 views

Magento 2 add custom static block on product detailed page next o addtocart button

I am working with the Magento2, in that, I like to add a custom block on product detailed page, next to add to cart button. for that, i wrote the below code on catalog_product_view.xml <body&...
0
votes
0answers
14 views

Product Details Page Displaying Blank Invalide Cache Type magento 2

main.DEBUG: cache_invalidate: {"method":"GET","url":"url/admin/cache/index/key/7f0570c5083f7252e95eddbf527ae6fbcd46363a1d0870ba82442c817dc83ab4/","invalidateInfo":{"tags":["interception","CONFIG"],"...
0
votes
0answers
18 views

How to display product view on another page in Magento 2.3.0

I need to display a full product view just like you see when you click on a product thumbnail, but I want to be able to show it on a different page that already has other content. Specifically, I plan ...
0
votes
1answer
21 views

select product details page options if dropdown has one value in Magento 2.1

I want to select the options in each dropdown in product details page if it has one option. for example dropdown : 1 (option) dropdown : 2 (option) dropdown : 1 (option) Then on the selection of ...
0
votes
1answer
37 views

how can I get all product of a category in a custom page in magento 1.9

I have created a custom sub category page, in which I'm calling all the sub-categories, now i want to show product of each sub-categories in the same page how can I do that. This is what I do to get ...
0
votes
1answer
55 views

Magento 2 Product tab link

I'm trying to add an product tab which only functions as a link href predifined in a custom block. No tab content is needed. I tried the following: <referenceBlock name="product.info....
0
votes
1answer
47 views

How to add custom js file for PDP page in magento 2

I wish to include custom js file in PDP page in magento 2. I wish to do some action while product has some options. Please provide me a solution to add custom js in PDP page
0
votes
2answers
30 views

How to add class if a product have Customizable Options in Product Details Page in magento 2

I have two types of products in my site Type 1 :products with Customizable Options Type 2 :products without Customizable Options I wish to add one custom class(for css purpose) to the products which ...
0
votes
0answers
50 views

Magento 2 How to make changes to Bundle product edit detail page?

I want to make some changes to bundle product detail page. I found a module in my theme which has this Reference Block for bundle addtocart . Magento_Bundle/layout/default.xml <?xml version="1.0"...
0
votes
1answer
550 views

how to get current products custom attribute value in block(phtml) to display in products details page magento2?

Here i am trying to get current products custom attribute value in block(phtml) and after that i want to show these custom attributes values in products details page using block,phtml file ...
0
votes
0answers
233 views

Get all product attributes on product detail page magento 2

I am trying to gather product attributes on the product detail page. We have the default attributes disabled through xml, and are trying to load them from within a custom phtml template file. I am ...
0
votes
1answer
41 views

Changing layout of product view

For some products (same category) we need a different layout. How can I get this new layout only for those products. I know where to find the view.phtml and to adjust is, but how can you select the ...
0
votes
1answer
26 views

Show message for disable product : M2

Is there any way to show any message for disable product at product details page? When i search product name in google, it gives product URL in search result. When product is disable at that time it ...
1
vote
1answer
35 views

Magento 2 : How to show on product page, how many times product has been added to wishlist in single store

On product detail page how many times a particular product has been added to Wishlist for simple product and configurable product in single store environment? Trying below mentioned code: Di.xml is ...
0
votes
1answer
88 views

Magento 2: Internal link on product detail page to tab

I have a series of custom tabs on a Magento 2 product details page that were setup via the catalog_product_view.xml file. I am trying to setup a button that will allow me to link from the short ...
0
votes
1answer
162 views

Magento 2: Display manufacturer on product view

I have my custom "sidebar_brand.phtml" in "catalog_product_view.xml". <container name="right.product.container" as="rightProductContainer" label="Right Product Container" htmlTag="div" htmlClass="...
1
vote
0answers
37 views

Magento : Related Product issue

I have added related product to one simple product it's all are display in product detail page but it's not display with checkbox for select so that i am not able to add that product to cart. ...
0
votes
0answers
30 views

How to make Single Product URL

Magento Version: EE 2.2.5 In my store product detail page is accessible using three urls: 1) https://www.domain-name.com/L1category/L2category/test-product 2) https://www.domain-name.com/test-...
0
votes
0answers
91 views

Magento : Please specify the product(s) quantity

I have one simple product in that related products tab i have added 8 products. i can see that products in bottom of this product detail page with checkbox like select all product to add to card. ...
0
votes
0answers
148 views

Product page layout is not working for simple product in Magento 2?

I am using Magento 2.2.3 I have created customtheme in this theme I have created below layout file for product detail page: app/design/frontend/My_vendor/my_theme/Magento_Catalog/layout/...
0
votes
1answer
431 views

Magento 2 - how to set final price for product on view page

Magento frontend product view page i need to set custom final price, how to set? I tried Magento\Catalog\Model\Product\Type\Price.php in this file getFinalprice function but not working with plugin ...
1
vote
1answer
657 views

Magento 2.2.5 - Unsupported image format on product detail page

I am using Magento v2.2.5 and I am getting error on product detail page. 1 exception(s): Exception #0 (Exception): Unsupported image format. Exception #0 (Exception): Unsupported image format. #0 /...
4
votes
2answers
221 views

Load custom product detail page instead of default in Magento 2

I am trying to remove default product detail page content, can i load custom phtml file for product detail page along with the image? I need to remove all the default blocks of product detail page ...
0
votes
1answer
184 views

How can I change more images thumbnail image placement on product page?

I want to show more views images thumbnail in the left of the main image. Anyone please suggest me how can I do that.
0
votes
1answer
163 views

How to display products from a specific category on product view page in Magento 1.9.0.1

What I tried to archive is: Display a product list in a slider on product view page. The product list is from another category and all products in this list are not related to any other products. I ...
0
votes
2answers
33 views

I want to create a custom tab on product view page in magento 2

I want to create a custom tab on product view page in Magento 2 and inside that tab I want call phtml files of another modules <referenceBlock name="product.info.details"> <block class=...
1
vote
0answers
24 views

Magento 2.2.5 Add product custom fields in view page

In Magento 2.2.5, I need to achieve the following: In product detail(view) page, I need to add the mandatory from date, to date and Comments fields. That should be added in the order Details and also ...
0
votes
1answer
149 views

Magento2 Hide Custom Tab based on Condition

I have created custom tab in Magento2 in my Custom module. The code used to make tab was using xml like - <referenceBlock name="product.info.details"> <block class="...
2
votes
1answer
198 views

Magento 2 : How reduce size of fotoroma gallery icons on product detail page

I would like to reduce size of following icons appearing on detail page, enabled native fotoroma widget. 1. Fotoroma plus icon and minus icon 2. Fotoroma close icon <var name="magnifier"> ...
2
votes
1answer
231 views

How to add a remove link on product detail page, if it's already added on wishlist in magento2?

I want to add wishlist remove link if product is already on wishlist in Magento2. I have tried but it's not working when fullpage_cache is On 1. 2. 3.
1
vote
2answers
281 views

image resize in Magento 1.9

Right now when I upload an image into a Magento product at 920 x 1380 and I go to the Product display page it displays the image at 500 x 750 it scales down the image in proportion The end Image ...