Skip to content
๐Ÿ‘‹ Say Hello!
Marios
Mar 10, 2025 ยท 5:10 am
# General

I am developing a NewsStand portal where I am using 2 different options for the users. I am looking a way to access the Customerโ€™s/Userโ€™s Membership โ€œStatusโ€ and โ€œCreatedโ€ date using Dynamic Tag for Visibility rules.

1) Purchase an individual newspaper issue (once-off as a product) and be able to read it.

2) Purchase a membership plan and have access to read any newspaper issue during the purchased plan's duration (i.e. 1 month) I am using Visibility rules in order to define if the READ button is displayed or not.

I have managed to implement:

a) User has bought the current product

b) User membership plan is Membership_Plan_Name

c) User role is administrator

Now the tricky part is with the final rule I need which is related to the Membership purchased date.

The user who bought a membeship should ONLY be able to read newspaper issues from the Purchased date and onwards.

CPT Newspapers has a date field, which is the publication date. So the idea is to compare the publication date against the membership purchase date.

Example:

- Newspaper publication: 1/2/2025

- Newspaper publication: 6/2/2025

- Newspaper publication: 8/2/2025

- Client purchased a plan on 4/2/2025

**Client should be able to read the publications of 6/2 and 8/2 BUT NOT the publication of 1/2/2025.

Any help it's appreciated!

Marios

0 comments
Sign in to join the conversation.

No comments yet โ€” start the conversation.

Voxel Guide assistant
Ask about snippets, addons & how-tos

Hey โ€” how can I help?

I can dig through the library for snippets, addons, and tutorials.

AI can be wrong โ€” double-check anything important.