Sets the direction the text aligns for text layout messages. Set this option to one of these values: Value Sets the text and logo color of the message. Note: This option is available only if the data-pp-style-logo-type value is primary. Sets the position of the PayPal or PayPal Credit logo in the message. Same as primary logo, but inline with the content Set this attribute's value to one of the following: Valueĭefault. Note: The message that is rendered may show a PayPal logo/monogram or a PayPal Credit logo/monogram, depending on the offer presented by the message The default, if it is not provided, is primary. This attribute sets the logo type used in the message. Inline HTML attributeįor lightweight text-based messages, you can configure the following attributes: Make sure to include the product price or total cart amount via data-pp-amount attribute to show the most effective message to your customers. This message layout is ideal for placement underneath product and cart prices throughout your site. Setting this value to flex renders your message as a flexible display banner. If you omit this attribute, then the SDK will default to the value text. The HTML attribute data-pp-style-layout determines the message's layout. Flexible display banners ( data-pp-style-layout="flex").Lightweight text-based messages ( data-pp-style-layout="text").The message layout determines the available style options. You can configure messages for different layouts and styles using optional HTML attributes. Note: The page type attribute is only for your analytics dashboard and doesn't affect the rendered message. This attribute accepts home, category, product, cart, and payment as values. In this way, you can view the performance breakdown of these messages across different page types on your website. This data is processed and presented to you on the analytics dashboard in your merchant account. Use the data-pp-placement attribute to help the SDK identify the type of page where a message appears. For your cart or checkout pages, set the attribute to the total cart value. Without an amount, the SDK falls back to a more generalized message that, while still effective, has a weaker value proposition to your customers.įor your product detail and product list pages, set the data-pp-amount attribute to the product's price. If you pass an amount value to each message, the SDK can render more specific messages that bring more value to you and your customers. Note: If you want to explore these options and get the resulting code snippets, see the interactive messaging tool, which requires a PayPal account to login. Learn about the customization options you can use to modify the style and layout for your Pay Later messaging.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |