Questions tagged [product-detail-page]
Denotes question regarding Magento Product detail page.
56 questions
5
votes
3
answers
3k
views
TypeError: settings.$elementF.fotorama is not a function
I am facing issue of TypeError: settings.$elementF.fotorama is not a function sometime on product details page.
This question is duplicate of : Adding to cart breaks fotorama on page reload , Magento ...
1
vote
3
answers
2k
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
0
answers
25
views
How can I add Apple Pay and Google Pay buttons to the product details page and the shopping cart page?
I need to add Apple Pay and Google Pay options to every product details page and shopping cart page (Using stripe payment).
0
votes
1
answer
76
views
Magento 2.4.6 Preselect Magento 2 Product Custom Options based on URL Parameters
I have a product with custom options like Color and Size.
When users visit a product page with a URL like https://example.com/product.html?color=Red&size=Small, I want the Color option to be ...
2
votes
2
answers
2k
views
How can pass product id from Product\Form\Modifier to UiComponent DataProvider in Admin PRODUCT DETAIL
This is Tab "Staff Manager" have display but can't receive Product Id
view/adminhtml/ui_component
/staff_listing.xml
<listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
2
answers
507
views
How to add the product info detail tab in the product page hyva theme
Add the product info detail tab in the product page hyva theme (same as default magento)
0
votes
4
answers
852
views
How to add custom tab in product details page in magento 2.4.0
how to add a new custom tab in the product detail page in magento2
Magento_Catalog/layout/catalog_product_view.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/...
1
vote
2
answers
487
views
No such entity with customerId magento2
Product page- I got an error after upgrade version 2.4.3 to 2.4.5
1 exception(s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with customerId =
Exception #0 (...
0
votes
3
answers
248
views
Custom Tab not displaying on product page in magento2
I need to show a custom tab after the Review tab on the product detail page. I am using Magento 2.4.3.
Below is my code
[vendor]/[Module]/view/frontend/layout/catalog_product_view.xml
<?xml version=...
3
votes
1
answer
2k
views
Magento 2 Product detail page tab not working
I am facing an issue on a website that sometimes in product detail page description, more information tabs are not working and it will generate an error in console.
Here is the console log error
...
2
votes
1
answer
151
views
Magento 2.3 - Set max compare products to 2
I want to set the limit for the products to compare max 2 product. I tried to create this module: https://magento.stackexchange.com/a/159543/16894
But it seems that this does not work with Magento 2.3....
0
votes
1
answer
247
views
Clicking on color swatch, images are not loading on product listing page in magento 2.3.5
I have added color swatches for my Configurable products. On product detail page when we click on color swatches the product images not changed properly as per color.so please fix this.
Thanks in ...
1
vote
2
answers
7k
views
how to customize product price display in product page magento 2
hi I want to customize the price display in product details page Magento 2
where I can customize the codes
(path)
my goal:
1) I want to add a label near the First price .
2) How I ...
2
votes
2
answers
2k
views
Magento 2 how to restrict previous date in datepicker , for frontend detail page custom options
In Magento 2 how to restrict previous dates in datepicker ,in detail page customizable options,
Please help me out on this .
2
votes
2
answers
1k
views
Product Details Page is blank Magento 2.3.2
Fatal error: Uncaught Error: Call to a member function getDefaultPlaceholderUrl() on null in /var/www/html/vendor/magento/module-catalog/view/frontend/templates/product/view/gallery.phtml:29 Stack ...
0
votes
1
answer
687
views
Magento 2: Change product template based on the category
We have multiple categories and each category has it's own products(mostly simple products). The products in each category has different UI design for product view page / product details page.
I know ...
0
votes
1
answer
176
views
Magento 2.3 - How to hide empty attribute and it's label if there is no data
Could someone help me i want to hide the attribute if its have empty vale on product details page.
Example
<?php // START FABRIC ATTRIBUTE
$attributeName = $_product->getResource()->...
2
votes
3
answers
1k
views
Magento2.3 : Pagination - jump to top of pagination at PLP page
I have a problem with Buttons in Pagination. If the user clicks the button, it reloads the page with loader and settles down at the current page scroll position. Is there any method to forcefully load ...
0
votes
1
answer
1k
views
Magento2: How to show multiselect product attribute lable on product detail page
I am using magento2.3.x
I have created a dropdown attribute(product attribute) from admin.
now I have showing this attribute on product page using below code:-
file path:-
app/design/frontend/Vendor/...
0
votes
2
answers
854
views
I want to add product description image in product detail page but don't know how. Can you help me?
I want to add product description image in product detail page but don't know how. Can you help me?
It looks like this:
Thank you!!!
0
votes
1
answer
1k
views
How to redirect Product Detail page to Home Page or 404 in Magento 2?
How to redirect Product Detail Page to 404 or Home Page in Magento 2.4.
I don't want user to see product detail page in my store.
Any help is appreciated. Thanks.
0
votes
0
answers
220
views
Magento 2.4.1 If shopping cart is not empty place a Go To Shopping Cart button next to Add To Cart on Product Detail page
When the shopping cart is NOT empty, I want a button next to the Add To Cart button on the product detail page and have it go to the Shopping Cart
File using to override is:
/app/design/frontend/THEME/...
0
votes
0
answers
31
views
product details page still have product gallery issue image are not showing sometime in magento 2.4
Now i added image back-end but still have product gallery issue image are not showing sometime in product details page magento 2.4
1
vote
2
answers
680
views
How to move Wish List next to Qty input box in product detail page?
I want to move ADD TO WISH LIST next to QTY Input box in product details page. Guide me how to achieve this
0
votes
2
answers
38
views
Using a new attribute as product description
Using Magento 2.3.2.
We currently sell through our website, and Amazon and Ebay via the M2E Pro extension.
Our current product description is used for the website and Ebay, and the short description ...
0
votes
0
answers
86
views
Magento 2 Video's not showing with images on product detail page when enable zoom for product
Video Not showing on product detail page when enabling zoom option from amasty color swatches please help for this.
0
votes
1
answer
48
views
Using third party template file on product detail page magento 2
Hello,
I have installed FAQ module from github https://github.com/php-cuong/magento2-faqs-extensions.
I want to show the faq/view.phtml template file on product details page over here https://prnt.sc/...
1
vote
2
answers
718
views
Magento 2.3.1 product detail page is very slow
The TTFB is on 29 seconds and its taking 55+ seconds to load the product detail page.
We have varnish cache enabled, product mode enabled, JS and CSS minified already and expiry headers and other ...
1
vote
2
answers
188
views
magento 2.3 now showing category and subcategory in breadcrum on prodcut detail page
my product details page has url structure like
url > cat > sub cat > product name
but in breadcrumb i see only home > product name i want to show category and sub category also
breadcrum.phtml
&...
0
votes
1
answer
1k
views
Magento\Framework\Config\Dom\ValidationException: Element 'argument': Duplicate key-sequence
I have an error when the developer-mode is active.
The Exception is thrown out when entering any product detail page.
I am running Magento 2.3.4.
could you please help in finding a solution
1 ...
0
votes
1
answer
347
views
How to hide custom button in product details page by particular category in magento 2
How to hide custom button in product details page by particular category in magento 2
In magento 2, custom button will be hidden for each product from the selected categories in admin. I want to ...
0
votes
2
answers
2k
views
How to get product category Id on product detail page Magento 2?
I have a product which have assigned into more than 5 categories. I want to show the category detail of that product on product detail page. But which category detail I need to show?
I want to show ...
0
votes
2
answers
583
views
Magento 2.3 improve detail, product description, with others attributes
I would like to edit the details tab with the description and also include the product attributes under details in order to make them immediately visible without having to change the tab, as in the ...
1
vote
2
answers
248
views
How to show price in simple product on product view page?
I remove price from product view page using below line of code
<referenceBlock name="product.info.price" remove="true" />
This is working perfectly.but i need to show price in only simple ...
0
votes
0
answers
124
views
How can I move quantity box after product title in magento 2.3?
I want to move quantity box after product title without moving add to cart button on product detailed page.
I have tried to move quantity box using jQuery but after that always single quantity (...
0
votes
1
answer
939
views
Magento2.3.1 How to product detail page custom image gallery popup display?
I have to used Magento2.3.1 and in detail page i need to product image click after display popup image look like this type.if anyone idea how to achieved this by default magento. below share link Go ...
0
votes
0
answers
45
views
Magento2.3: Product detail page is not working
I have tried installing the social share extension but getting the below error when I try to open the product detail page.
1 exception(s): Exception #0
(Magento\Framework\Config\Dom\...
0
votes
1
answer
74
views
How to disable the categories sidebar in the product detail page in Magento 2?
Is there an option in the admin area of Magento 2, to disable the sidebar on the left with the list of categories in the product detail page of the frontstore?
1
vote
1
answer
266
views
product image in png format showing black background on product detail page
I have uploaded a ".png" format image for a product at backend and it shows black background at detail page at front.
I want to show it as it is with png format and with no background.
I have tried ...
1
vote
0
answers
34
views
How to get all attributes of a product which Start with 'wdb_' in Magento 2?
I want to get all attributes of a product which start with "wdb_" in custom tab.
For this, I am getting each attribute manually.
For example: wdb_carat, wdb_info, wdb_clarity etc...
My Code is:
...
0
votes
1
answer
371
views
Magento2: Add Custom table next to Product attribute in Product Detail Page
How to add Custom table next to product attribute in a product detail page
0
votes
0
answers
816
views
Magento 2.3 color swatches with related products & upsell products?
I have added color swatches with related products using this code:
<?php
if($_item->getTypeId() == \Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE){
$...
1
vote
0
answers
177
views
Magneto2.3.1 How to customize checkbox with compare link display on product detail page
I am using Magneto2.3.1 and i need to customize the default magento compare link on detail page. I want to show checkbox with compare label and if i checked than product compare successfully and if ...
0
votes
3
answers
598
views
Magento 2 Product Images Not Showing in detail page
http://madressingroom.com/black-and-white-varsity-jacket-10.html
Here is a link I have spent more than 1 week on it, please help me to get the solution. It's a Magento Molly Theme. Js file, not L
...
1
vote
0
answers
530
views
Magento2: How to fix add to cart not showing in product details page
When I click on product details page not showing add to cart
But when I search in inspector it's there but not showing on site
console error:
Error: Missing required parameters: site key
How ...
0
votes
4
answers
870
views
Magento2 : Display Review Form any where in Product Detail Page
How to display Review form in any where in product page using new .phtml file?
1
vote
2
answers
2k
views
Magento : How to call block in short description on product page?
I need to add different sliders on each product detail page.
I am using slider plugin to achieve this. But the block code
{{block type="bannerslider/default" name="bannerslider.bannerslider" ...
2
votes
1
answer
2k
views
How to get the Unit of measure label of product attributes like weight,Length etc in product detail page?
How to get the Unit of measure label of product attributes like weight,Length etc in product detail page?
1
vote
2
answers
2k
views
Magneto 2: Need to remove decimal from price on product detail page
I want to remove the decimal in price on product details page. Although it removes in listing page, but still showing decimal in discount and final price on product details page.
1
vote
1
answer
1k
views
How can i remove product gallery " fotorama__stage" class height?
I am facing issue of image height on product details page gallery.
If i remove fotorama__stage class height from inspect element then its work fine.
Please check below image.
How can i remove ...