Skip to main content

Questions tagged [pwa]

General questions related to the Magento's feature of Progressive Web App

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

Conenct PWA with the magento 2

I have successfully installed Magento 2.4.5 and the PWA as well. Now I am configuring the PWA with the Magento. I have changed the Backend_URL in the .env also installed the Upward module , apply ...
Rana Zain's user avatar
  • 676
0 votes
1 answer
38 views

Magento PWA vs Scandi PWA vs Vue Storefront

I want to use the PWA on magento 2 for creating custom work. Please suggest me which is best which one I should use and also tell me about the resources where I can take help.
Rana Zain's user avatar
  • 676
1 vote
1 answer
157 views

Add custom serviceworker file in PWA Venia React frontend

In Magento PWA Venia [ React frontend ] , by default there is file called sw.js in src/ServiceWorker/sw.js and we can load that file in website.com In the similar way, How to create customsw.js and ...
Baby in Magento's user avatar
0 votes
0 answers
20 views

Studio PWA development environment

I'm trying to learn how to work with pwa studio and I'm not used to Node + React stack. I managed to run the application with the github + docker/run-docker but then I would like to have a functional ...
ljr95's user avatar
  • 11
0 votes
1 answer
85 views

Category links loading two times

When we click on any category or subcategory link , it open two urls : first, it will load below url https://www.website.com/earrings/earlobes Next, it will load below url : https://www.website.com/...
Baby in Magento's user avatar
0 votes
0 answers
15 views

SIGN UP in checkout page giving error in frontend in pwa venia setup

When i tried to enter first name, last name , email and tried to register in the checkout page , when i click on "SIGN UP " button, it not moving forward , after some time it will register ...
Baby in Magento's user avatar
0 votes
0 answers
10 views

magento pwa Refused to frame 'https://www.facebook.com/'

In PWA Venia setup of our website , When we enter all the information under Guest checkout and click on "Continue to shipping method" , it gave below error in console : Refused to frame '...
Baby in Magento's user avatar
0 votes
1 answer
60 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
1 vote
1 answer
47 views

ViewContent meta Pixel not passing product name parameter

