Questions tagged [pwa]
General questions related to the Magento's feature of Progressive Web App
169
questions
0
votes
2
answers
34
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 ...
0
votes
1
answer
30
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
0
votes
1
answer
26
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:...
0
votes
0
answers
28
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 ...
0
votes
0
answers
36
views
Connecting graphql api backend link with Next13 self signed certificate
I'm having some issues with connecting our magento backend url with Next js App
The api request isn't working correctly and give self signed certificate error
My apollo client
import { useMemo } from &...
0
votes
0
answers
65
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 ...
0
votes
3
answers
247
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.
...
1
vote
2
answers
483
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 ...
0
votes
0
answers
184
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 ...
0
votes
0
answers
89
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 - ...
1
vote
0
answers
191
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 ...
3
votes
1
answer
174
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 ...
0
votes
0
answers
285
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 - ...
1
vote
0
answers
85
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-...
0
votes
1
answer
85
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 ...
0
votes
2
answers
61
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 ...
1
vote
1
answer
97
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 ??
0
votes
0
answers
100
views
Using Elastic search for PWA and Live search for frontend
We have an adobe commerce configuration where we have both PWA setup and the usual storefront view setup.
I wanted to know if it's possible to use Elastic search on PWA and Live Search on the normal ...
5
votes
1
answer
476
views
How to access the magento 2 graphql api using react js
We are developing a headless eCommerce application for our company, so here is my question how to access the magento2 product collection graphql API which is running on a server using react js which ...
0
votes
0
answers
48
views
Error with PWA 12.7.0 on Magento 2.4.3
I installed PWA metapackage as I read it was necessary for PWA versions later than 12.1.0.
But I am still getting error on the PWA frontend i.e.
Cannot query field "errors" on type "...
0
votes
1
answer
178
views
Custom URL rewrite not working in pwa magento 2 site
Custom URL rewrite not working in pwa magento 2 site
The below setting is enabled
General -> Web -> Search Engine Optimization -> Use Web Server Rewrites -> Yes
any other setting or ...
0
votes
1
answer
204
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 ...
0
votes
0
answers
110
views
Custom payment method in PWA magento 2
I am newbie in PWA Magento 2. Now working on the payment method integration in PWA Magento 2.4.3 by using one reference I'm not able to proceed due to below mentioned error.
Can someone check and ...
0
votes
0
answers
58
views
Required parameter "braintree" for "payment_method" is missing in PWA
Good day everyone,
Each time a try to do a checkout in magento using credit card it gives this error:
Required parameter "braintree" for "payment_method" is missing.
The weird ...
1
vote
1
answer
64
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-...
1
vote
2
answers
164
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 ...
0
votes
2
answers
240
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?
...
1
vote
0
answers
379
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 ...
0
votes
1
answer
197
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.
0
votes
3
answers
657
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 ...
0
votes
1
answer
263
views
Magento 2 PWA Studio: Issue with SSL certificate
I'm using Adobe Commerce 2.4.4 with PWA Studio and I don't have a valid SSL validation in my browser during the local development.
For the documentation, it should be working fine.
How could I debug ...
0
votes
2
answers
629
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";
...
1
vote
0
answers
141
views
Magenot 2 PWA app session time
I have a website, for which we are using PWA app, but the thing is ,I am unable to keep user logged in even after he close app.
how to achieve this goal?
1
vote
0
answers
168
views
How to setup magento2 pwa nginx
I have set up Magento backend on eample.com and want to run PWA on subdomain pwa.example.com, I have set up the virtual host in Nginx for both, However, the backend is running but PWA on pwa.example....
0
votes
1
answer
266
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 ...
0
votes
0
answers
77
views
Loading a template from a CMS page
I'm working on a Magento 2.4 PWA system. The idea is to load a template from a CMS page.
I'm using {{block class="Company\Module\Block\Index\Index" template="Company_Module::index/index....
0
votes
1
answer
373
views
Magento 2 PWA store add new sorting in product listing page
How to add new sorting in product listing page. I have frontend is PWA. So can you explain me how do that.
THANKS.
0
votes
0
answers
172
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 ...
0
votes
0
answers
68
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 ...
0
votes
0
answers
76
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. ...
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 ...
0
votes
1
answer
187
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 ...
0
votes
2
answers
1k
views
Magento graphQL Extending ProductInterface error : Expected a value of type \"Int\" but received
I have created a custom module that will override the ProductInterface class in graphQl
as you can se i have mentioned the image_banner as string
and i checked the banner.php its also returing string
...
0
votes
1
answer
248
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 ...
0
votes
1
answer
309
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"&...
1
vote
1
answer
2k
views
Magento 2.4.3: graphQL ResolveURL response error "Internal server error"
I am working on Magento 2.4.3 setup graphQL with Ubuntu 20.04.3 LTS machine.
I setup a pwa-studio with venia-concept theme on the same machine and connected it with the Magento setup.
All is running ...
0
votes
1
answer
249
views
Magento2 PWA Installation
I am getting this error when I am trying to install PWA
/bin/sh: 1:
/tmp/xfs-a5ee6a93/dlx-19268/.yarn/virtual/@magento-pwa-buildpack-virtual-b88d11cd56/4/home/ubuntu/.yarn/berry/cache/@magento-pwa-...
0
votes
1
answer
188
views
how to modify product detail image size in PWA?
I have an issue, I found the image's width and height defined in the peregrine folder, but I don't know how to change it
0
votes
0
answers
304
views
Magento 2 PWA installation in Localhost
I have followed this link for PWA installation for the already existing Magento 2.4.3 version.
When I tried to run the below command then we are facing an error.
yarn run build
Error :
yarn run v1.22....
3
votes
0
answers
250
views
Add sitemap for magento 2 pwa
I am new to magneto 2 PWA , and my question is how we configure the sitemap.xml file for PWA