dalenguyen / firebase-wordpress-plugin

A plugin that helps to integrate Firebase to WordPress
https://firebase-wordpress-docs.readthedocs.io
GNU General Public License v2.0
110 stars 31 forks source link

Build a display-firestore-collection with a link to a firestore document #91

Closed mcollinar closed 3 years ago

mcollinar commented 4 years ago

Hi,

I wanted to ask for something I wanted to create a page showing all the products in a Collection called Products, showing the simplified information and showing a link in which when accessing it, it would go to a Product page that was clicked with all the product information.

In other words, in Wordpress we would have a product page with all the information from the Firestore collection Products organized on the page, but it will show the product according to what is clicked on the page where all the products are.

MerlinOfCode commented 4 years ago

Yes I am trying to do the same thing with my firebase data. Display the entire collection with each a link to the full document. Such as a listmap with onclick events.

mcollinar commented 4 years ago

Yeah...just like a E-commerce... 1- You search for a categories ( See all products in the collection); 2- You find a lot of products in these categories (See all products ins this categories) 3- You choose 1 product to see mor details (Product Page) <-- 4- You Add to a cart (New Collection)

Something like these, right?

MerlinOfCode commented 4 years ago

I just discovered this can be achieved by customizing the code which displays the data.

It's in the custom claims section in the user guide.

On Thu, Aug 6, 2020, 9:01 AM mcollinar notifications@github.com wrote:

Yeah...just like a E-commerce... 1- You search for a categories ( See all products in the collection); 2- You find a lot of products in these categories (See all products ins this categories) 3- You choose 1 product to see mor details (Product Page) <-- 4- You Add to a cart (New Collection)

Something like these, right?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/91#issuecomment-669912096, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXOYNY34A3T5O65YHUTR7KSSTANCNFSM4PQ2XFBQ .

MerlinOfCode commented 4 years ago

Still no reply?

dalenguyen commented 3 years ago

This is available in v1.15.0

https://firebase-wordpress-docs.readthedocs.io/en/latest/database/dynamically-display-from-firestore.html

MerlinOfCode commented 3 years ago

Can it be done for realtime as well?

On Sun, Sep 27, 2020, 1:18 PM Dale Nguyen notifications@github.com wrote:

This is available in v1.15.0

https://firebase-wordpress-docs.readthedocs.io/en/latest/database/dynamically-display-from-firestore.html

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/91#issuecomment-699662474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNSFI7VE4NALRNPXO3SH5XVPANCNFSM4PQ2XFBQ .

MerlinOfCode commented 3 years ago

This is awesome! You are making great progress with this!

On Sun, Sep 27, 2020, 1:18 PM Dale Nguyen notifications@github.com wrote:

Closed #91 https://github.com/dalenguyen/firebase-wordpress-plugin/issues/91.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/91#event-3811838337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXLNQJI4JYG5GIYOHR3SH5XVRANCNFSM4PQ2XFBQ .

dalenguyen commented 3 years ago

Can it be done for realtime as well? On Sun, Sep 27, 2020, 1:18 PM Dale Nguyen @.***> wrote: This is available in v1.15.0 https://firebase-wordpress-docs.readthedocs.io/en/latest/database/dynamically-display-from-firestore.html — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#91 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNSFI7VE4NALRNPXO3SH5XVPANCNFSM4PQ2XFBQ .

Sorry, not for realtime yet.

MerlinOfCode commented 3 years ago

Ok. Maybe soon.

On Sun, Sep 27, 2020 at 3:54 PM Dale Nguyen notifications@github.com wrote:

Can it be done for realtime as well? … <#m5550326265045250919> On Sun, Sep 27, 2020, 1:18 PM Dale Nguyen @.***> wrote: This is available in v1.15.0 https://firebase-wordpress-docs.readthedocs.io/en/latest/database/dynamically-display-from-firestore.html — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#91 (comment) https://github.com/dalenguyen/firebase-wordpress-plugin/issues/91#issuecomment-699662474>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNSFI7VE4NALRNPXO3SH5XVPANCNFSM4PQ2XFBQ .

Sorry, not for realtime yet.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dalenguyen/firebase-wordpress-plugin/issues/91#issuecomment-699680602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO6NLXNGHUNXJBGPDSFNUYDSH6KARANCNFSM4PQ2XFBQ .