Questions tagged [product-view]

Denotes questions related to the product view page of Magento.

Filter by
Sorted by
Tagged with
24 votes
3 answers
54k 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 ...
Ravi Soni's user avatar
  • 1,515
18 votes
6 answers
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-...
Jennie's user avatar
  • 339
17 votes
2 answers
57k 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')->...
Baby in Magento's user avatar
14 votes
1 answer
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 ...
Marco's user avatar
  • 183
13 votes
3 answers
13k 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 ...
Kevin's user avatar
  • 329
11 votes
2 answers
2k 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 ...
Krishna ijjada's user avatar
10 votes
2 answers
2k 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 ...
Clayton-a's user avatar
  • 101
9 votes
2 answers
44k 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-&...
Thomas's user avatar
  • 417
9 votes
3 answers
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 ...
Holly's user avatar
  • 4,863
8 votes
7 answers
20k 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 ...
Anshu Mishra's user avatar
  • 8,950
7 votes
5 answers
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 ...
rjdbgut's user avatar
  • 73
7 votes
2 answers
9k views

How to add "Buy Now" button in Magento 2.1 Product detail page along with add to cart? [closed]

How to add "Buy Now" button in Magento 2.1 Product detail page along with add to cart? so the users can directly buy the product without adding into the cart.
Minh Tam Pham's user avatar
7 votes
3 answers
4k 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
Jitendra Mohanta's user avatar
7 votes
2 answers
887 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/...
Baby in Magento's user avatar
6 votes
3 answers
8k 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 ...
Morphiuz's user avatar
  • 161
6 votes
3 answers
7k 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 ...
leo's user avatar
  • 1,236
6 votes
3 answers
884 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 ...
Baby in Magento's user avatar
6 votes
2 answers
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="...
Akerus's user avatar
  • 402
6 votes
3 answers
2k 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 ...
Baby in Magento's user avatar
6 votes
4 answers
5k 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). ...
Rudy's user avatar
  • 73
6 votes
1 answer
230 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 ...
Alana Storm's user avatar
  • 44.3k
5 votes
4 answers
9k 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.
Nikul's user avatar
  • 1,306
5 votes
4 answers
5k 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\...
YorkieMagento's user avatar
5 votes
2 answers
2k 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 ...
Krishna ijjada's user avatar
5 votes
2 answers
4k 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 ...
Jafar Pinjar's user avatar
  • 1,929
5 votes
1 answer
2k 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 ...
Joey's user avatar
  • 571
4 votes
2 answers
7k 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, ...
Abdul Ghaffar's user avatar
4 votes
3 answers
1k 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
Savan Patel's user avatar
  • 2,338
4 votes
1 answer
844 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 ...
Milople Inc's user avatar
4 votes
2 answers
5k 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] <?...
Baby in Magento's user avatar
4 votes
1 answer
3k 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 ...
eskaliert's user avatar
  • 175
4 votes
1 answer
1k 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"> ...
Dipesh Rangani's user avatar
4 votes
1 answer
3k views

Magento 2 Magnifier widget preview image issue

In Magento2 MY_THEME/etc/view.xml for the magnifier I've set the following values. <var name="magnifier"> <var name="fullscreenzoom">5</var> <!-- Zoom for ...
Kaushal Suthar's user avatar
4 votes
0 answers
1k 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 ...
Ronak Chauhan's user avatar
3 votes
4 answers
10k 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 ...
Sukeshini's user avatar
  • 9,945
3 votes
3 answers
4k 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 ...
Baby in Magento's user avatar
3 votes
3 answers
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 ...
Stefan Gregori's user avatar
3 votes
3 answers
8k 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
Divya Sekar's user avatar
  • 1,473
3 votes
1 answer
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 ...
KaMZaTa's user avatar
  • 205
3 votes
2 answers
815 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.
Gagan's user avatar
  • 1,478
3 votes
2 answers
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"> <...
Holly's user avatar
  • 4,863
3 votes
1 answer
195 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 ...
Siva Kumar Koduru's user avatar
3 votes
2 answers
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($...
rameez.hashmi's user avatar
3 votes
2 answers
2k 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, ...
user3760917's user avatar
3 votes
1 answer
2k 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.
Prashant Valanda's user avatar
3 votes
1 answer
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 ...
Silverfernz's user avatar
3 votes
2 answers
924 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?
Prashant Valanda's user avatar
3 votes
1 answer
41 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 ...
KiwisTasteGood's user avatar
3 votes
1 answer
269 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 ...
blakcaps's user avatar
  • 1,965
3 votes
1 answer
4k 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 ...
Fred August's user avatar

1
2 3 4 5
9