Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

All Questions

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

Magento 2: How to add radio button type swatch on product page programmatically?

I want to show the radio button to select the product option instead of dropdown or text swatch? Help me out to solve this programmatically.
0
votes
1answer
28 views

Issue in Upgrading Magento2 from 2.2.8 to 2.3.3

I have upgraded magento 2 from 2.2.8 to 2.3.3. After upgrading, configurable product thumbnail images are not loading in the frontend. When changing the configurable variations, images are not ...
1
vote
1answer
24 views

Magento 2 - Table report_viewed_product_index slowed down after so many page views

The table report_viewed_product_index stores the page visits of every users against their user ids. After 1 year of user, when users have huge data of page views product detail page is slower for ...
1
vote
2answers
41 views

Magento 2: how to put extra text / drop down for decimal qty

I need to customize the addtocart.phtml in order to add an extra field for decimal qty. I want to use the actual input text for quantities in order to use ONLY unit and I need to create another drop ...
0
votes
1answer
24 views

Magento2 How to make Thumbnail zoom on click on product page?

Magento2 How to make Thumbnail zoom on click on product page?
2
votes
1answer
77 views

How to show all product thumbnails as a grid (no carousel/ribbon) in product page on Magento 2?

I've been searching for an answer for a while but maybe I'm not searching correctly... We're upgrading to Magento 2 (2.3.2 to be exact) and we're modifying our theme based on Luma. The product page ...
0
votes
1answer
24 views

all product page showing 404 and i could not access admin pages magento 2

I have copied my Magento 2 backup to my new server now I am getting all product page showing 404 and I could not access admin pages magento 2 exception.log main.CRITICAL: Unique constraint ...
0
votes
1answer
170 views

Scroll to Top after Adding Product to Cart?

I'd like the user to be scrolled to the top of the product page upon successfully adding a product to their cart, so that they can see the success message. What would be the best way to accomplish ...
0
votes
0answers
18 views

Related products broken on product detail page

On Product, detail page design is being broken.We didn't have done any customization. Please refer @ https://drive.google.com/file/d/1WM03YuvMAlCnt54JqG_B6McDZYPHxyG2/view
1
vote
1answer
48 views

How to add approximate location from the end user to appear below product name? [closed]

We are developing a Rental based Website with Magento 2. In the Rental product, there are options for both shipping and pickup. If the product is pickup, then we want to show the approximate ...
2
votes
0answers
76 views

Magento 2 Product page remove fotorama slider and display all products images one by one

In Magento 2 Product page I am trying to remove fotorama slider and display all products images one by one as below screenshot. For Configurable products it should change the dynamic values for its ...
4
votes
1answer
46 views

How to Create Custom Helper Class in Magento2 then Call ProductRepository to get Product details

Actually I need to Create a Helper Class in Magento2 then Call ProductRepository in app/code/{vendor}/{module}/Helper/Data.php to load Product details by sku and return Product Details in cart ...
1
vote
2answers
57 views

magento 2.3.1 - Invalid template file

I been working on new webpage recently and got unfortunate error, when I click on a product in catalog page i get this error: 1 exception(s): Exception #0 (Magento\Framework\Exception\...
0
votes
0answers
8 views

Different image on Visual Image Swatch for every product variation

How Can I set different image visual swatch for every product variation? For example, I got 2 products with a different variation, but I want their variations with a different image, like in this link ...
0
votes
1answer
49 views

Magento 2 : Show all categories of a product

Actual state: My products are in several categories. Thus, when I call a product from an over category or by searching out, only the following is displayed in the breadcrumb: "Start > ProductName " ...
0
votes
2answers
241 views

Magento 2.3 Jquery conflict [duplicate]

I am not very familiar with JQuery but am attempting to run this piece of code in html that requires JQuery. <div> <h4><a class="collapsed" role="button" data-toggle="collapse" data-...
0
votes
0answers
35 views

Custom product tab in Magento 2.3.1

I have my custom module to create tabs in product page. In magento 2.3.0 works perfectly, but after update Magento to 2.3.1 my module doesn't work. are there any big changes in magento wersion??
0
votes
1answer
150 views

Fatal error Magento 2: On product page HTTP ERROR 500

On the product page this error is showing Magento 2.3.1 ultimo theme What to do please help? Fatal error: Uncaught Error: Call to a member function getFrontend() on boolean in /var/www/html/app/code/...
0
votes
1answer
21 views

How does routing work for product pages?

The Magento documentation says Magento URLs are built like <store-url>/<store-code>/<front-name>/<controller-name>/<action-name>, but I can't find anything about how ...
1
vote
2answers
29 views

Display Custom Attribute Multiplace Place on Products Details Page Magento 2

I'm adding code on attribute.phtml page for call custom attribute on the products details page <div class="product attribute <?= /* @escapeNotVerified */ $_className ?>"> <?php $...
0
votes
1answer
152 views

Magento 2 add seo title suffix for every product page

How can I add SEO title suffix for product page?
1
vote
1answer
35 views

Product Description is not showing on product page

Getting my webstore up and going. Just noticed that I don't have a product description tab. Only the more information tab is showing. I am using the Luma theme and the only changes I have made are to ...
1
vote
1answer
110 views

Mageto 2.3. How add Qty & increment and decrement for Product page and category page and widget

I am just sharing variant how i added increment and decrement for Product page and category page and widget I have created it in my custom theme into module Magento_Catalog. You should create file: ...
2
votes
0answers
60 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
3answers
261 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
1answer
30 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
1answer
61 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 &...
0
votes
0answers
34 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 ...
0
votes
1answer
262 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
130 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
96 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
1answer
33 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
15 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
251 views

How To Add Whatsup Share on product Page in magento2?

How to add whatsup share link in magento2 Product page?
0
votes
0answers
177 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
931 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
19 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 ...
0
votes
1answer
197 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
61 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
1answer
50 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
56 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
34 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
65 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
3k 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
20 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
204 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
1answer
354 views

How can I show products from the same category under my product page?

Under my product page, I wish to have some products shown from the same category. How can I achieve this in Magento 2 without having to manually set the related products? Thanks
1
vote
2answers
542 views

Magento 2 get catalog rule for current product

I would like to get the current catalog rule for the product on the product page. I want to be able to output the name on the page. I know this is possible in magento 1 but cannot find any function ...
0
votes
1answer
524 views

Magento 2 : How to Display Cart Price Rule on Product Page?

I started in Magento 2 a week ago and don't know much about it, I created a Cart Price Rule named "10% billet discount" that is applied in a few items, with specific attributes. I want to display ...
0
votes
1answer
91 views

Getting issue when click on product to product details page

Version: Magento 2.2.0 Website URL: https://aat-testing.com/sinus-care.html Theme : Magento default theme luma when you click on the website URL you will see a product, the problem is that when I ...