You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/payment-services/customize-buttons-messaging.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ You can easily customize [PayPal Smart button styling](#paypal-smart-buttons) an
9
9
10
10
To easily customize Smart Button styling, create a module with a dependency on `Magento_PaymentServicesPaypal`.
11
11
12
-
1. In the [`di.xml` file]({{ site.baseurl }}{{ site.gdeurl }}/extension-dev-guide/build/di-xml-file.html), create a new type entitled`Magento\PaymentServicesPaypal\Block\SmartButtons`.
13
-
1. In the `arguments` block, specify one argument entitled`componentConfig` and `xsi:type="array"`.
14
-
1. Under this new argument, specify three items entitled`product`, `cart`, and `minicart` with `xi:type="array"`.
15
-
1. Under each item, specify a nested item entitled`styles` with `xsi:type="array"`.
12
+
1. In the [`di.xml` file]({{ site.baseurl }}{{ site.gdeurl }}/extension-dev-guide/build/di-xml-file.html), create a new type named`Magento\PaymentServicesPaypal\Block\SmartButtons`.
13
+
1. In the `arguments` block, specify one argument named`componentConfig` and `xsi:type="array"`.
14
+
1. Under this new argument, specify three items named`product`, `cart`, and `minicart` with `xi:type="array"`.
15
+
1. Under each item, specify a nested item named`styles` with `xsi:type="array"`.
16
16
1. Reference [PayPal's available styling](https://developer.paypal.com/docs/archive/checkout/how-to/customize-button/) and apply any desired parameters as nested items.
17
17
18
18
```xml
@@ -58,18 +58,18 @@ To easily customize the PayPal PayLater messaging, style, and layout, create a m
58
58
59
59
### Create module for product page, cart, and minicart
60
60
61
-
1. In the [`di.xml` file]({{ site.baseurl }}{{ site.gdeurl }}/extension-dev-guide/build/di-xml-file.html), create a new `type`entitled`Magento\PaymentServicesPaypal\Block\Message`.
62
-
1. In the `arguments` block, specify one argument entitled`componentConfig` and `xsi:type="array"`.
63
-
1. Under this new argument, specify three items entitled`product`, `cart`, and `minicart` with `xsi:type="array"`.
61
+
1. In the [`di.xml` file]({{ site.baseurl }}{{ site.gdeurl }}/extension-dev-guide/build/di-xml-file.html), create a new `type`named`Magento\PaymentServicesPaypal\Block\Message`.
62
+
1. In the `arguments` block, specify one argument named`componentConfig` and `xsi:type="array"`.
63
+
1. Under this new argument, specify three items named`product`, `cart`, and `minicart` with `xsi:type="array"`.
64
64
65
65
### Create module for checkout page
66
66
67
-
1. In the [`di.xml` file]({{ site.baseurl }}{{ site.gdeurl }}/extension-dev-guide/build/di-xml-file.html), create a new type entitled`Magento\PaymentServicesPaypal\Model\SmartButtonsConfigProvider`.
68
-
1. In the `arguments` block, specify one argument entitled`messageStyles` and `xsi:type="array"`.
67
+
1. In the [`di.xml` file]({{ site.baseurl }}{{ site.gdeurl }}/extension-dev-guide/build/di-xml-file.html), create a new type named`Magento\PaymentServicesPaypal\Model\SmartButtonsConfigProvider`.
68
+
1. In the `arguments` block, specify one argument named`messageStyles` and `xsi:type="array"`.
69
69
70
70
### Edit the styling
71
71
72
-
1. Under each element (for the `product`, `cart`, `minicart`, or `checkout`), specify a nested item entitled`styles` with `xsi:type="array"`.
72
+
1. Under each element (for the `product`, `cart`, `minicart`, or `checkout`), specify a nested item named`styles` with `xsi:type="array"`.
73
73
1. Reference [PayPal's available styling](https://developer.paypal.com/docs/business/pay-later/us/integrate/customize-messages/) and apply any desired parameters as nested items.
0 commit comments