Questions tagged [product-detail-page]
Denotes question regarding Magento Product detail page.
30
questions with no upvoted or accepted answers
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 ...
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
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
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
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 ...
0
votes
1
answer
317
views
Magento2: Insert brand name above product name in product page
I would like to insert brand name above product name in product page in a Magento 2.2.1. I managed to do it with regards to product list. I modified file list.phtml in app/design/frontend/../../...
-1
votes
1
answer
2k
views
Warning: strpos() expects parameter 1 to be string, array given in vendor/magento/module-eav/Model/Entity/Attribute/Source/Table.php on line 157
1 exception(s):
Exception #0 (Exception): Warning: strpos() expects parameter 1 to be string, array given in /home/equpo/public_html/demo/vendor/magento/module-eav/Model/Entity/Attribute/Source/Table....