Questions tagged [product-details]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

rearrange more information & details tab in product details page in product details page

I need to change the default tab on product details to be more information tab, i make this edit in vendor, i replace this code <block class="Magento\Catalog\Block\Product\View\Details&...
Omar Khaled's user avatar
0 votes
2 answers
144 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)
Savan Patel's user avatar
  • 2,338
1 vote
2 answers
46 views

change product page information from tabs to one column

I am trying to change the way displaying the tabs in product page ( details, more information and reviews ). I don not want it to be tabs I want it to display directly one after one: details then ...
Ibrahim's user avatar
  • 13
0 votes
0 answers
11 views

Magento 2:How can I fetch and log the product information on the product page when the user customises the product (e.g: changes the size, color, etc)

Right now in my template phtml file I am using this code to fetch the data and log it: console.log("Product Information: ", <?=json_encode($block->getProduct())?>); But I am unable ...
Pratik Giramkar's user avatar
0 votes
3 answers
3k views

Magento 2 Add custom block to Product Detail Page, between product gallery and detail tab

I want to add a custom block to show some text between the product gallery and the description. What is the best practice to do this, do I need to create my own module? and how do I override the ...
Magento Learner's user avatar
0 votes
2 answers
84 views

Element 'body' : Character content other than whitespace is not allowed because the content is 'element-only' after Magento 2.3.4 upgrade

After Magento 2.3.4 upgrade, Error is "Element 'body' : Character content other than whitespace is not allowed because the content is 'element-only'" on Product details page. Actually after ...
Hitesh Balpande's user avatar
0 votes
1 answer
395 views

How move add to cart button below product images in product page magento2.2.4

Try every possibility. it's not working. <move element="product.info.addtocart" destination="product.info.media" after="product.media" <move element="product.info.addtocart" destination="...
Ritesh Bajpai's user avatar
2 votes
3 answers
148 views

What are other possible functions i can access

I created placed custom html in Magento_Catalog>template>product>view>details.phtml file in Magento_Catalog module and added below code to get current product ID and name $objectManager = ...
rakcode's user avatar
  • 123
1 vote
1 answer
1k views

How to override Product details Page controller magento 2

hi all, i want to override Magento\Catalog\Controller\Product\View.php file i tried to override but it's not loading the product page. <?php /** * * Copyright © Magento, Inc. All rights ...
Hitesh Balpande's user avatar
2 votes
1 answer
37 views

How to add number of custom tab in product info detail tab?

I added 3 custom tab in product info detail tab page <referenceBlock name="product.info.details"> <block class="Magento\Catalog\Block\Product\View" name="custom1.tab" as="custom1" ...
Priya's user avatar
  • 589
2 votes
1 answer
411 views

Magento 2 Add Custom tab in Product Page

I like to view my product page information details like "accordion-toggle" and let me need to add custom tab with static text in same page information details.
Priya's user avatar
  • 589