To integrate GetFinancing as a payment method into a wix store we would need to add a link to the product page, with the item name and the item price.
We have tried with the API reference to get those elements but seem not to be able to gather the product name and product price: https://www.wix.com/code/reference/$w.Text.html
This is what we tried:
console.log($w(“Page”));
But Page.children returns this unabling us to access to the Text elements inside:
Exception: Error: tpaWidgetId is only supported with viewer type [wysiwyg.viewer.components.tpapps.TPAWidget] at t.value ( https://47d6000b-7808-4836-a9f0-6ed0b110f65d.pub.wix-code.com/_partials/santa/1.2620.17/node_modules/santa-wix-code/dist/wixcode-worker.js:1:64653 ) at e.value ( https://static.parastorage.com/services/js-wixcode-sdk/1.175.0/lib/wix.min.js:1:113310 ) at Object.i [as getSdkConstructorName] ( https://static.parastorage.com/services/js-wixcode-sdk/1.175.0/lib/wix.min.js:1:135705 ) at e.value ( https://static.parastorage.com/services/js-wixcode-sdk/1.175.0/lib/wix.min.js:1:231657 ) at Page. ( https://static.parastorage.com/services/js-wixcode-sdk/1.175.0/lib/wix.min.js:1:22804 ) at Array.forEach () at Page.get ( https://static.parastorage.com/services/js-wixcode-sdk/1.175.0/lib/wix.min.js:1:22773 ) at Page.remoteFunction (:2:14)]
connectionConfig
Does anyone knows how to access the product name or product price from the product page?