Questions tagged [product-view]

Denotes questions related to the product view page of Magento.

127 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
1answer
1k 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 ...
4
votes
0answers
741 views

Magento 2 fotorama slider show more than 1 image at a time

I want to show 3 product images at a time on Product detail page. Here is the example image: But fotorama image only show 1 image at a time on slider. It doesn't have slides or items options to set ...
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 ...
3
votes
0answers
216 views

Magento 2 : Cannot disable page cache of Product Detail Page

Tried to set cacheable="false" in a block in catalog_product_view.xml. But the product detail page is still being cached. I just want to disable the cache of the Product Detail Page. How can I do this?...
2
votes
0answers
807 views

How to create a custom product view page in a custom url in Magento 2

I need to create a custom product view page in a different custom url. So, i created a custom module for this. But it didn't loads configurable, grouped, bundle swatches. Added the module below: ...
2
votes
1answer
121 views

Disable keyboard navigation from product detail page?

I want to disable keyboard navigation of tabs from product details page which is on below gallery with tabs Details, Reviews & custom tab. You can check below link for the tabs http://...
2
votes
0answers
145 views

Magento 1.9 Downloadable Product: Show download link except of add to cart in product view

I'm a little bit disappointed how the product type downloadable works in magento. I'm really wondering why you can buy a downloadable several times (i know you don't have to but it just looks like ...
2
votes
0answers
29 views

Integrate a Micro Shop in a CMS out of Magento

We have a Magento 1.9.3 with different store views. Now i want to integrate a Micro Shop with only a few products on a partner website. It should show the product grid, the product detail grid and the ...
2
votes
1answer
254 views

Help create a block to insert view.phtml

Help create a block to insert view.phtml. I have a layout file that outputs to buy in one click in the right column. I need to put this block alongside a buy button. <checkout_cart_index> &...
2
votes
1answer
663 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 ...
2
votes
0answers
136 views

404 error on to many products in cart

I have limited the max qty of one of my products to 3. If i try to put 4 of this product in my cart it just shows me a 404 error. I can't find why it does behave like this. I'm validating the qty ...
1
vote
0answers
50 views

Product view page: How to Display Product Images per Selected color

Beginner on Magento 2, i'm creating a Product view Page, and i'm having Problems to DISPLAY the Product Images, i just want to Display the images of the SELECTED COLOR, but it ONLY SHOWS the ...
1
vote
1answer
44 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 // @...
1
vote
0answers
32 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.
1
vote
0answers
195 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
1answer
409 views

Magento 2: Add To Cart button

In magento 2 i have tried moving add to cart button on product view page its moving along with swatches, now if i move back swatches to default place then my add to cart button is not working can any ...
1
vote
0answers
36 views

product options variation

I am looking to present custom-options as a link to another product. Maybe someone will be able to tell me, or maybe there is an existing module/tutorial that will help me implement this. Example: ...
1
vote
1answer
335 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. ...
1
vote
0answers
49 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. ...
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 /...
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 ...
1
vote
0answers
235 views

Magento 2.2.1 404 not found error when switch store on product detail page

I am working on Magento 2.2.1 and I have configured multiple store view Hungarian and Romanian. When I switch store from Hungarian to Romanian on product detail page I am getting 404 not found error. ...
1
vote
2answers
343 views

Different/Custom page layout for specific category/products

I encountered the situation where I needed to use a slightly different/modified view.phtml, list.phtml and page template for specific category, so I found the following solution: I had used the ...
1
vote
1answer
661 views

Move product attributes inside details tab

Using the Luma theme. On the product page I want to move the "More information" content where it lists the attributes, into the first tab "Details". I tried to use XML in catalog_product_view.xml ...
1
vote
0answers
163 views

Magento 1.9 - Update product price using jQuery

I am using a jQuery script to add static price to the product's regular price on the product detail page. On the product page, the price is updated, but the price is not updated in the cart when ...
1
vote
0answers
271 views

Jump to review-form tab from magento product view

In my magento 1.9.0.1 store I correctly have the review-form in tab, on product page. If i click on "review link" in rating box I go to product review page. I want go to review-form tab on same page ...
1
vote
1answer
528 views

Tier prices not displaying

Ive installed a new magento theme/template from Template monster and I updated my magento to the latest 1.9.3 version of Magento and then installed. Ive noticed that My tier prices dont show on the ...
1
vote
0answers
244 views

Configurable Attribute selection based on previous configurable attribute value in Magento 2

I have a configurable product with 4 configurable attribute, and this configurable product has 1000 of values in each configurable attribute. So my simple products of above configurable product ranges ...
1
vote
0answers
369 views

Product review form with image field Magento 1.9.2.4

How to get product review form with image field section in View page review section
1
vote
0answers
92 views

Display and Change tax rate according to custom option change

I want to display tax rates and want to change tax rates according to product custom option attribute change in magento product details page, can any one help me about it?
1
vote
0answers
513 views

How to enable magnifier on iPad in Magento2?

I want to enable magnifier in iPad device, this is my view.xml code: <var name="magnifier"> <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)--> &...
1
vote
0answers
40 views

