Questions tagged [product-view]

Denotes questions related to the product view page of Magento.

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

Magento 2 Blank Screen Product Detail page

I added one product from Magento admin panel (Magento 2.2.2) Cleared cache and indexing, Product appears in search and listing page and you can even add to cart from Listing page. But when you click ...
0
votes
3answers
991 views

magento 1.9x layout setting - single product page

especially magento geeks, I need a lil help. how can I move in stock, price, color switcher & add to cart option above description, tags & custom tap? <?php $_helper = $this->...
0
votes
0answers
18 views

Magento 2 How to Move upsell block above the product details block?

I can't seem to figure this out, I want this upsell block to be right above the product tabs: <block class="Magento\Catalog\Block\Product\ProductList\Upsell" name="product.info....
0
votes
1answer
1k 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 ...
1
vote
1answer
29 views

Magento 2.3.4 Open tab on button click

I'd like to create, on the product page, a button that leads to a specific tab with id = "exampleid"like "Be the first to review this product". The phtml file is this: <?php // @...
0
votes
2answers
994 views

Magento 1.9.3 additional information under details

On the product view page the additional information is next the details. (tabs) I want the additional information under the details. So: Details Additional information Review
0
votes
2answers
2k views

Magento 2 Change order of Tabs on product page

I have added catalog_product_view.xml in the location app/code/design/frontend/kh/custom/Magento_Catalog/layout Set the priority for the tabs for the product detail page, but its is not working ...
0
votes
0answers
13 views

Displaying single configurable option in Magento 2

Background: I inherited a Magento site that was on 2.2.4 and we recently upgraded it Magento 2.2.10. The theme is a custom one created by the previous company and it extend the Luma theme. Actions: ...
2
votes
3answers
8k views

Add Cross sell block on product page

I'm trying to get cross-sell product on view.phtml. It is possible? I added <?php echo $this->getChildHtml('crosssell') ?> into view.phtml and <block type="checkout/cart_crosssell" ...
0
votes
1answer
25 views

need a category url in product view page

I have a product bag in home->products->men->handbag category path .I want hangbag category url in product detail page
10
votes
1answer
948 views

Magento 2 Product video is not displaying in front end with TypeError: window[this.configSource] is undefined

I have successfully uploaded/configured Youtube video for a particular product but the video is not showing on the front-end, even though I marked the video as the 'base,' 'small' and 'thumbnail'. I ...
0
votes
0answers
13 views

Hot to set maxSlide and minSlide in fotorama js Magento2?

I use the vertical fotorama slider in the product view, the slider has 12 thumbnails, I added maxheight": "400", to gallery.phtml and now the height slider is 400px, and for the first 4 thumbnails are ...
1
vote
1answer
1k 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 /...
5
votes
5answers
9k views

How to change div fotorama__stage height on product view page

How can I change height in the below code on Product detail page <div class="fotorama__stage" data-fotorama-stage="fotorama__stage" style="width: 462px; height: 372px;"> I have tried below ...
0
votes
1answer
1k 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 ...
0
votes
0answers
13 views

How to show custom product attributes under cart button on product detail page in magento2.3.3-p1

Now there is a custom product attribute named "lead_time" appeared as "Delivery Time" in More Information tab under product image, and I want to move it below add-to-cart button. I tried it by ...
3
votes
1answer
2k views

Magento 2 product review & rating

In Magento 2 product view page I want to do following things... Check if product has 0 or more rating. Get an average rating of product rating wise For e.g. Price : 2.5/5.0 Quality : 4.5/ 5.0 ...
2
votes
1answer
659 views

How to format the page title of a product view page?

Currently I'm doing some work on a Magento shop (1.8) and one of the problems the site has is that the SEO and page titles are very poor. So far I've managed to change all of the page titles and meta ...
0
votes
1answer
829 views

Magento 2 - Move Product Details Tab Accordion

I am working on magento 2.2. On the product page, there is a detail accordion before the related product slider. Though the accordion is on the left side of the page only, I want this tab structure to ...
0
votes
1answer
826 views

Detail page - Display configurable product's thumbnail images even when an option is selected!

So let's say I have a configurable product having an option of colour with 2 values: Black, White. I want to make the thumbnail images of the parent product stay, even when I select any colour. Here ...
0
votes
0answers
11 views

Magento 2 : Move short_description in product detail

I have a child of configurable product has short_description like this How can I show it before the price Any help? Thank in advance.
0
votes
1answer
672 views

Custom option of product not display in product view page?

I am using magento 1.9.2.4. version. I added some custom option for my test product. Please check this screen short But it's not showing in product view page I also use this code in view.phtml $...
10
votes
3answers
8k views

Change standard quantity on product page from 0 to 1 (Magento 2)

When a customer visits a product page, the order quantity is standard set to 0. I want it to be automatically set to 1, but I have no clue how to do this. How do you do this? Translation: Normale ...
0
votes
0answers
22 views

How to change product image size on category product view for a specific product only?

I am trying to change the image size for a specific product only without affecting other products, how do I achieve this?
1
vote
1answer
37 views

Remove the image slider in product detail page

