Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [product-page]

Denotes question regarding Magento Product detail page

1
vote
0answers
7 views

Different Product Pages Displayed when I Change URL Key From admin panel

I am using Magento 2.2.2 and facing an issue and trying to resolve it,While creating a new product or editing already added product when i change URL key of the Product from SEO block i get two ...
2
votes
0answers
38 views

Magento 2.3.X Country of Origin or Manufacture attribute doesn't save on product page

I'm trying to save 'country of manufacture' attribute on product page but it's not save it. Other attributes is save successful. How can i fix it ?
1
vote
2answers
30 views

Get Dropdown value in Product Page Magento 2

I want one dropdown value in Product view page in Magento 2. For e.g, if I have select custom dropdown value in the product from the admin section. Now I want this value in view page as an option to ...
0
votes
0answers
25 views

Some product pages layout issue Magento 2

Suddenly my site has suffering layout issue on some product pages. I checked in console and it says require is not a defined, but many other product pages and site is working fine.
0
votes
0answers
28 views

magento 2 breadcrumbs swapping in product page

Hi here am adding breadcrumbs but in product page its adding swap catagery. until catagory its working good in product page its swapping category that should not be added this is my module.xml &...
1
vote
0answers
29 views

Product image not coming in mobile view in magento 2 [closed]

I am not able to find out what is the issue. Product Image aren't display on the product page in mobile view. How to solve this.
0
votes
0answers
19 views

Product images aren't showing in mobile view in magento 2.2

Product Images aren't showing on the product page in mobile view. I am not able to find out what is the issue. How to solve this.
1
vote
0answers
60 views

Magento 2 - Customer click stock alert on product page after logged in it shows 404 page

When customer click subscribe to price or stock notification (on product page) then after login, gets redirected to the 404 page. Any help, experience and knowledge sharing would be appreciated.
0
votes
0answers
15 views

i want to add gift box message(text field) on product page magento 1

I want to add custom gift box message(text field) on the product page so please suggest how we can do this? And this field is shown on the checkout page with a particular product and it is also ...
1
vote
1answer
131 views

Breadcrumbs not showing the home and category names

Breadcrumbs is not showing the home ,category names in product details page. It shows Only Product name. How do I resolve it,Please provide me a solution
0
votes
0answers
17 views

Magento 2 need add weight in Summary bundle product page

Please! See this print: http://prntscr.com/n21cfy I need to add an attribute weight in Summary bundle product page. Get the weight of each simple product attached in bundle product, same place i ...
1
vote
0answers
34 views

Magento 1.9.2.3 Product Custom Options - Filters Not Working - Prototype.js error

I cant able to use Custom Options, drop-down showing error in prototype.js:612 and my prototype.js: https://justpaste.it/61c3a
0
votes
0answers
33 views

Want to add a small popup box on the product page

Want to add a small popup box mentioning a small description of the particular brand. Like for example on every product page, we have a brand attribute, so whenever someone hovers on the brand name or ...
1
vote
1answer
27 views

Move theme layout elements on a product view from within a Module Magento 2

I am having trouble moving the short description on the product page. I tried with the move command within the layout file without any luck. I can move any new created block where I want but I can't ...
0
votes
1answer
54 views

How can i add custom button (not add to cart) in product page in Magento2?

I want to add a new button to the product page , in which file can I add or should I create a module for this?
2
votes
1answer
75 views

Error in product page, Magento 2.3

I have an error in product page: "You cannot define a correlation name 'links' more than once" Does anyone know what can it be? I tried to find answer for a long time. This is a very basic site, ...
0
votes
2answers
41 views

Get current product name in static web template html file on product view page

I want to get the current product name in static html file which is called in product view page like below file app/design/frontend/Vendorname/themename/Aheadworks_AdvancedReviews/web/template/...
1
vote
0answers
42 views

Moving Block on product page Magento 2.2.7

I fairly new to this but I am trying to move a brand logo on my product page from below the product title to below the gallery image. Normally I would be able to achieve this using my themes ...
1
vote
1answer
31 views

Image not optimizing for product page

I import products from CSV file. I added base_image, small_image, thumnail_image, swatch_image and additional_image column. In backend it had been updated. But in front-end shows default magento icon. ...
1
vote
1answer
28 views

How to add mutiple extra tabs on product page Magento 2

I want to display multiple tabs(inconstant number) on product page, with the code below by using layout(catalog_product_view) i am only able to add fixed amount of tabs. <?xml version="1.0"?> &...
0
votes
0answers
12 views

Passing data as Javascript variables without caching

