top of page
Comments (7)

Background: Members with a Wix Pricing Plan can create listings. These listings are stored in a CMS collection & displayed via dynamic pages

Goal: When their plan ends, their listing should be hidden automatically


I'm using the following method but get stuck as a noob coder

  1. When page loads, fetch all active subs using managementListOrders() function in backend

  2. Fetch memberId associated with each sub & form array to return to frontend

  3. Use this array & directly pass it as a filter for the _owner field in the dataset


Should I import { orders } from 'wix-pricing-plans.v2'

or '@wix/pricing-plans'?

Here's some code attempted, but no success even with the backend part yet


////////fetchOrders.jsw (backend)

import { orders } from 'wix-pricing-plans.v2';

import * as wixAuth from 'wix-auth';


export async function elevatedManagementListOrders(options) {


    const elevatedOrders = wixAuth.elevate(orders.managementListOrders);


    try {

        const result = await elevatedOrders(options);

        return result.orders;

    } catch (error) {

        console.log(error);

    }

}


/////////frontend

import wixData from 'wix-data';

import { elevatedManagementListOrders } from 'backend/fetchOrders'


$w.onReady(async function () {


let options = {

orderStatuses: ['ENDED', 'CANCELED'],

}


var activeOrderList = await elevatedManagementListOrders(options);


  // (Unsure abt this filter syntax) to exclude items with the specified owner IDs

  const filter = wixData.filter().not(

    wixData.filter().hasSome("_owner", excludedOwnerIds)

  );

});

Like

leon
Sep 17

Where can I find a link to the webinar? Second time I tried to see the webinar and again no link or info about where to go??

Edited
Like

Farook
Sep 17

Hi Etian, I couldn't attend the webinar, as my mum fell ill. Is it possible to have a recording of this webinar?

Like
Replying to

Hi Farook, I'm sorry to hear that. Yes I can send over the recording, please just make sure to register so that we have an email address.

Like

Hi Wix Wiz, any chance you can send me a recording? Timezone doesn't work for me. Thanks

Like
Replying to

Hi Phillip, sure thing! Please just make sure to register so that we have your email. Do you have any specific questions you were hoping would be addressed during the webinar?

Like

Let me know if you have any questions about the event or topics you would like to hear about!

Like

Webinar: Custom Member Registration, Profiles, and Areas in Wix

Wed, Sep 17

|

Zoom

Registration is closed
See other events
Webinar: Custom Member Registration, Profiles, and Areas in Wix
Webinar: Custom Member Registration, Profiles, and Areas in Wix

Time & Location

Sep 17, 2025, 1:00 PM – 2:00 PM EDT

Zoom

Guests

About the event

The built-in Wix Members app is a great start, but what if you need more? Site builders often ask:

  • How do I add custom fields to my signup form?

  • How do I create unique profile pages for each member?

  • How do I restrict content by membership level or paid subscription?


In this free 60-minute workshop with Eitan, we’ll tackle the #1 questions Wix users face when building member areas and show you how to take control with Velo and the JavaScript SDK. The workshop will include both theoretical overviews and hands-on site building. Participants will be able to ask questions and interact freely with the host throughout the session.


You’ll learn how to: ✅ Extend the native member app with custom fields


Share this event

bottom of page