2022 Developer Survey is open! Take survey.

Questions tagged [react]

The tag has no usage guidance.

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

Magento v2 Rest Api for React Native

I have got the API for the login, How do I have to use the API in React Native to log in?
user avatar
  • 661
0 votes
0 answers
15 views

Magento 2 Headless and Social Login

basically we need to implement social login on our web app. The backend is magento 2 but the front-end is made in ReactJS. Let's suppose we install mageplaza social login extension for magento 2, do ...
user avatar
0 votes
0 answers
16 views

Missing field 'uid' while computing key fields when used react mutation graphq

Help me! Not add product with mitation, always show this error. thank you
user avatar
0 votes
0 answers
9 views

Extend magento's feature with java/react

I would like to use magento's logic to handle all the business logic related with ecommerce. However, I would like to extend it's functionality (some very custom feature that there are no plugins for) ...
user avatar
0 votes
0 answers
18 views

ERROR in ./tagList/src/TagList/tagList.js

I'm trying to create a tag extension in Magento PWA studio but it is throwing the below error. I'm following this documentation to create a tag extension. ERROR in ./tagList/src/TagList/tagList.js 24:...
user avatar
  • 9,489
0 votes
0 answers
19 views

Getting CORS issue in Magento graphql api call in react js

I am getting a CORS issue when i am calling graphql api of magento 2 in react js using apollo client grphql.
user avatar
  • 1
2 votes
3 answers
472 views

How to Implement React.Js in Magento 2?

How to Implement React.Js in Magento 2? Many of sites in now days using React Js in frontend. How to start/configure with React in Magento 2?
user avatar
  • 2,421
0 votes
1 answer
83 views

How to add popup Modal in scandipwa?

