Wp-calypso: Customizer: Add Existing Simple Payment Button as Widget

Created on 2 May 2018  Â·  4Comments  Â·  Source: Automattic/wp-calypso

Epic: #24617

Make existing Simple Payment buttons available to users as Widgets on the customizer.

Steps:

  • Open the Theme Customizer
  • Click on _Widgets_
  • Click on _Add a Widget_
  • On the widget panel search for Simple Payments

The customizer UI should show a module to select an existing Simple Payment Button from a drop down list. The list should sort the Payment Buttons on the same order than the Editor UI, and should default to the first element as the selected Payment Button.
The customizer preview should show the default payment button on the site's sidebar, and should reflect any changes if the selected Payment Button change.

Notes:

Simple Payments Sprint – Widget Design: p9Jlb4-5q-p2
GM 2017 Project: Simple Payments Widget: https://github.com/Automattic/jetpack/blob/gm-17/payment-widget/modules/widgets/simple-payments.php

Simple Payments [Type] Task

Most helpful comment

Review on: D13150-code

All 4 comments

Review on: D13150-code

^ @Automattic/lannister

Resolved on D13150-code

Was this page helpful?
0 / 5 - 0 ratings