Questions tagged [product-view]
Denotes questions related to the product view page of Magento.
40
questions
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 ...
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 ...
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')->...
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.
2
votes
3
answers
9k
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
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 ...
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
...
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 ...
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 ...
2
votes
1
answer
3k
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 ...
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 ...
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.
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]
<?...
3
votes
1
answer
1k
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
4
answers
3k
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 ...
2
votes
4
answers
7k
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
2
answers
2k
views
Hide price for guest users
How to hide price for guest user with plugin functionality in product pages and category pages?
0
votes
1
answer
742
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
1
answer
210
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 ...
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 ...
9
votes
2
answers
46k
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-&...
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
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 ...
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 ...
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, ...
2
votes
2
answers
674
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.
2
votes
1
answer
1k
views
Magento 2 : How reduce size of fotoroma gallery icons on product detail page
I would like to reduce size of following icons appearing on detail page, enabled native fotoroma widget.
1. Fotoroma plus icon and minus icon
2. Fotoroma close icon
<var name="magnifier">
...
2
votes
2
answers
2k
views
Timer countdown in product view page
I want to display timer countdown in product view page.
how to achieve this ?
2
votes
2
answers
4k
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.
2
votes
1
answer
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?
2
votes
2
answers
371
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.
1
vote
1
answer
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 ...
1
vote
2
answers
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/...
1
vote
2
answers
959
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.
1
vote
1
answer
2k
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/...
0
votes
2
answers
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 ...
0
votes
1
answer
3k
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
2
answers
1k
views
Magento2 Hide Custom Tab based on Condition
I have created custom tab in Magento2 in my Custom module. The code used to make tab was using xml like -
<referenceBlock name="product.info.details">
<block class="...
0
votes
1
answer
405
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
3
answers
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 ...