The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [product-view]

Denotes questions related to the product view page of Magento.

121 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
647 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
1answer
836 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 ...
4
votes
1answer
478 views

How to disable magnifier of product image on mobile devices in magento2?

I want to make magnifier disable in mobile device, I have tried below code in view.xml file but not working in mobile devices. <var name="breakpoints"> <var name="mobile"> ...
4
votes
0answers
613 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
186 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
481 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
61 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
127 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
1answer
479 views

Magento 2 product detail page detail tab vertical

I want to make product detail tab vertical instead of horizontal.
2
votes
0answers
27 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
232 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
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="...
2
votes
1answer
637 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
126 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
34 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
141 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
43 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
925 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
181 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
266 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
0answers
122 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
181 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
416 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
215 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
359 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
86 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
498 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
35 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
219 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
391 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
417 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
41 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
489 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
309 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
486 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
257 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
408 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
14 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="...
0
votes
1answer
65 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 ...
0
votes
2answers
29 views

product view count table in database magento 2?

I have to write code for getting product count.it is working fine but i want to know where the count record comes? public function getProductCount($id) { $prodData = $this->_prodCollection-&...
0
votes
0answers
15 views

Ajax call on product view page and that ajax calls on page load in magenro 2

I have different ajax call on product view page and that ajax calls on page load. when I try to do add to cart it waits for that ajax calls to be completed first before process the add to cart. so ...
0
votes
0answers
23 views

M2 - Get attribute group name

With the code below I can load all the attributes from a specific group, in this case attribute group with id: 37 <?php $av_attribute_group = $_product->getAttributes(37); foreach ($...
0
votes
1answer
47 views

Magento 2 increase product views count

In Magento 2.3 how to programmatically increase product views count?. I need it to increase the product views count when the product is viewed on an mobile app.
0
votes
2answers
116 views

Magento 2.3 - Get product detail by Id

This is my page(My_history) From this page, I want to display detail of each product by each id when I click on link View order, not just one Id is array example, I had researched in the folder, ...
0
votes
2answers
96 views

How to move the “IN STOCK” above Add to cart button

How to move the Stock availability (In Stock) next to the Quantity button.
0
votes
0answers
8 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 a different variation, but I want their variations with a 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
9 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