Questions tagged [product-view]

Denotes questions related to the product view page of Magento.

Filter by
Sorted by
Tagged with
23
votes
3answers
51k 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 ...
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 ...
7
votes
2answers
4k 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.
2
votes
2answers
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" ...
9
votes
3answers
21k 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 ...
14
votes
2answers
45k 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')->...
3
votes
3answers
2k 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 ...
5
votes
3answers
3k 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 ...
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 ...
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] <?...
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
804 views

Display seller names according to their selling Prices

we have marketplace multi vendor/seller site. In our site lot of sellers have same Products, so in Product view page we display all sellers. assume a Product is uploaded by seller "kidsdial4" , ...
2
votes
1answer
1k views

Crosssell Products on Product Page with Magento 2

I have been trying to get crosssell products to show on the product pages. however adding the block does not work as it relies on the product being in the cart. I have tried to overcome this by ...
2
votes
4answers
2k views

Cross-sell product is not showing in the product detail page

In product detail page the following code is written to display the cross-sell product which are set from the admin side.. <?php echo $this->getChildHtml('crosssell'); ?> But it is not ...
0
votes
1answer
444 views

How to display video as second link in thumbnail images

In product details page I have video related to the product along with the thumbnail images. The video always comes at the last. I want to display the video as second link in the thumbnail images. ...
-1
votes
1answer
207 views

bigger height and width image is not occupying full space in product detail page

please visit this link : you can see the base image is not occupying full space the base image is occupying full space. product 1's image is having bigger height and width size but why the product ...
2
votes
2answers
1k views

Timer countdown in product view page

I want to display timer countdown in product view page. how to achieve this ?
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
2
votes
1answer
2k views

Get Customer in product view?

I want to get customer_id, name and email of logged in customer in product view. How to do it?
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, ...
1
vote
1answer
864 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
2answers
4k views

Add a child block to product.info.tabs description tab

I am using tabs for my product view page. In my local.xml I have the following: <catalog_product_view> <reference name="product.info"> <block type="catalog/...
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 ...
3
votes
1answer
781 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 ...
2
votes
2answers
190 views

How can I get the number of customers that bought a product?

I am in product view page, and I want to display the number of customers that bought that particular product.
2
votes
3answers
3k 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 ...
2
votes
1answer
267 views

How to add a remove link on product detail page, if it's already added on wishlist in magento2?

I want to add wishlist remove link if product is already on wishlist in Magento2. I have tried but it's not working when fullpage_cache is On 1. 2. 3.
1
vote
1answer
1k views

change the path of Product image

please visit link , product image is serving from cache path : media/catalog/product/cache/1/image/350x350/9df78eab33525d08d6e5fb8d27136e95/i/m/img26_1.jpg we want to change to below path. media/...
1
vote
2answers
2k views

Magento 2: Short Description label shown as “none” on product page

For some reason the label of the short description is shown as "none" in frontend's product page just before the short description.
1
vote
1answer
3k views

calling cms static block on product detail page [closed]

I want to call my cms static block on product detail page above price , I have added the below code via admin category > custom design . {{block type="cms/block" block_id="my_block_here"}} Can ...
0
votes
3answers
1k views

Display Reviews under tabs in product view page

We are displaying tabs in product view page as below Under Add Review tab we need to provide an option to write review for customer. we are following this link , what i did is i added below code in ...
0
votes
1answer
371 views

product personalization feature - upload image & text from frontend - module or theme?

We need product personalization feature, means we want customers to upload the product image and add text from frontend. then when he buy product, we will send a product with same image. [ ex product-...
0
votes
2answers
366 views

get total number of customer in last 24 hrs who bought the products

I am on Product detail page. Suppose I am seeing X product. Now I want to show a total number of customers who bought this X product in last 24 hrs. Last 24 hrs should be updated every day.
0
votes
1answer
1k views

Display the drop down values when mouse-over on text instead of textfield

please visit link on top left, you can see "currency" with dropdown box. once you mouse-over on that, you can see as below in same link if you scroll down below you can see filters : Device, Design, ...
0
votes
2answers
4k views

Invalid method Mage_Catalog_Block_Product_View::_isSecure(Array ( ) )

I'm having issues with a site that has recently moved to a new host. The hosting company say it's not their issue but I'm a bit stuck for ideas. i'm not quite sure how to post a full set of logs here ...