Questions tagged [product-page]
Denotes question regarding Magento Product detail page
256
questions
0
votes
2
answers
27
views
How to change the Block position or product view page design in Magento 2?
I want to move (Upsell) bottom of the Product page. And How to move any block in Product page in Magento2.
Also How to add Feature Product before Upsell Product in Product page Magento2?
0
votes
0
answers
10
views
Calculate new price on a specific product page in Magento 2
I am creating the module is already functional. Now I need to change the price of a specific product when filling in the 2 cuttomized options.
My base price is per square meter, so when I fill in the ...
0
votes
0
answers
9
views
Fotorama not working. Showing Type Error in console
I followed this link (Magento 2 + need to use fotorama in cms page) to use fotorama but instead it prints all the images in a line. Using fotorama on my custom product page. When i check the console ...
1
vote
0
answers
16
views
Magento 2 add buy now button on product page & mini cart
I am using Magento 2.4.
I am trying to add a "buy now" button on the product & cart page, but unfortunately, when I click on the button it adds the product into the cart.
Instead of this,...
0
votes
0
answers
15
views
Show amount of tax added in prices
I want to display the amount of tax that has been added to the incl tax price on product and category page.
Where it currently says:
£120
Excl tax £100
I want it to say:
£120 (including £20 tax)
Excl ...
0
votes
0
answers
14
views
Magento 2 product page show backorder insteed of add to cart
Hope there is one that can help me out with this problem. I made it years back for M1 but can remember how and now I need it for my M2 website.
On the productpage I want to show backorder insteed of ...
0
votes
1
answer
75
views
How to create product rating star on Product Page
I trying to look for a solution to show Rating Star on the Product Page, like the Product List Page. I tried adding it by creating a new Block on catalog_product_view.xml but not working
Rating Star ...
0
votes
0
answers
62
views
How change Sku , Attribute , and title name dynamically in product page for magento 2.4.1?
I'm on the product page of Magento 2.4.1 I try more guides but everyone says this guide does not work for 2.4
I'm new on Magento no have good experience someone can help me? Thanks
0
votes
0
answers
49
views
product page stuck on loader sometimes
I am using magento 2.3.4
My product page loader gets stuck randomly.
It doesn't happen all the time, but happens consistently.
Also, it occurs only on configurable products page.
Let me know how to ...
1
vote
1
answer
246
views
Change SKU dynamically in configurable product for Magento 2.4
Does anybody know how to implement changing of the SKU on configurable product page according to variation selection, for Magento 2.4.3?
Thanks!
0
votes
2
answers
46
views
Disabling cache for a certain block used in the product page
I would like to load a certain message based on a certain hour range on the product page.
In the catalog_product_view.xml I have this block:
<block class="Vendor\Products\Block\Usp" name=&...
0
votes
1
answer
94
views
magento 2.3 display first two product images on details page
i am using magento 2.3 version and i am using custom theme so i want to product page in main image showing first two images so when main image sliding and another coming it and rest first same like it
...
0
votes
0
answers
26
views
Notify Customer on Product/category page that this item already in cart
I have to notify the customer that this product is already in the cart on the product page and category page too before Add to cart Button
like product page
For Category Page
I have tried to get ...
0
votes
0
answers
127
views
Magento 2 Product Page - If price is $0.00 with customizable options, show custom message
Magento 2 Question
We got some direction from some previous posts but we are still missing one more piece to the puzzle to complete the functionality.
Reference this file: /vendor/magento/module-...
0
votes
0
answers
21
views
Magento 2 - Add Dropdown of product variation
We would like to add a product variation dropdown of attribute/custom option and on selecting dropdown redirect to that simple product. This dropdown can be added at product detail page.
Here is the ...
0
votes
1
answer
30
views
Size attribute doesn't have any options
Size attribute dropdown in product detail page doesn't loading options. If I reload the page then the options are apprearing. But I want it to load on first instance. I have tried reindexing and cache ...
0
votes
2
answers
99
views
Magento 2.4.2 How to add Key Features to the product detail page
I need to add Key Features to the product detail page.The function should be a new attribute, but I don't know how to add it. Do you have a simple and quick way.
Key Features can be replaced with any ...
1
vote
2
answers
92
views
Recover customer data on product page
I am trying to recover customer data on product page as I cannot pass by php because of full page cache I want to do it in js.
I added an phtml block on my page in footer, catalog_product_view.xml
<...
0
votes
2
answers
937
views
Magento 2: How get All products (2000 products) using Rest API?
I use Magento2.
I have 2000 products.
I try to get all products, using Rest API.
My request str.:
GET https:///rest/default/V1/products?searchCriteria[pageSize]=1000.
But this is not enough because ...
0
votes
2
answers
47
views
How to display all customer reviews in the product page?
Since I removed the review tab on product page, now I'd like to display all customer reviews in the product page itself (but outside of the tab).
How can I display them?
I'm running Magento 2.4.2.
1
vote
1
answer
57
views
Move Product Attribiutes from More information Tab to details tab
I would like to move all product attributes from selected product to details tab.
I try to do something like this:
<move element="product.attribute" destination="content" after=&...
0
votes
0
answers
24
views
same phtml on same page in magento commerce
I want to add one static block above product details on product description page. So i turned on template path hints. And there are two attribute.phtml on same product page.
0
votes
1
answer
116
views
Magento 2.3 - What is the recommended practice for adding custom text in product page
I want to add custom text to the product page,
Here how can i achieve this task, which is the recommended way to do that: Module (or) Events Observer (or) Preference. What kind of workout safe for ...
2
votes
0
answers
33
views
Product page images cache generation issue after Magento upgrade
Product page images are showing thumbnails instead of product images. On the same page related products images are showing fine. Only products images are having issues. The image url is accessible but ...
0
votes
1
answer
32
views
My magento 2.2.4 homepage loads while other pages refuses to load
When I open my magento homepage it loads successfully while catalog search, categories and product page load a http 500 error.
Copy of my .htaccess files is thus;
######################################...
1
vote
1
answer
369
views
Override get product url in Magento 2
i'm using Magento 2.3.4 and i want some product URL is using different URL from URL rewrite,because i already created a custom frontend page for this product:
for example
getProductUrl() => http://...
1
vote
0
answers
600
views
Magento 2 add Estimate Shipping Form on Product Page
Following this post
Magento 2 : How to display Shipping Rates on a Product Page
i can get shipping rates for current product, tested with curl:
curl -ik -X POST -H "Content-Type: application/json&...
1
vote
0
answers
128
views
Product price won't update on product page front end. Cache stuck
I have a product that has a sale price of 199.99 and an original price of 240.
In my index table I can see that the price has been indexed: (catalog_product_index_price):
'123', 'cust_grp', '...
1
vote
2
answers
91
views
How can i show final price on product page?
I want to show price accroding to selected attribute option of configurable product.
0
votes
0
answers
47
views
Magento 2.3.4: Want to change the location of bundle product options near add to cart
I want these two portions of the listing in the same box under the (Choose Your Items) Button.
I have tried to do with the XML but it changes the configurable list and simple product.
0
votes
2
answers
40
views
Magento 1.x Product Detail Customize
I want to completely change the design of the product detail page. The products that I added from the admin panel should be placed in that design. how can I do it?
0
votes
1
answer
68
views
How to Image resize this container in product page - Magento 2.3
In the product page i need to resize the product image container but i can't how to resize this, Please check the image for reference
The below image shown with big gap between the image and border
...
0
votes
1
answer
93
views
Magento 2.3 add body class to product page if custom options
I want to add a body class "custom-options" to the product page, when the product got some custom options.
How can I achieve that?
0
votes
1
answer
606
views
How to change the product detail page to a 2 column layout in Magento 2.3?
I have created a layout XML file for a custom theme which inherits from the default Magento Blank theme:
app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/layout/catalog_product_view....
0
votes
1
answer
272
views
Magento 2: Want to change the location of Product Page "Your added .....shopping cart" message, under the addto cart button
I have tried to relocate in layouts XML file, but it's not working.
the file is in the/vendor/magento/module-checkout/view/frontend/templates/messages/addCartSuccessMessage.phtml
I just want to put ...
0
votes
1
answer
2k
views
Uncaught TypeError: Argument 1 passed to Magento\Catalog\Block\Product\ImageFactory::getRatio() must be of the type integer
I have this error in product page after upgrade to magento 2.3.4 from 2.2.6
php 7.2
[20-Apr-2020 15:39:48 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Block\Product\...
0
votes
1
answer
103
views
Magento 2: Product page compare product add in new tab
I am using magento 2.3.3 in custom theme and I want to compare products add in new tab
how can achieve this?
Thanks in advance
0
votes
1
answer
56
views
How can show root url all product in single page?
I don't have advanced level magento code edit anyway I can do it.
My website need to add menu all product show link(link name: All Product).
All product added to mobiles.
Category tree are same like ...
0
votes
3
answers
750
views
Magento 2: Cannot open the Product Detail Page
I'm trying to open the product detail page from the listing page but its not working, and its showing the below error:
2 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): ...
0
votes
2
answers
495
views
Display related products on sidebar
I want to display related products if they exist on the sidebar on product page over featured products.
Please advise
EDIT
ADDED catalog_product_view.xml code
<referenceBlock ...
8
votes
3
answers
4k
views
magento 2.3.4 cannot call methods on tabs prior to initialization; attempted to call method 'activate'
In Magento 2.3.4 product page when click review text or reviews and not going to review form or Customer review
Before it's working fine in Magento 2.2.4
and it's an error coming from the below ...
1
vote
0
answers
83
views
Magento 2.3.4 version product thumbnails & product image issue on product detail page [PDP]
I have just updated Magento to 2.3.4 but facing an issue of images on Product Detail Page(PDP).
I have changed the layout of thumbnails as vertical. After changing the thumbnail image layout on PDP ...
1
vote
0
answers
59
views
Product Page not found after Migration from Magento 1.9.3.8 to Magento 2.3.4
After successfully migrating from Magento 1.9.3.8 to Magento 2.3.4, I tried to check the category page, first, it doesn't show any products then I disabled MSI modules then it shows the products in ...
0
votes
0
answers
38
views
Magento 2.3.x: How can change the position of STORE-SWITCHER on product details page
I create two store US and IN.
I want to move this store swither on product details page just in the place of US-tax rule check below images.
any help will be appreciated.
0
votes
0
answers
66
views
Magento 2: How can dynamically display Name of Tax Rule on product page
To display Name of tax rule on the product details page I creat a module through this link (Magento 2: How can display Name of Tax Rule on product page). And it's working successfully check below ...
1
vote
1
answer
375
views
Magento 2: How can display Name of Tax Rule on product page
I create two tax rule name rule1 and disability tax ,check below images
Now I want to display these two tax rule names on the product page. any help will be appreciated.
1
vote
0
answers
29
views
How to display product attribute set in product list page via custom module in magento 2.3.3?
I am trying show product Attribute set in product listing page.I want to achieve via custom module.
can someone help to achieve this solution?
Thanks in advance.
1
vote
1
answer
253
views
Disable (product data items) tabs in Product page
I want to disable tabs in product pages, i mean not display product data items (description, more information,Ratings) as tabs.
So I override
web/css/source/sections.less
And remove tabs and ...
0
votes
0
answers
97
views
Fatal error in product detail page in Magento 2?
I am using Magento 2.3.3
I am getting below fatal error in product detail page:
Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\Config\ReaderInterface in /chroot/home/...
0
votes
3
answers
3k
views
display prices including the TAX magento 2.3?
How do I configure to display prices including the TAX magento 2.3 ?
Please check screen short.