Replies: 1 comment 6 replies
-
|
Try loading the page with the ?breeze=1 parameter and check the console output. Breeze should report which components were found on the page but doesn’t know what to load. I thinks you need to use <item name="inPostPaczkomaty" xsi:type="array">
<item name="path" xsi:type="string">Smartmage_Inpost/js/inpost-paczkomaty</item>
</item>Also, I recommend to start with <referenceBlock name="breeze.js">
<arguments>
<argument name="bundles" xsi:type="array">
<item name="dynamic" xsi:type="array">
<item name="items" xsi:type="array">
<item name="inPostSdk" xsi:type="array">
<item name="path" xsi:type="string">https://geowidget.inpost.pl/inpost-geowidget</item>
</item>
<item name="inPostPaczkomaty" xsi:type="array">
<item name="path" xsi:type="string">Smartmage_Inpost/js/inpost-paczkomaty</item>
</item>
<item name="Smartmage_Inpost/*" xsi:type="array">
<item name="path" xsi:type="string">Smartmage_Inpost/*</item>
</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can you help me prepare the
breeze_default.xmlfor this RequireJS setup?"inpost-paczkomatycomponent loadsinPostSdk(https://geowidget.inpost.pl/inpost-geowidget.js) like this:There is also another component defined in
checkout_index_index.xmlWhat I've got is this:
I also try with bundle called
checkout:I think I am missing something because none of these js components seems to be loaded.
Beta Was this translation helpful? Give feedback.
All reactions