Questions tagged [product-detail-page]
Denotes question regarding Magento Product detail page.
52
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 ...
3
votes
1
answer
1k
views
Magento 2 Product detail page tab not working
I have facing one issue some time in a site that in product detail page description, more information tabs are not working and it will generate an error in console.
Here is console log error
jquery....
2
votes
3
answers
912
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 ...
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?
2
votes
2
answers
1k
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:...
1
vote
2
answers
197
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 ...
1
vote
2
answers
6k
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 ...
1
vote
2
answers
552
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
1k
views
Magento2.1.9 : Out of stock product Backorder not working?
I have to used Magento2.1.9 when I add out of stock product to cart it is not working and am getting error as this product out of stock I need backorder working properly for out of stock product and I ...
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
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" ...
1
vote
1
answer
47
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....
1
vote
2
answers
143
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
&...
1
vote
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 .
1
vote
2
answers
487
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
1
vote
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 ...
1
vote
1
answer
143
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
33
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:
...
1
vote
0
answers
164
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 ...
1
vote
0
answers
441
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 ...
1
vote
3
answers
1k
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.
1
vote
1
answer
904
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 ...
1
vote
1
answer
243
views
different template files for product detail page of simple and grouped product types. - Magento 2.2.x
I have 2 types of product in my website.
1) simple products and
2) grouped products
i wanted different design for both this types of product types. so how can i have different template file for ...
0
votes
1
answer
259
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
1k
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
1
answer
897
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
1
answer
594
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
3
answers
310
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/...
0
votes
2
answers
36
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
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
3
answers
577
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
...
0
votes
1
answer
170
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 ...
0
votes
3
answers
167
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=...
0
votes
1
answer
414
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
144
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()->...
0
votes
2
answers
410
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
0
answers
173
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
29
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
0
votes
0
answers
75
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
45
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/...
0
votes
2
answers
550
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 ...
0
votes
0
answers
97
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
840
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
63
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?
0
votes
1
answer
320
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
696
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){
$...
0
votes
4
answers
622
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?
0
votes
1
answer
142
views
503 only on products detail pages with images
I am using Magento 2.2.7
Can't visit product details pages or edit them if any image was added to product.
Also when I am login into admin part and go into Content - Configuration - Edit theme. Page ...
0
votes
0
answers
26
views
After add attribute clearance_price as price, it doesn't be calculated for finalprice on Magento 2.2.3
I use special_price, tier_price and clearance_price and need to display minimal price of them as final price.
I added clearance_price and custom attribute and put it in Advanced pricing.
But when I do ...