Skip to main content

Questions tagged [product-page]

Denotes question regarding Magento Product detail page

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

Adding campaign block to product page [Magento 2.0]

Whenever we're doing campaigns on our eshop we usually add campaign information on each SKU product page with URL re-directing traffic to our campaign deals page as well. The problem is that it ...
blitzz_'s user avatar
0 votes
0 answers
22 views

Display the coupon code on the product detail page Magento2.4

<?php use Magento\Framework\Api\SearchCriteriaBuilder; use Magento\SalesRule\Api\RuleRepositoryInterface; use Magento\Catalog\Api\ProductRepositoryInterface; use Magento\Framework\Registry; class ...
GerranoMargeno's user avatar
0 votes
0 answers
16 views

Magento 2 - Get qty from ajax response add to cart post parameters

When click in add to cart button in view page product, with ajax response get in checkout/cart/add the qty added, i need this qty value for datalayer push in phtml, i tried getAddToCartPostParams ...
Diego Castro's user avatar
0 votes
1 answer
86 views

Magento 2 | Exclude Video from fotoroma fullscreen gallery on PDP

I want to remove video from gallery when fullscreen gallery is opened on PDP. on normal gallery video is required but need to remove only on fullscreen. fotoroma using same data for gallery and ...
Gohil Rajesh's user avatar
  • 2,955
0 votes
0 answers
26 views

Product page filter

(link to webshop) https://sanitairkamer.nl/mondiaz-aivy-badmeubel-120cm-chai-met-wastafel-solid-surface-urban-midden-1-kraangat-en-spiegelkast-sk77173.html I'd like to re-create the product page like ...
SanitairSuperShop Marketing's user avatar
1 vote
1 answer
46 views

How to add a stock availabilty and sku next to price of the product on product page in magento 2?

How to add a stock availabilty and sku next to price of the product on product page in magento 2 ? Please answer this briefly because i am new in magento 2. Also do we have to create a particular ...
Chicky's user avatar
  • 11
0 votes
0 answers
36 views

Load attribute depends upon previous selected attribute

We are having two dropdown attributes on product level Brand and Model. Consider Brand are Mahindra,Kia,Hyundai and Model having Mahnidra Bolero, Mahindra Scorpio,Kia Sonet, Kia EV6, Hyundai i20, ...
M2 Dev's user avatar
  • 73
0 votes
1 answer
41 views

Hide or Disable Related Posts on Product Description when there aren't any?

Can anyone help with this please? Please see the image attached. So assuming this is a template fix. Currently shows when there are related posts. But most products dont have it. How can you hide when ...
Toby J's user avatar
  • 1
4 votes
2 answers
100 views

Injecting code into theme product page

The may well be too broad of a question, but I'm having extreme difficulty finding any answers. I want to know if its possible to add a phtml block/view to a product page when you have a theme ...
Daniel Bowen's user avatar
1 vote
1 answer
167 views

Prices are showing as zeros in product page

I have a problem with product prices, the prices in the backend are right and on the home page and search list as well. But in the product page they turn to be zero after a second of the page load ...
I.Tobgy's user avatar
  • 25
0 votes
1 answer
319 views

Display minimum advertised price and retail pricing on product page magento2

Is it possible to display Minimum Advertised Price and retail pricing on product details page?
kiran's user avatar
  • 597
0 votes
1 answer
299 views

Prevent custom url parameter in Product Page to be Cached

I am working on a requirement to add a custom parameter in the configurable product page URL. This will have the simple SKU to preselect the color in the swatches, something like this: https://site....
Eliacim DAVILA - CENSERE's user avatar
0 votes
2 answers
459 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?
Pramod Hanu's user avatar
0 votes
1 answer
30 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,...
Hamendra Sunthwal's user avatar
0 votes
1 answer
171 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 ...
Kasper Elund's user avatar
0 votes
1 answer
476 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 ...
heady9x's user avatar
  • 91
0 votes
0 answers
252 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 ...
Ram Sundar's user avatar
1 vote
2 answers
1k 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!
mephala's user avatar
  • 13
0 votes
2 answers
547 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=&...
Attila Naghi's user avatar
  • 4,033
0 votes
1 answer
412 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 ...
Jaydip Patel's user avatar
0 votes
1 answer
82 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 ...
Ram Sundar's user avatar
0 votes
2 answers
260 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 ...
Angelo's user avatar
  • 89
1 vote
2 answers
469 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 <...
Océane's user avatar
  • 38
1 vote
2 answers
3k 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 ...
Ihor Radzyil's user avatar
0 votes
2 answers
433 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.
KaMZaTa's user avatar
  • 215
1 vote
1 answer
128 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=&...
Mateusz's user avatar
  • 25
0 votes
0 answers
25 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.
Ganesh's user avatar
  • 1
0 votes
1 answer
168 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 ...
zus's user avatar
  • 175
2 votes
0 answers
41 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 ...
Arsalan Ul Haq's user avatar
0 votes
1 answer
37 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; ######################################...
devmike's user avatar
1 vote
1 answer
899 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://...
jojo's user avatar
  • 39
1 vote
0 answers
959 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&...
krybbio's user avatar
  • 1,258
1 vote
0 answers
274 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', '...
domdambrogia's user avatar
1 vote
2 answers
650 views

How can i show final price on product page?

I want to show price accroding to selected attribute option of configurable product.
tamanna's user avatar
  • 55
0 votes
0 answers
63 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.
Izhar Mehdi's user avatar
0 votes
2 answers
93 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?
Emre Ensar Çapcı's user avatar
0 votes
1 answer
82 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 ...
Sabareesh's user avatar
  • 358
0 votes
1 answer
133 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?
JGeer's user avatar
  • 1,420
0 votes
1 answer
1k 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....
a-h's user avatar
  • 1
0 votes
1 answer
430 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 ...
Izhar Mehdi's user avatar
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\...
Maxc's user avatar
  • 1
0 votes
1 answer
193 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
Jaydip Patel's user avatar
0 votes
1 answer
174 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 ...
junaidh's user avatar
  • 63
0 votes
3 answers
1k 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): ...
MagentoDev's user avatar
0 votes
2 answers
813 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 ...
Gogoulos Tasos's user avatar
9 votes
3 answers
6k 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 ...
Rakesh Donga's user avatar
  • 5,364
1 vote
0 answers
103 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 ...
Roshan Rakesh Yadav's user avatar
1 vote
0 answers
70 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 ...
jojo's user avatar
  • 39
0 votes
0 answers
44 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.
irshad's user avatar
  • 171
0 votes
0 answers
94 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 ...
irshad's user avatar
  • 171

1
2 3 4 5 6