Questions tagged [product-view]

Denotes questions related to the product view page of Magento.

Filter by
Sorted by
Tagged with
23
votes
3answers
52k views

Change product image for configurable products

I was looking for a way that let me change the product image based on the attribute selected for the configurable product. e.g. Configurable Product With Color Options : 1) Red 2) Green If the Red ...
18
votes
6answers
24k views

Remove “product information, reviews, tags” block from product page

I am trying to remove a certain block from my product page in Magento, but can't seem to find where I should delete it. I think it's somewhere in the XML files, but since I'm not that good of a web-...
15
votes
2answers
51k views

call static block in view.phtml insted of phtml file

we are displaying text field in view page to check COD availability. view.phtml echo $this->getLayout()->createBlock('core/template')->setTemplate('checkdelivery/checkdelivery.phtml')->...
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 ...
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 ...
10
votes
2answers
1k views

Magento event to calculate price when custom option text field changes

I am trying to create a product with two custom text fields: Length and Width. When the user types in both a length and width, the price needs to calculate via custom formula. I'm trying to find the ...
10
votes
1answer
894 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 ...
9
votes
3answers
22k views

How to remove zoom from product details page on 1.9 RWD theme

How do you remove the zoom feature from Magento 1.9's rwd theme? I can remove it with css div.zoomContainer { display: none; } But I don't think this is the best method? It would be better to ...
7
votes
5answers
15k views

Add Review Form To Product Page Magento 1.9

I'm looking to move the product review form from /review/product/list/ to the product page, underneath existing reviews, on Magento 1.9.0.1 using a child theme of RWD. This is the original review tab ...
7
votes
2answers
5k views

How to add “Buy Now” button in Magento 2.1? [closed]

I need help to add "Buy Now" button on the product detail page. Thanks.
7
votes
3answers
3k views

How to get simple product id of configurable product on Product details page

In product details page when user choose like color and size it returns simple product id of that
7
votes
2answers
673 views

Magento 1.9: Save custom image after click on Add to cart

We have custom button in product view page , once user "upload image or Add text" & click on "save design", its saving custom image in server. save design : app/design/frontend/rwd/Theme1/...
6
votes
2answers
22k views

How to get product category id on product detail page Magento 2

I am trying to get product categories on product detail page. I tried using $categoryIds = $_product->getCategoryIds(); But it is not working for me. Also i tried $categories = $product-&...
6
votes
3answers
7k views

Using Magento 1.9.1 CE, ElevateZoom doesn't work on product page (Uncaught TypeError: undefined is not a function)

So, just noticed that when I clicked on product thumbnails on the product view page of my magento, clicking the thumbnails don't do anything (instead it scrolls to top). This is the error I get in ...
6
votes
3answers
764 views

Guest can't create product programtaically [ similar to wishlist ]

If the Registered user click on "save design" button we are creating new product. Issue : But if guest user click on "save design" button, we are displaying pop up box to register or login. once ...
6
votes
2answers
3k views

Remove block from group

How do I remove a block from a group? In catalog.xml there are (around line 210) actions like: <block type="catalog/product_view_description" name="product.description" as="description" template="...
6
votes
4answers
4k views

Get Magento second image in product view page

I want to display image 2 from a product in the product view page next to the description. I need some help putting this code together. I found some code online, but it gives me image 1 (base image). ...
6
votes
1answer
222 views

Methods to Defer Showing Product Price

It is possible, with a stock Magento, to have the system hide a price from users until the product's been added to a cart? If this isn't possible with stock Magento, is there known science for ...
5
votes
3answers
6k views

Magento2 : Set Product limit in Related and Upsell Product

Hi Everyone i want to set Product Limit in Related and Upsell Product in View page Magento 2. Any one have idea to set limit.
5
votes
5answers
8k 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 ...
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 ...
5
votes
2answers
1k views

How to trigger self.openFullScreen() function into my custom jQuery in Product details page

If we click on product image in the product details page, gallery full screen is coming to see the images in full screen. I am trying to get the same functionality when click on my string Quick view ...
5
votes
2answers
2k 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 ...
5
votes
1answer
1k views

Image sizes in detail page

In my product detail page, fotorama slider images are not the size I expected. I tried using view.xml inside my theme and tried using fallback view.xml. I'm using Blank theme as parent. I need to ...
5
votes
3answers
1k views

Display In-Stock Seller/Vendor on top of product view page

we have marketplace multi vendor/seller site. we are displaying multiple sellers on product view page. initially one Product is uploaded by seller "kidsdial4" , than same product is assigned by ...
4
votes
4answers
3k views