How/where to add string in product details page media full screen in Magento 2?

How can we add text in product details page Full screen section as mentioned in the below image. Help would be appreciated.
1
vote
0answers
226 views

Product Attribute sorting not applied when attribute relies on another

I'm currently building a site in Magento 2 and am trying to get sorting working for product attributes on the product listing page. I have a Size attribute which doesn't respect the sorting specified ...
1
vote
2answers
490 views

Get product attribute in product view page tab

I want to show some product custom attribute in product view page at TAB like following image. So far I've tried following <?php $_product = $this->getProduct(); ?> But it return with NULL ...
1
vote
0answers
435 views

Additional images not showing in product details page- magento 2

Facing problem while displaying additional images in magento 2 product details page, only showing base images but in backend images are there, do I need to write any separate api for showing ...
1
vote
0answers
42 views

Magento Custom Category Layout on search results?

I've activated a custom design layout on a category, which loads up a different product view page for all the products within that category. It works well, but when searching for a product and then ...
1
vote
1answer
546 views

Display tabs on product display page horizontally

I am using magento 1.9.2.3, I want to display the tabs(i.e., Description, Review, Videos etc) in the product display page horizontally. The tabs are currently being displayed vertically. My website ...
1
vote
0answers
367 views

Pin it button error : Invalid source URL

I am using below methods to generate pinit button protected function getPinterestHref() { $params = array(); $url = 'url=' . $this->getProductUrlShared(); $params[] = $url; $...
1
vote
0answers
497 views

What's the use and impacts of calendar.js in mage 1.9.x

We are using CE 1.9.2.2 currently and I am desperate to get rid of the calendar.js-es and .css-es in my layout file. I'm not sure what they are used for but all I see is a large bloat of unnecessary ...
1
vote
0answers
269 views

show discount price on product view after apply coupon code by url

i wrote an extension to auto apply coupon codes by url. this works great. now i want to redirect to an url specified by myself where one or some products for this coupon are shown. so my question is: ...
1
vote
1answer
409 views

Would like to display grouped products in a table layout, but also with a price / quantity discount visible

My questions refers to CE. I'm putting a new store together and I would like to display grouped products in a table layout, but also with a price / quantity discount visible. As an example of what I'...
0
votes
0answers
15 views

Make product data tabs collapsed by default

I want all product data tabs on the product details page to be collapsed by default. I edited this line in app/design/frontend/<Namespace>/<theme>/Magento_Catalog/templates/product/view/...
0
votes
0answers
9 views

Why can't product weight be displayed on a category page while other attributes can?

I'm trying to display the product weight inside the category pages next to the price. I can display product name, price, id, url, etc, but not weight! To achieve this I overrode final_price.phtml and ...
0
votes
0answers
11 views

Magento 2 center align product view page image

I have resized all images but still I can't vertically center align the images in product view page. Please take a look at the image. I now we can achieve it using css but I'm willing to know is there ...
0
votes
0answers
10 views

small_image, image not generating for products in magento 1.9

The below code snippet not working for list.phtml and media.phtml: <img src="<?php echo $this->helper('catalog/image')->init($_prod, 'small_image')->resize(47,47); ?>" ...
0
votes
0answers
14 views

Add email field client review form

I would like to add a new email field in the review form, and this fild will also appear in the admin catalog_product_review. I have already looked at several topics and did not get results. the ...
0
votes
0answers
57 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
0answers
18 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: ...
0
votes
1answer
26 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
0
votes
0answers
24 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 ...