Questions tagged [pwa-studio]

Questions related to PWA Studio. PWA Studio is a set of frontend tools that helps Magento developers create PWA (Progressive Web Applications) on top of Magento to provide the users with an experience similar to platform specific applications.

Filter by
Sorted by
Tagged with
2 votes
1 answer
51 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
17 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
21 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
60 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
42 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
1 vote
0 answers
57 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,309
0 votes
2 answers
194 views

display products onclick category url only if attribute value is yes

Onclick Category Link , We have to display all Products ( Only if the Product attribute [ Ready to Ship ] value is "YES". ) We don't want to display Products in that url when the Product ...
Baby in Magento's user avatar
0 votes
0 answers
30 views

How to disable required "city" field in Magento PWA app

I want to disable required city field, I removed required attr in CheckoutPage component, but I need to remove require attr from Graphql and I don't know how to do it
Andrew Popov's user avatar
0 votes
1 answer
62 views

How to show default Magento Luma Theme

I have PWA-studio with cenia theme installed. but like to switch back to the default Magento theme. how can I do this without deleting the PWA-studio and cenia theme from my server?
AJ Ali's user avatar
  • 1
0 votes
1 answer
45 views

PWA The "ENVFILEPATH" variable is not set

When I run docker-compose up -d in my brand new cloned PWA Studio repo, this is what I got: WARN[0000] The "ENVFILEPATH" variable is not set. Defaulting to a blank string. Failed to load /...
Rafael Corrêa Gomes's user avatar
0 votes
0 answers
40 views

PWA env MAGENTO_BACKEND_URL change to local virtual host problem

Passed a lot of solutions but didn't get the success The task if the replace the default local virtual host pwa02.wsl wher M2 installed M2 vesion: 2.4.5 (working well) Venia varsion: 13.2.0 Istalled ...
Max.A's user avatar
  • 107
0 votes
1 answer
124 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
2 answers
65 views

Am I able to use Content Staging with PWA Studio?

I'm creating a new PWA Studio setup using Adode Commerce Cloud 2.4.6. Am I able to set up and use Content Staging objects and campaigns?
Rafael Corrêa Gomes's user avatar
0 votes
5 answers
926 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
909 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,286
0 votes
1 answer
286 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,286
1 vote
0 answers
84 views

Magento Venia PWA wrong PDP pages

MAGENTO_BACKEND_URL=https://pwa02.wsl/ (M2 here working well, all pages exists) DEV_SERVER_HOST=pwa02.dev.wsl DEV_SERVER_PORT=10000 Ubuntu 20.04 over WSL2 Apache 2 PHP 7.4 MySQL 8.0 Magento 2.4.3 ...
Max.A's user avatar
  • 107
0 votes
1 answer
138 views

How to test PWA Studio with PreRender.io?

I would like to simulate Googlebot access in my PWA Studio installation. How could I do it?
Rafael Corrêa Gomes's user avatar
1 vote
1 answer
845 views

How to cache GraphQL requests?

My Magento 2.4 isn't caching requests I use many times, like storeConfig via PWA Studio. My request header: x-cache-hits: 0 How could I cache this kind of request to optimize the speed of my page ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
92 views

How to use Klaviyo with PWA Studio?

I did the Klaviyo module setup in my Magento PWA Studio, it gave me all the backend functions, but I was missing the frontend JS scripts, I had to add them via Google Tag Manager. https://developers....
Rafael Corrêa Gomes's user avatar
1 vote
0 answers
23 views

| PWA studio x magento 2 | Request for the "total pages" in category page return everytime "1"

When I display all my products in my category page, I have 20 products. But in the category I have 108 products, so there is supposed to be several page for this category, but I don't have the ...
Yoyo's user avatar
  • 11
0 votes
1 answer
489 views

PWA studio YARN RUN WATCH: Getting error with invalid json

i am just trying to setup PWA studio at my local server and i am getting bellow error while run below command yarn run watch yarn run watch yarn run v1.22.19 $ webpack-dev-server --progress --color --...
Shaik Farooq's user avatar
1 vote
1 answer
141 views

magento 2 : How to create module in pwa studio

