Questions tagged [product-detail-page]

Denotes question regarding Magento Product detail page.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Reset dependent swatches options if change first swatch(color) option magento 2 product page

There are 4 attributes are used as swatches color, height, width, weight Color swatch's first option is selected by default and other options from other swatches are selected by the user. After ...
user avatar
  • 1,957
0 votes
0 answers
16 views

Get selected Attributes / Options with JS in the PDP of a configurable product

I’m new in Magento2 and I’ve got a very specific use case where I need to get the selected values of the attributes of a configurable product on the front end side with JavaScript. Currently, In the ...
user avatar
0 votes
0 answers
18 views

Display Out of Stock product only Grouped Product

I have to show Out of Stock child product only in Grouped Product on Product Detail Page. Without using store Configuration setting. Stores → Configuration → Catalog → Inventory → Stock Options → ...
user avatar
  • 1
0 votes
3 answers
45 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=...
user avatar
0 votes
1 answer
36 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 ...
user avatar
0 votes
1 answer
45 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()->...
user avatar
0 votes
2 answers
85 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!!!
user avatar
0 votes
1 answer
142 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/...
user avatar
0 votes
1 answer
148 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.
user avatar
  • 526
0 votes
0 answers
89 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/...
user avatar
0 votes
0 answers
20 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
user avatar
1 vote
2 answers
305 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
user avatar
0 votes
3 answers
138 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/...
user avatar
0 votes
2 answers
32 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 ...
user avatar
2 votes
3 answers
610 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 ...
user avatar
0 votes
0 answers
50 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.
user avatar
0 votes
1 answer
39 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/...
user avatar
  • 700
1 vote
2 answers
396 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 ...
user avatar
1 vote
2 answers
84 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 &...
user avatar
0 votes
1 answer
884 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 ...
user avatar
  • 39
0 votes
1 answer
129 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 ...
user avatar
  • 1,389
0 votes
2 answers
806 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 ...
user avatar
  • 1,957
0 votes
2 answers
440 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 ...
user avatar
  • 317
1 vote
2 answers
118 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 ...
user avatar
3 votes
1 answer
890 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....
user avatar
0 votes
0 answers
76 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 (...
user avatar
  • 1,957
0 votes
1 answer
708 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 ...
user avatar
  • 1,587
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\...
user avatar
1 vote
2 answers
940 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 ...
user avatar
0 votes
1 answer
36 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?
user avatar
  • 176
1 vote
1 answer
54 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 ...
user avatar
1 vote
0 answers
24 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: ...
user avatar
0 votes
1 answer
216 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
user avatar
0 votes
0 answers
593 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){ $...
user avatar
1 vote
0 answers
132 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 ...
user avatar
  • 1,587
0 votes
3 answers
550 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 ...
user avatar
0 votes
2 answers
1k 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 .
user avatar
1 vote
2 answers
5k 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 ...
user avatar
  • 1,037
1 vote
0 answers
263 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 ...
user avatar
  • 1,037
0 votes
4 answers
391 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?
user avatar
0 votes
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.
user avatar
2 votes
1 answer
1k 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?
user avatar
  • 2,567
2 votes
2 answers
682 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:...
user avatar
  • 31
1 vote
1 answer
722 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 ...
user avatar
4 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 ...
user avatar
1 vote
2 answers
964 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 ...
user avatar
  • 1,587
-1 votes
1 answer
1k 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....
user avatar
  • 1,037
1 vote
1 answer
167 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 ...
user avatar
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.
user avatar
  • 584
0 votes
1 answer
135 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 ...
user avatar