New answers tagged

1

This will be your phtml. <div data-bind='component: "snapPay-integration"'></div> This will be your js binding. var requestid = 234234; ko.components.register('snapPay-integration', { template: '<iframe id="tokenFrame" width="100%" height="40" name="tokenFrame" src="https://stage.snappayglobal.com/Interop/InteropCCAjaxTokenizer/...


0

To solve this I checked the Knockout flow and found a problem with one of the conditions we have in the Order Summary section. The file that I override with our theme is Magento_Checkout/web/js/view/summary/abstract-total.js The function that was creating a problem for us was isFullMode(). This function was returning false that's why the summary is not ...


0

What was your solution to this?


0

Using theme: You can copy corresponding template in your theme (saving original path) and change data in template according your needs. copy original template vendor/magento/module-checkout/view/frontend/web/template/payment-methods/list.html in your theme app/design/frontend/{VendorName}/{themeName}/{packageName}/Magento_Checkout/web/template/...


0

Try This :- $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children'] ['shippingAddress']['children']['shipping-address-fieldset']['children']['street']['children'][1] ['notice'] = __('This is my custom notice.');


3

You can make the region field optional from admin, follow below steps. Step 1 Login to the back end of Magento 2. On the Admin sidebar, navigate to Stores > Settings > Configuration. Under the panel of General, select General. Scroll down to explore the State Option section. Step 2 In the State Option list: Choose the country where the State/ Region is ...


Top 50 recent answers are included