Regarding pwa module development How to create module in pwa studio? how we can apply current custom magento plugin in pwa ??
user110925's user avatar
1 vote
3 answers
658 views

Install Magento 2 PWA

Can Anybody suggest to me the best guide to install the Magento 2 PWA step by step? I tried many things, but face this issue on using this command : yarn buildpack create-custom-origin packages/venia-...
Rana Zain's user avatar
  • 642
0 votes
2 answers
421 views

How to upgrade PWA to latest version?

How to upgrade PWA to latest version? I want to upgrade all PWA packages to latest version so is there any particular steps ?
Mukesh Prajapati's user avatar
1 vote
2 answers
370 views

Pwa studio showing {{#pageTypeNonce}}{{#webpackChunks}}{{/webpackChunks}} {{/pageTypeNonce}} at footer

I've installed magento 2.4.5 with pwa studio + upward connector, but when i access the frontend, there is a text was echo in the footer {{#pageTypeNonce}}{{#webpackChunks}}{{/webpackChunks}} {{/...
hkguile's user avatar
  • 2,221
0 votes
1 answer
264 views

Magento PWA - How do I get Tier price in product details page to show?

I am working with PWA studio. And I want to show tier price list in product details page. But I am not getting how I can get them in product page. Does anyone have any idea how to bring that? Thanks ...
Nayem323's user avatar
  • 741
2 votes
0 answers
100 views

How to work with Magento PWA Studio in frontend?

I just start to check PWA studio this week, I have read the following links and Adobe docs. how to create PWA magento 2.4 custom theme? I still feel confusing here. In the Adobe docs, it shows we can ...
Rita555-Simon's user avatar
2 votes
0 answers
449 views

[PWA Studio][BUG] Page Builder column-line content type is not supported, this content will not be rendered

Ever since we upgraded to Magento 2.4.5 our Pagebuilder content that uses a column has stopped working. We tested this on a clean Pwa Studio install with a Magento 2.4.5 backend attached to it. I have ...
Gijs Verdonschot's user avatar
2 votes
1 answer
76 views

Magento PWA Studio animated GIF image rendering issue

I want to use an animated GIF image in my Magento PWA Studio project, but when the image is rendering in the browser a suffix code is being added to it like this The image has been added by the page-...
Rakesh Kumar's user avatar
2 votes
3 answers
480 views

PWA Cart page graph-ql error

I am using magento 2.4.3-p2. I have installed PWA studio with venia concept theme. I have followed adobe docs to install PWA studio on my local system. I am facing an issue with the cart page. ...
Vinayak Iswalkar's user avatar
2 votes
2 answers
223 views

Getting permission error while running the yarn commands in Magento 2 PWA

I was trying to set up and install Magento 2 PWA studio with venia concept now I am getting permission errors while running the yarn run build and yarn run watch:venia. I tried to set the permission ...
Hybrid Developer's user avatar
1 vote
2 answers
283 views

Magento 2: Changes not reflected in PWA Venia theme

I have tried to updating the content on footer component but my changes is not reflected on frontend. Any idea about how to clear the cache in PWA studio after updating the content in component? ...
Dhaval Vaghela's user avatar
1 vote
0 answers
429 views

How can I improve response query time on Magento PWA with Magento 2.4.3 backend? low response network speed on production with Magento PWA

i'm currently developing a Magento PWA front with a Magento 2.4.3 store on backend. Thing is, when testing on production, and specially Category pages, sometimes the response time of some queries is ...
grr's user avatar
  • 11
1 vote
1 answer
240 views

How to install PWA in Magento 2.4.4 in windows

I need to install PWA (Progressive Web Apps) in Magento 2.4.4. so can anyone have an idea about it,then please share with me. Thank you.
Deep Shah's user avatar
  • 555
0 votes
3 answers
802 views

Magento PWA show custom product attribute in details page

I am trying to modify product details page on Magento PWA Studio. I have a custom attribute(text-editor type), and I have some html there. When I am trying to call that attribute it comes as string ...
Nayem323's user avatar
  • 741
0 votes
2 answers
809 views

Pwa studio adding custom css

I'm learning pwa studio how to code here is the code: /* src/components/GreetingPage/greetingPage.js */ import React from "react"; import { useParams } from "react-router-dom"; ...
hkguile's user avatar
  • 2,221
0 votes
1 answer
321 views

How to setup PWA on Magento2 for production environment?

I have setup PWA Studio on Magento 2.3.7. When I run Yarn Build build generates successfully. After that Yarn watch:venia also executed with custom URL like below But when I change Staging server URL ...
Dipak Bhambhani's user avatar
0 votes
0 answers
184 views

Magento PWA modify contact us page

I have installed pwa-studio in my Magento version 2.4.3. Now I want to change design of contact us page also want to ad couple fields. I successfully modified header, footer, cms pages but can't seems ...
Nayem323's user avatar
  • 741
0 votes
0 answers
88 views

I have custom module for add to cart which is not working on PWA Studio

I have connected PWA Studio with magento, connected working fine but add to cart, create customer is not working due to customization of add to cart and customer create, Please can you suggest me how ...
Zahid Hussain Magento's user avatar
2 votes
1 answer
686 views

Magento 2 PWA Setup : Environment has 1 validation errors https://www.pwa-magento.com/ is inactive. Please consider using one of these other backends

I'm installing PWA Studio on my local and i'm using magento 2.3.3 without sample data but i'm getting error as shown in image below. I have followed all the steps for pwa setup but while running this ...
Mohit Rane's user avatar
  • 1,935
0 votes
0 answers
83 views

PWA project setup in server

Can someone help me with PWA setup in server? I have installed pwa-studio in my ukfast server and when run "yarn watch" it generates a pwa dev server to visit but that url is not accessible. ...
Nayem323's user avatar
  • 741
2 votes
2 answers
1k views

Magento 2 - Cannot find field "newsletter_enabled" on type StoreConfig pwa-studio

I have installed pwa-studio by following magento pwa docs. Now when I try to run command "yarn run watch" got below error $ webpack-dev-server --progress --color --env.mode development As of ...
Nayem323's user avatar
  • 741
1 vote
0 answers
759 views

Magento Graphql Cache issue

I have an issue with Magento graphql cache. Magento PWA setup is on Magento cloud. Default graphql query cache is not working with fastly. Any suggestion?
jayrangnani's user avatar
0 votes
1 answer
258 views

Macbook pro for magento front-end development? [closed]

I am magento front-end developer and I have question about best choice of macbook for work. My work consists of: magento 2 - 49% of time magento pwa studio - 49% of time magento 1 - 2% of time ...
Dev's user avatar
  • 1
1 vote
1 answer
314 views

PWA was not loading after run YARN RUN WATCH command

I am new to PWA. I download and configured PWA from git and run the yarn run watch command in the local instance and it shows below error Magento Version : 2.4.3 Base URL : http://magento.test/ PWA ...
Mahesh1343's user avatar
0 votes
0 answers
277 views

Getting cors error in pwa studio

When I run the PWA studio project locally I get this error. And after an error in the browser console, it keeps sending requests to the server. Access to fetch at 'https://xxxxx.com/Store/rest/V1/...
Bilal Yaqoob's user avatar
1 vote
0 answers
170 views

Magento 2.4.3: Product Customer Group Price not showing in PWA Venia theme

I am Working on Venia PWA theme with Magento 2.4.3. I tried to login from FrontEnd in Venia theme to check Customer Group prices for Product but its not Working. Where Magento Frontend is showing ...
Amit Dwivedi's user avatar
  • 1,540
1 vote
2 answers
982 views

Magento 2.4.3 PWA Venia : Add to Cart is not working

I successfully installed venia on my localhost system. When I create a customer and logged in to my customer account and then try to add to cart a product , then in Browser Console I am getting the ...
Amit Dwivedi's user avatar
  • 1,540
0 votes
1 answer
47 views

magentodockermagento241_redis_1 Cannot start service redis

I have try to install PWASacndi them in my local server. But when I run dc up -d --remove-orphans command. Error is shown like below the screen short so can you please help me and please say me how to ...
Surbhi Doshi's user avatar