laterpay / laterpay-wordpress-plugin

The official LaterPay plugin for selling digital content with WordPress.
18 stars 10 forks source link

Add Dynamic Access to the Visual Editor #1311

Closed ksmoore125 closed 4 years ago

ksmoore125 commented 5 years ago

User Story

As a LaterPay WordPress plugin user, I would like to be able to easily add dynamic access functionality to my site without having to leave the visual editor.

Acceptance Criteria

The following functionality should work similarly to what is shown here

ksmoore125 commented 5 years ago

Notes from initial testing: This block's behavior could be a bit confusing to merchants unfamiliar with the shortcode. In order to help clarify, please make the following changes:

Behavior Option text
If user has access and hide content is selected it will show the content Show contents only if purchased
do the opposite of selected behaviour i.e show content, if user doesn’t have access Hide contents if purchased

Mockup image

ksmoore125 commented 4 years ago

@thrijith here are the final changes:

thrijith commented 4 years ago

Added in v2.8.0