I've made some modifications to Magento's swatches via a custom module to display out of stock options on the product page (as non-selectable deactivated swatches, so the user will know that the ...
1
vote
2answers
62 views

How To Add Whatsup Share on product Page in magento2?

How to add whatsup share link in magento2 Product page?
0
votes
0answers
94 views

Auto select first color swatches image in product page

I am currently using this code for auto selecting the first swatch option _init: function () { if (_.isEmpty(this.options.jsonConfig.images)) { this.options....
0
votes
2answers
270 views

Magento 2.3.0 - Add custom block after product description tabs

I've created a CMS block called km_product_page_short_description I want to call this CMS block in a custom block below the product description tabs (where the blue line is) as shown in the ...
0
votes
2answers
17 views

Magento 2 - How can I pull Category Names into Product Page and separate multiple Categories?

I want to pull category names into my title.phtml template. I am using the code below. It pulls in all categories. However, It does not put spaces in between the categories if the product is a part of ...
1
vote
0answers
70 views

Magento 2: How to move block into html div?

I want to move below block in third "col-md-4 col-lg-4" div:- <block class="Magento\Catalog\Block\Product\View" name="product.info" template="Magento_Catalog::product/view/form.phtml" after="alert....
0
votes
1answer
88 views

The form inside the popup failed to submit the data in magento 2

I have created a button in product Detail page. While clicking the button, it will show the popup, the popup contains form. After filled the details in the form , the submit button is not working ...
0
votes
1answer
21 views

I wish to add custom section in product detail page in magento 2

How to add custom button in product page,while clicking that button it needs to show custom form in a popup ?
0
votes
0answers
15 views

Magento 2 : On clicking swatches, thumbnail images are hiding

On product page, On clicking swatches Size and color. Thumbnail images are hiding.Why is it so happening. I used custom theme. Please help somone.
1
vote
1answer
65 views

Buy On Amazon button

I want to add "Buy on Amazon" button on my product page. I was successful in adding it with this code: <a href="<?php echo $this->getProduct()->getamazonurl(); ?>"><img src="/...
0
votes
1answer
46 views

How to show product category on product page in magento2.2.6?

How to show product category on product page in magento2.2.6? i selected 2columns-left.xml layout template in category. http://magento-213836-648260.cloudwaysapps.com/shop.html i want to add sidebar ...
1
vote
0answers
26 views

When I add product from backend I got this

I am using Magento 2.2.6 When I add product from backend I got page like shown in below image. Is it any known issue in Magento 2.2.6 or any cache related issue?
1
vote
2answers
38 views

Change page layout for all products

I need to change all my products to the page layout "2column left". Now is everything set on 1column. How can I do this in one step for all the products?
0
votes
1answer
88 views

Add new button in product page in M2

Does anyone know how we can add new custom button beside Addtocart button on product page. The button I can add custom link, any help or suggestions would be greatly appreciated! I tried How to add ...
0
votes
1answer
50 views

I am not able to use product name like 5" ABCD in Magento2

When i use double quotes in product name Magento2 product page is breaking. Not Rendering Images , Tabs etc getting below js error Uncaught SyntaxError: Unexpected token B in JSON at position 120 ...
0
votes
2answers
50 views

how to get product id for a particular product in product details page?

I dont know how to implement this task. I want to display product Id in product view page. Can you please help me?
2
votes
1answer
40 views

Magento 1 : Add additional product with extra price on product page?

I am working on magento 1.9 community edition website. I want to add a feature in product page such as additional product at extra cost. Such as if there is a dress worth 500₹ and a belt option is ...
0
votes
1answer
34 views

Update installment price on product configuration change Product Page Magento2

I created a template to display the installment price of the product, on the product page. I need to update this price when the user clicks the configurable product option. Any help is welcome. ...
1
vote
0answers
30 views

How do I switch product pages using Ajax?

I need to implement a button on the product page to switch products (NEXT and PREV) without reloading the page (AJAX or KnockoutJS). Now I have ID NEXT and PREV product. Please tell me how it can be ...
1
vote
1answer
75 views

Magento 2 | Display how many has been sold within the last hour on the product page

I have over the last day or two been trying to work out a way to display how many of the product has been sold within the last hour on the product page, at this point i don't know if its even possible....
1
vote
0answers
18 views

Magento 1 : Show custom attribute on product page and make it popup on click

I am working on magento 1 website and want to show custom attribute ( size chart ) on product page under price and want to make it popup when clicked ( so that size charts can be added in it. can ...
1
vote
1answer
65 views

MYSQL 1452 error on product page. report_event_types table is empty

Upon opening a product page i get 404. In exceptions log i see this error: exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child ...
1
vote
1answer
32 views

Need to get name of product from previous page Magento 2.2

I had a Request A Quote button on certain product pages on my Magento 1.9 site and when clicked, it would bring users to a custom contact form which would have the Product Name field filled in with ...
1
vote
1answer
63 views

Product image is not loading in product discription page in Magento 2.1.7

I am facing some problem here the images in the product description is not loading at all. But it is loading well in the category page. site link Please hint that what I can do to solve this problem,...
0
votes
3answers
2k views

Magento2 Update layout Using Observer on Product page

I want to Update XML using observer on Product Page when page load. I want to set there condition with product Attribute there. How can I do that?
0
votes
1answer
16 views

How to add additional options when buying a product?

Please tell me how you can implement this that at the time of purchase of the product the customer could choose additional products.
0
votes
1answer
117 views

Unable to create plugin for Magento\Catalog\Helper\Product

I seem to be unable to create a plugin for the named class. The plugin is executed, but then the static files on product pages do not get deployed in developer mode and I get an error in the system....
0
votes
0answers
27 views

How to make the KnockoutJS work with the whole page(product_page)

I have a user's product page, on this page there is a switch between Magento1 and Magento2. Ie if the switch is on M1 then in some blocks the content and links will be from Magento1, and if M2 is from ...
0
votes
0answers
61 views

Magento 1: Popup on product page

Am working on magento 1.9 website and want to add a small popup for product sizes on product page is there any method without extension ? please guide. i haven't tried any code or anything but want to ...
0
votes
1answer
53 views

change order of attributes on product page (per product)

I would like to change the order of attributes on our product page. I know I can change this order that will apply to all product pages that these attributes exist, but I was wondering if I can change ...