I want to create popup modal in scandi. Code is tried is s follows- Popup.js import React from "react"; const Popup = props => { return ( <div className="popup-box"&...
user avatar
0 votes
0 answers
53 views

How to install any package in pwa studio project

I am working on the PWA studio Magento project and it's my first time working with PWA studio. I don't know how to install the package in the PWA studio project. When I got the project and it was ...
user avatar
1 vote
0 answers
48 views

Customer data not get in helper of Magento 2

We have sites in which React as Frontend and Magento 2.4 as Backend in which we are facing an issue to get customer data in helper file when a customer login into frontside React(API). Do we need to ...
user avatar
0 votes
0 answers
19 views

Display same orders in orders history when you change the language

Good morning people, I am using the Venia concept and I found a problem, if you go to the order history with the default language that is English, Its gonna show you some orders. If you change ...
user avatar
0 votes
0 answers
55 views

Placing order issue with Braintree 3D secure

We are facing an error with Braintree Payment Gateway with 3Dsecure. After reloading the page customer can do the payment of Order, and it's working fine. if Again I can try to reorder and place an ...
user avatar
0 votes
0 answers
15 views

Add a new "Extra information" field to the billing step

I was to add a new input field like "Extra information", or "Comments" for the order at the billing step that should be visible through BE > Sales > Orders among the email ...
user avatar
0 votes
0 answers
11 views

Has anyone tried install reactga to magento 2

So im already using react on the frontend, and saw that this module react-ga existed, so i was wondering on how to install it and use it on react
user avatar
0 votes
1 answer
59 views

First product added to new cart returned with no JSON "price"

This is my first time currently working with Magento. I am developing a custom web shop solution for a machine shop with React.js. My issue is the following: After having completed a purchase and ...
user avatar
1 vote
1 answer
32 views

Magento 2.3 ZoomMeeting with web SDK

I am integrating zoom meeting into magento 2.3. I have added following code in requirejs-config.js to import/include the 3rd party js files : var config = { map: { '*': { react: 'https://...
user avatar
0 votes
1 answer
63 views

Magento or Headless Magento (React with Magento pwa or Magento 2 default is better) [closed]

I am new in Magento and I am preparing to start learning the cms. I'd like to know which has lower learning curve, just Magento or React+Magento. (I already know reactjs)
user avatar
1 vote
0 answers
24 views

PWA project setup

I've just started using magento lately and I'm facing an issue initializing the project. The documentation is listing two ways to do that: Clone the pwa-studio project from github Use the yarn ...
user avatar
2 votes
1 answer
415 views

Magento PWA Studio: Where's my React At?

How do I edit and add to components in a PWA Studio React application? Using the buildpack tool, I've installed the PWA scaffolding with the following command. buildpack create-project /tmp/zing \ ...
user avatar
  • 43.5k
-1 votes
1 answer
126 views

Magento 2.3.5 PWA implement tab component

I am interested to learn more about how to implement the Tabs found here: https://magento.github.io/pwa-studio/pagebuilder/components/tabs/ One can use react bootstrap tab ref: https://react-bootstrap....
user avatar
0 votes
1 answer
686 views

How to change Payment Methods on PWA Suite?

I have installed the PWA suite on my local machine. I have enabled COD and Check / Money order Payment methods. But Why these methods are not showing on the checkout page. Pay with Card only ...
user avatar
1 vote
0 answers
175 views

PWA get media backend url

Is there a readily available way to get Media url path from component ? I know there is a getMediaUrl fetching from graphql in venia-concept/webpack.config.js Tried in my component: global....
user avatar
0 votes
1 answer
162 views

Magento 2 PWA Update <title> in custom component

How to update the title tag in the Head ? Really don't want to mess around with the DOM updating with javascript!
user avatar
2 votes
1 answer
480 views

Magento 2 PWA custom router

How to Create custom router page content? What I've tried added Route to routes.js: import React, { Suspense } from 'react'; import { Route, Switch, useLocation } from 'react-router-dom'; import { ...
user avatar
0 votes
3 answers
2k views

How can i filter custom atributes in graphql?

I am building an e-commerce app to sell products. There is a section in my website with products on sale and I want to show in this section just the products that are on sale. But in the backend of my ...
user avatar
  • 1
0 votes
1 answer
950 views

Want to call magento2 rest api from react js

I am creating 1 application in react and have a requirement to call magento api from react js My magento application is hosted on http://localserver.com and react is with http://localhost:3000/ ...
user avatar
2 votes
2 answers
297 views

Magento2 - Magento Headless

Like PWA everyone has started to use the word "Headless Magento" but I didn't find anyone to explain it in that detail. Till now, I only managed to understand that it prefers to use react than ...
user avatar
1 vote
0 answers
292 views

react-select-search - Uncaught TypeError: this.state.value.slice is not a function

I am working on a ReactJS web app and using "react-select-search" package for search & select feature for countries' ISD codes. GitHub link to package used I've cross checked the values from ...
user avatar
1 vote
2 answers
377 views

React with Magento 2

I have to use ReactJS as a frontend for Magento 2. Below is one of the github repo I looked after to integrate but it seems it's not that efficient, even not working in my case. Check GitHub Repo I'...
user avatar
1 vote
0 answers
17 views

How to integrate ReactJS with Magento 2 frontend [closed]

For example I have to build a contact form in header. I want to create a module and then call that module in header
user avatar
  • 35
4 votes
2 answers
515 views

Magento 2 : How to create simple example of React JS Module?

How to create simple example of React JS Module?
user avatar
1 vote
0 answers
837 views

Hide Authorization Token from Request Headers in browser for headless magento 2

We are using reactJS as frontend for magento 2 website using magento 2 rest APIs. But the authorization token is visible in the browser dev tools posing security risk. Kindly suggest a way to hide ...
user avatar
6 votes
1 answer
903 views

Magento2 : How to call Newsletter in PWA

How can I add Newsletter in PWA Magento2 ?
user avatar
1 vote
0 answers
521 views

Custom rest API for magento 2 contact form with react venia storefront

I'm currently setting up a contact form in venia storefront and trying to get it to link to my rest api in magento 2. On button click the forms linking to the actions file and then throwing a not ...
user avatar
  • 21
1 vote
0 answers
439 views

React Router Breadcrumbs use page titles instead of url dynamically

I've got a magento 2.3.1 site with venia storefront a react front end and I'm trying to get the breadcrumbs to pull the page titles dynamically rather than pulling the url. My current code for the ...
user avatar
  • 21
1 vote
1 answer
560 views

How to use magento 2 rest api in react js

I am learning react js with magento. I want to use magento rest api in my react js app how can i do that ?
user avatar