Add CMS block as custom tab in product view page Magento 2

I'd like to add a static block as an additional custom tab in Magento 2. CMS Static Block (hello-world) <p>Hello world!</p> catalog_product_view.xml <block class="Magento\Catalog\...
4
votes
2answers
6k views

Adding new page to Front end

UPDATED I am trying to add new page on front end. I am doing as following. I have a form, where I am using my action to load the view. On button click it never goes to controller, please help me, ...
4
votes
1answer
834 views

How to upload video with our extension on magento connect?

You guys are surely familiar with magento connect market place for magento products. You might have seen that there are many products on magento connect have base video rather than base image on their ...
4
votes
2answers
4k views

Display 5 stars for adding ratings instead of radio buttons

default magento will display the ratings as below image but i want to change like this : i am using default magento code form.phtml [app/design/frontend/rwd/theme/template/review/form.phtml] <?...
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 ...
4
votes
1answer
585 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
1answer
2k views

Magento 2 Magnifier widget preview image issue

In Magento2 my theme view.xml for the magnifier I've set the following values. <var name="magnifier"> <var name="fullscreenzoom">5</var> <!-- Zoom for fullscreen (...
4
votes
0answers
693 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
4answers
9k views

How to create a different product page structure for specific products under a one category?

I want to have custom design only for all products which are under a one category. Assume you have category 'A' and it has products 'a','b','c'. I want only to show these 'a,b,c' products in a ...
3
votes
3answers
3k views

How to integrate ImageMagick to magento

We need product personalization feature as here, means we want customers to upload the product image and add text & color from product view page. Then when customer buys product, we will send a ...
3
votes
1answer
4k views

How can I add a static block in product page before reviews?

I'm using default RWD theme. I'm trying to add my static block in product page between additional information tab and product reviews tab. I tried to add something like this in my local.xml file but ...
3
votes
3answers
3k views

Random products from same category with parent category fill up

I would like to do following on 1.9.0.1: Getting 12 random upsell-products from same category as current product. They have to be saleable. They shouldnt be in related-products already. They shouldnt ...
3
votes
3answers
3k 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
3
votes
2answers
484 views

Hide Tabs on product details page for specific product Magento2

I have a specific type of product. And I want to hide the Tabs on product details page for that product specifically. Is it possible and what is the best way to do that.
3
votes
2answers
9k views

Change order or tabs on product details page on Magento 1.9

How do you change the order of the tabs on the product details page. I created a new tab called 'Programs' by adding the below to my local.xml <catalog_product_view translate="label"> <...
3
votes
1answer
159 views

Magento2 display price in 2.5 lac, 3.5 crore, 25 lac etc

How to display product price on listing page, product detail page in numbers & letters combination. For example 2.5 lac, 3 crore etc. In PHP I can get price using following logic, but how to ...
3
votes
2answers
2k views

How to get all images of a single product

how to get all images by using below code. I'm only getting single image <?php class Affilnow_Module_Model_Product_Api extends Mage_Api_Model_Resource_Abstract { public function items($...
3
votes
2answers
1k views

is it possible to create a popup contact form from a product button

How would I go about creating a simple popup from a 'view.phtml' on a product page that would popup 'form.phtml' from template/contacts. I am trying to create a free quote button on a product page, ...
3
votes
1answer
1k views

Display Color names Of Configurable Swatches On Product View Page 1.9

I hope someone can help, I have Configurable Swatches working on my site, Magento 1.9. Some of my customers are confused by the fact that the name of the colour swatch only appears when they hover ...
3
votes
3answers
322 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
3
votes
2answers
842 views

Magento 2 Create Tab on product view page and show product attribute data in new tab

How to create a new tab on product view page and show product attribute data in new tab?
3
votes
1answer
37 views

Numeric SKUs being rounded frontend

Odd one, we have an SKU that is 063.665. Frontend however under additional information it shows as 63.67. So it strips the leading 0 and rounds the end. Does anyone know how I can stop this ...
3
votes
1answer
952 views

Magento 2 want to add itemprop=“image” tag in image field

I want to add itemprop="image" to main image on product page. How can I achieve this.
3
votes
1answer
254 views

Add Transitions for Accordion

How to add slide transitions when product description, additional data accordion is clicked. Is this code needs to be edited in app.js function toggleClasses(clickedItem, group) { var ...
3
votes
2answers
2k views

How to modify array of product collection before rendering category page?

I trying to figure out how to modify some rows in product collection before it will be rendered at category page. I'm digging around getProductListHtml() (module-catalog/Block/Category/View.php) but ...

1
2 3 4 5
9