I want to to remove the slider in images What I want it to be like :
0
votes
1answer
30 views

Image sizes in detail page size is too small Magento2?

I met one strange issue in Magento 2 - Product Detail page my product image display too small.I tried using view.xml inside my theme and tried using fallback view.xml.I'm using Blank theme as parent. ...
14
votes
1answer
5k views

Catalog Search: If only one result, show product view page insted of list view

My goal is to achieve the following modification in the Magento catalog search. When I search for a product and only one product is returned in the result collection, I want to display to product ...
0
votes
0answers
18 views

Magento2: How to move product.info.main container to Particulars product tabs like review tab?

How to move product.info.main container to Particulars product tabs like review tab ?
0
votes
1answer
45 views

Changing Title of Crossell's and Gaps Products Block

I implemented the extension development from Crosssell Products on Product Page with Magento 2 on Magento 2.2.0. It is currently running, but there are several modifications needed. The gap between ...
2
votes
3answers
2k views

Magento 2 : Move “catalog.product.related” block in product view

I'm modifying the layout of the product view. I'm trying to move and edit the product related block "catalog.product.related". In my catalog_product_view.xml I have : <referenceContainer name="...
1
vote
0answers
117 views

Fotorama thumbnail gallery is not smoothly scroll Mobile view in magento 2

I have change code in given path Themes\Yourtheme\etc\view.xml Replace: <var name="nav">thumbs</var> To: <var name="nav">dots</var> After cache clean ...
1
vote
0answers
29 views

Lazy load at the product reviews section in magento 2

I need to add lazy load feature on the product reviews tab instead of pagination if my product has more than 10 reviews. Thanks in advance.
2
votes
4answers
4k views

How to remove html head body tags in layout magento 2

Controller <?php namespace Test\QuickView\Controller\Catalog\Product; class View extends \Magento\Catalog\Controller\Product\View { } Layout quickview_catalog_product_view.xml <?xml ...
0
votes
1answer
72 views

How to call displayProductStockStatus() method from a custom block?

in catalog_product_view.xml of my theme I have a block like this `<block class="Magento\Catalog\Block\Product\View" name="extra.product.info" template="product/view/extra-product-info.phtml" after=...
2
votes
1answer
38 views

How to access a variable declared in a phtml from another phtml?

I have inserted two blocks in the catalog_product_view.xml file: <block class="Magento\Catalog\Block\Product\View" name="product.info.custom-product-attributes" template="product/view/custom-...
1
vote
3answers
238 views

Product View Page Header and Footer part is not Showing In Magento 2

On the website, home page header and footer showing but product page not showing header and footer part. How to fix it?
1
vote
1answer
30 views

How to add SKU in the attribute list in the More Information tab of the product view page?

I have added the following code to catalog_product_view.xml to show the SKU in the list of attributes inside the "More information" tab <referenceBlock name="product.info.details"> <...
5
votes
4answers
4k views

How can i get total view count of a product in Magento2?

I would like to load product view hit count for a specific product , i found that Magento database stores some counting in table e.g. report_viewed_product_aggregated_daily ...
1
vote
1answer
217 views

How to add a custom attribute to a product view in Magento 2?

I created the attribute with code "supplier" in my admin area, besides, I saved the file "mycustomblock.phtml" in "/app/design/frontend/{MyThemeName}/default/etc/Magento_Catalog/templates/product/...
0
votes
0answers
400 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 ...
2
votes
1answer
55 views

How do I add “Pay as little as $/month” on product view page based on the final price?

I would like to display what the monthly payments would be for our monthly payment option, based on the final price of the product (including configurable products). Here is a screenshot of something ...
0
votes
0answers
15 views

Magento 2 admin 2-column product details layout

Currently the backend product details view looks like this (v2.3.2): Is it somehow possible to change it, so that the "groups" like "Content", "Images and Videos", "Product Reviews", etc. are ...
0
votes
2answers
78 views

product detail page - move block to primary product container

I would like to move the static block (a custom block from infortis ultimo theme) block_product_secondary_bottom to the container_product_primary_1 container after product.info.price. How do I do that?...
0
votes
0answers
8 views

Add product price for configurable product

This is my catalog_product_view <?xml version="1.0"?> <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/...
1
vote
1answer
287 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
214 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"...
4
votes
1answer
1k views

Reviews not showing up on Product View (after upgrade from Magento 2.1.3 to 2.2.3)

After upgrading Magento from 2.1.3 to 2.2.3 my reviews are not showing up on the Frontend > Product View > Reviews Tab. The following container is empty (I assume the reviews should be supposed to ...
0
votes
0answers
20 views

Show search results from specific “FORM” in custom view.phtml template (view_custom.phtml)

In magento1 - I have this form on my web site: <form method="post" action="https://www.websitetest.com/tonersearch/index/search/" location=" " class=""> <div class="amfinder-vertical" id="...
2
votes
1answer
59 views

Add a 2 character prefix to the SKU on the product detail page

I've been trying without success to prepend the the SKU on the product detail page with 2 characters - R9. I've already added some customisations to the page using a catalog_product_view.xml but I ...
2
votes
3answers
2k 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" ...

1
2 3 4 5
9