Skip to content

Commit 02a54a0

Browse files
author
Cody Nguyen
committed
Update using demo acc of tapita
1 parent 5603877 commit 02a54a0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/components/ProductDetails/ProductFullDetail.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ const ProductFullDetail = props => {
310310
() => (
311311
<PageBuilderComponent
312312
{...pbProps}
313+
lazyloadPlaceHolder={null}
313314
pageData={pageData}
314315
overRender={overRender}
315316
/>

src/components/ProductDetails/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ const ProductDetails = props => {
9191
if (matchTheCate) return true;
9292
}
9393
}
94+
} else {
95+
return true;
9496
}
9597
return false;
9698
});
@@ -151,7 +153,6 @@ const ProductDetails = props => {
151153
) : (
152154
<DefaultProductFullDetails
153155
product={product}
154-
pbProps={pbcProps}
155156
/>
156157
)}
157158
</React.Fragment>

src/override/magentoRoute.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import { BrowserPersistence } from '@magento/peregrine/lib/util';
1616
const storage = new BrowserPersistence();
1717
const storeCode = storage.getItem('store_view_code') || STORE_VIEW_CODE;
1818

19-
const endPoint = 'https://magento24.pwa-commerce.com/pb/graphql/';
20-
//const endPoint = 'https://tapita.io/pb/graphql/';
21-
const integrationToken = '2xBXodtu16OPOKsWKcxA3riSeDkRpDL1622517111';
19+
//const endPoint = 'https://magento24.pwa-commerce.com/pb/graphql/';
20+
const endPoint = 'https://tapita.io/pb/graphql/';
21+
const integrationToken = '14FJiubdB8n3Byig2IkpfM6OiS6RTO801622446444';
2222

2323
const MESSAGES = new Map()
2424
.set(

0 commit comments

Comments
 (0)