We are using PWA Venia Reactjs setup and We integrated Meta pixel event called ViewContent in our site using below code : src/components/ProductFullDetail/ProductFullDetail.Js <script> fbq('...
Baby in Magento's user avatar
1 vote
0 answers
40 views

Checkout parameters not passing to google analytics dashboard

We used below code in Magento PWA venia setup to pass the checkout values to Google analytics dashbaord. it is firing checkout event in google dashbaord. it is fine. const proceedToCheckoutButton = !...
Baby in Magento's user avatar
1 vote
0 answers
85 views

Add to cart event not passing values to google analytics dashboard

As We are using Magento PWA Venia setup, we integrated google analytics code to our website manually. After adding the below code , Once we click on ADD TO CART, add_to_cart event is firing in Google ...
Baby in Magento's user avatar
0 votes
0 answers
16 views

Google Analytics support for PWA studio venia setup

By default Magento provides an option to track Google Analytics by configuration. As We are using PWA Studio Venia setup, Is there any by default support by magento for Google analytics tracking ? Or ...
Baby in Magento's user avatar
0 votes
1 answer
31 views

Venia pwa + magento 2

Can anyone explain how security works on graphql on venia pwa? I don't see any tokens or sessions or something like this at Venia. So any developer can create a graphql query and get all data from my ...
Erik Kis's user avatar
0 votes
0 answers
35 views

Create Custom Form in PWA magento2 and save data into the DB

I need to create a custom Form into the PWA magento2. in ReactJs Also I want to save this data into the magento2 database. I know for this I have used GraphQL Mutation query but I need some more help ...
Rohit Gohel's user avatar
0 votes
1 answer
58 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
0 answers
20 views

Pwa solution that supports Downloadable products

Magento downloadable products are not currently supported in the Venia PWA. Could someone provide a solution for this issue?
Shiranjeeth Douglas Machado's user avatar
0 votes
1 answer
60 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
9 views

Downloadable products not working on pwa venia storefrontend

It appears that the downloadable products bundle and grouped products are not functioning properly in the PWA Venia setup. I have examined the Vue frontend, and it seems there is no support for ...
Shiranjeeth Douglas Machado's user avatar
0 votes
0 answers
28 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
64 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
39 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
0 answers
26 views

How to use web3.0 node_modules in Magento2?

when I use like web3, etc. get the problem is those js packages require lots of all other js from node_modules. So I think it's impossible to create a symbolic link for all of those js.I have used the ...
mohit vamja's user avatar
0 votes
1 answer
80 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
81 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
47 views

Add Custom Wishlist button in PDP Page in PWA Venia setup

We are using PWA Venia Theme. We need to add custom Wishlist button below BUY NOW button in PDP Page. Here is src/components/ProductFulldetail - ProductfullDetail.js : https://pastebin.com/jDa9t7iq i ...
Baby in Magento's user avatar
0 votes
1 answer
96 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
56 views

add node package in magento 2

How to add Node packages to your Magento 2 site. how to implement in require-config.js using knockout js. I have already applied the commands below file. /var/www/html/project/app/code/vendor/module/...
mohit vamja's user avatar
2 votes
1 answer
75 views

Enable/Disable footer link using system configuration in custom module PWA

I have created a custom extension in Magento 2 and their frontend functionality shows in the react js (PWA vania UI). So I have created a module to enable/disable functionality in the Magento system ...
Rohit Gohel's user avatar
0 votes
0 answers
20 views

pwa product detail show prdouct attribute

I want my website pwa to show custom product attributes. my product attribute is dropdown. Do you any have idea how to implement it?
mohit vamja's user avatar
0 votes
0 answers
25 views

pwa product detail show custom attribute

I want my website pwa to show custom product attributes. my product attribute is dropdown. Do you any have idea how to implement it?
mohit vamja's user avatar
1 vote
1 answer
158 views

how to override .js file in PWA.?

I installed pwa my local directory. but I want to override js my component in the src directory. so please anyone help me?
mohit vamja's user avatar
1 vote
1 answer
73 views

override footer.js pwa

how to override footer.js Can anyone help me.? I want to add an Icon in the footer. I have also added a file. but not working. and the icon name is "file" below file path for my local ...
mohit vamja's user avatar
0 votes
0 answers
99 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
46 views

How to add a custom page with a Random product in PWA

Hello everyone, Could you please share with me the code or a comprehensive tutorial on how to add a custom page with random products in a Progressive Web App (PWA) using GraphQL? Thank you.
Ronak Rathod's user avatar
  • 6,342
1 vote
0 answers
83 views

How to add custom block in PDP Page PWA Magento 2

I've recently embarked on the journey of learning about Progressive Web Apps (PWAs) and GraphQL. However, I'm facing challenges in finding beginner-friendly resources, particularly regarding topics ...
Ronak Rathod's user avatar
  • 6,342
0 votes
2 answers
368 views

How we can get extension attribute of product in GraphQL Magento 2

I want Stock_id in graphql. We can get this via REST API but I need this in graphql. Can anyone help me with this? Please refer to the attached link and screenshot here I really appreciate any help ...
Ila Makwana's user avatar
0 votes
1 answer
79 views

get the value from quote_item_option table (info_buyRequest) in GetCartDetails graphql Magento 2

How can we get info_buyrequest value using customer cart graphql magento2? Any suggestions
Ila Makwana's user avatar
0 votes
1 answer
184 views

Getting CORS Error for Image in PWA

I am facing a CORS issue while fetching image in PWA Studio..Image works fine in magento root but while fetching with same URL in pwa it is giving cors error in console.. The Code of the page is below:...
MihirBangia's user avatar
0 votes
0 answers
177 views

Multisite Multi domain setup in PWA

I usually do multisite multi-domain setup in Magento site and it works fine. I have another site that uses PWA and I have all basic steps as we do to create multisite with multi domain but it is not ...
ishaq's user avatar
  • 195
1 vote
0 answers
221 views

Upward and prerender

I am trying to get a website pre-rendered via prerender.io because of SEO issues. I have https://github.com/magento/magento2-upward-connector installed and configured, but it doesn't work after I ...
kom93__'s user avatar
  • 11
0 votes
5 answers
1k views

Magento 2 installing PWA error

I am installing PWA but facing below error when executing command sudo yarn run build Error: As of version 12.1.0, PWA Studio requires the appropriate PWA metapackage to be installed on the backend. ...
Prashant Valanda's user avatar
2 votes
2 answers
1k views

Magento 2 PWA TypeError: Cannot read properties of undefined (reading 'storeConfig')

We are using Magento 2.4.5 Steps to install PWA - 1 - git clone https://github.com/magento-research/pwa-studio.git 2 - Install yarn from pwa-studio root directory yarn install 3 - Create the .env file ...
sumeet bajaj's user avatar
  • 1,316
0 votes
1 answer
407 views

Magento 2 pwa FetchError: invalid json response body at https://xxx/graphql reason: Unexpected token c in JSON at position 0

Magento 2 PWA When we run the command "yarn run watch" then getting this error on the console - FetchError: invalid json response body at https://xxx/graphql reason: Unexpected token c in ...
sumeet bajaj's user avatar
  • 1,316
0 votes
0 answers
174 views

Problem with multiple stores on PWA solution/Upward connector when I have multiple Web Site with the same domain

I am working on Magento solution with multiple stores with structure as you can see on image. When I have different domain everything works fine, but when I have same domain on different Web Site - ...
Dario Vranjković's user avatar
2 votes
0 answers
345 views

Magento 2.4.6 ScandiPWA displaying blank page in the frontend?

i have installed ScandiPWA theme in existing magento 2.4.6 to follows the below steps. Install Fresh Magento 2.4.6 with php version 8.1 Step 1 : go to magento root and create the src/localmodules ...
pankaj parmar's user avatar
3 votes
1 answer
327 views

Magento 2.4.5 scandipwa install after run magneto upgrade command getting undefined method error?

i have installed scandipwa theme in magento2.4.5, i am getting the "Error: Call to undefined method Laminas\Validator\NotEmpty::setDisableTranslator()" error.please check the attached ...
pankaj parmar's user avatar
0 votes
0 answers
636 views

Magento 2.4.6 & PWA 13: setting up magento 2 and PWA both on localhost

I am working on Magento 2.4.6 setup and PWA 13. Magento 2 setup is working fine and good, now I am working on setting up PWA13 environment - The magento 2 setup url on my localhost environment is - ...
Amit Dwivedi's user avatar
  • 1,550
1 vote
0 answers
162 views

Magento 2 scandipwa theme install in our local server we are getting the node-sass,node-gyp and python2 errors?

we have tried to install existing magento scandipwa theme.we are getting node-sass, node-gyp and phython2 error.please check the attached screenshot User Guide : https://docs.scandipwa.com/getting-...
pankaj parmar's user avatar
0 votes
1 answer
126 views

Payment webhooks stops working in Magento Cloud 2 with PWA frontend

In Magento Cloud 2.4.4 with Luma I had NO problems with the Conekta Webhooks Conekta is a payment processing platform, like PayPal or Stripe After the frontend changed to PWA, the payment webhooks ...
brjupo's user avatar
  • 75
0 votes
2 answers
102 views

ScandiPWA + Session Issue with Safari

I have problem with customer session with ScandiPWA on Safari Browser (Desktop + iPhone) After log into account in Safari Browser i get redirect to My Account. I get a immediately exception that The ...
DanielSat's user avatar