Crocoblock / suggestions

The suggestions for CrocoBlock project
196 stars 79 forks source link

Added Functionality for Listings to add Coupons with links and dynamic visibility #3273

Closed epcotguru closed 3 years ago

epcotguru commented 3 years ago

I posted this on the Facebook Community but was told I'd need to code it so I'm hoping I can get some code help or the capability added from here.

What I Need: I would like to have a repeater field in a CPT that could store coupons and discounts. A store may have one coupon, 15, or something in between. I would like to create a listing that uses text stored in one field of the repeater and have it linked with a URL from another field in the repeater and hide the content if the date is past the expiration date.

Why this is important: Many applications and companies have coupons or other posts that should take advantage of a repeater field.

I've a listing grid for a repeater field. In the repeater field I have a description and a link. In the repeater field I'd like to make the description clickable using the link but I can't find a way to do so. I'd also like to use the sale expiration date to dynamically hide the item.

Please let me know if I can provide any further information to help clarify. Crocoblock support is welcome to log into the website if needed.

Thank you for your help! Corrie

Repeater Listing Question

Here's an example of a company that has 5 coupons/deals for Memorial Day (in the United States). They also have 4 other on-going sales.

Screen Shot 2021-05-15 at 10 12 27 AM
epcotguru commented 3 years ago

I think my problem is that I needed a separate Post Type. I will try that!