Skip to main content

Questions tagged [react-js]

The tag has no usage guidance.

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

Contact us form not sending email if we redirect the page to some other url

We have PWA Venia Storefront [ Reactjs on frontend ] . In Contact us page in our website, user enter all details and enter submit button, two things will happen : We are displaying message : "...
Baby in Magento's user avatar
0 votes
1 answer
57 views

Magento 2 : Get the Subtotal value in checkout page in PWA

We are using PWA Venia Reactjs setup. How to get the subtotal value in checkout page : src/components/CheckoutPage/checkoutPage.js const checkoutMeta = () => { fbq('track', 'InitiateCheckout', { '...
Baby in Magento's user avatar
0 votes
0 answers
17 views

In magento pwa sites how we can improve SEO LCP score

we have a background image for banner and it is taking to much time to load in admin we'll be having background image not these details. i need to apply rel="preload" to this .. how can i ...
Anarghya Hegde's user avatar
0 votes
1 answer
41 views

Include jquery library in PWA Venia setup

We mentioned jquery library file in template.html in PWA Venia setup as below : <script async src="//asset.fwcdn3.com/js/embed-feed.js" type="text/javascript" ></script&...
Baby in Magento's user avatar
0 votes
1 answer
53 views

Connect Frontend and Backend in Venia PWA Setup

We have Magento PWA Venia Setup. Now We installed the Extension downloaded from Commerce Marketplace. The Extension installed fine and now we can see configuration in backend. Requirement Now How we ...
Baby in Magento's user avatar
0 votes
0 answers
14 views

Display Widget content in PWA Venia Theme

We are using Venia PWA 2.4.5 setup where frontend is displaying from ReactJs I have added New Widgets in backend. How to display those content in Frontend of the website ?
Baby in Magento's user avatar
0 votes
0 answers
63 views

Custom button adding items to cart

We created New custom button below Buy now button in PDP Page. Issue : But when we click on that custom button, it's adding the items to cart. But We did not linked any code for that custom button. ...
Baby in Magento's user avatar
0 votes
0 answers
32 views

Sorry! An unexpected error occurred. Debug: TypeError51

We are getting below issue in Venia PWA PDP Page. Error : Sorry! An unexpected error occurred. Debug: TypeError51 at /RootCmp_PRODUCT__default.1b66b4c414dc44018e9b.js:312:62 How to debug what causes ...
Baby in Magento's user avatar
0 votes
1 answer
78 views

Display Text only in PDP Page

We wanted to add a text ADD TO WISHLIST after Add to favourites icon in PDP Page, so We added in src/components/wishlist/AddtoListbutton/addtoListButton.ce.js return ( <button ref={...
Baby in Magento's user avatar
0 votes
3 answers
72 views

Add custom button below wishlist button in PDP

We are using PWA venia theme 2.4.5. We are trying to add a button below ADD TO WISHLIST in PDP Page We tried the below code . but we are not seeing any button. { isMobile && ( <div ...
Baby in Magento's user avatar
0 votes
1 answer
93 views

Buy Now button not clickable in PLP Page

We are using PWA Venia Theme. I tried Below code for BUY NOW button , but it is not clickable in PLP Page I am using : id="productFullDetail.addItemToCart1" for Adding items to cart. am i ...
Baby in Magento's user avatar
0 votes
0 answers
98 views

Storefront Changes are not reflecting in Website

I have done changes in magento 2.4.5 [ PWA Venia storefront ] frontend. But the changes are not reflecting in website. So I run this below command : yarn run build , but the command is not executing ...
Baby in Magento's user avatar
0 votes
0 answers
54 views

Radio Button Will only reflect after two clicks

We are using an RMA module which let the customer select a new return for their purchased item. When clicking on the item radio to select an item it should bring up the entire information on the ...
Ran's user avatar
  • 1
0 votes
2 answers
113 views

ReactJS and Magento 2: Update Shopping Cart in React?

I would like to integrate ReactJS as a component in Magento 2 for a custom module. In this module it should be possible to add items to the shopping cart. How can I trigger Magento in ReactJS to ...
Paul's user avatar
  • 1
1 vote
1 answer
374 views

How to develop frontend using React js Magento 2.4.4

I am stuck on react js integration and development in Magento 2.4.4 so anyone have idea then please share with me. Thank you.
Deep Shah's user avatar
  • 565
0 votes
1 answer
216 views

Unable to setup ScandiPwa theme in my localhost Magento 2

I am trying to setup ScandiPWA theme in my localhost. All configuration are setup as per documentation provide Existing Magento 2 setup but still not show the proper scandipwa theme instead it shows ...
Hardik's user avatar
  • 1
0 votes
1 answer
1k views

CORS issue fails the communicatin within Magento 2 (Graphql) instance and React app: Response to preflight request doesn't pass access control check:

Getting following error trying to fetch data from react app. Magento 2.4.2 Reac JS v17 Apollo/Client 3 import { ApolloClient, InMemoryCache } from "@apollo/client"; export const client ...
Kapil Dev Singh's user avatar
3 votes
3 answers
4k 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?
Gohil Rajesh's user avatar
  • 2,924