List all your clubs
[withwine type='clubs' /]
Add a Join button for one club
[withwine type='club-button' data_club_id='CLUB ID' /]
The button says Join to non-members and lets existing members update their membership. You can change it with these options:
data_jointext='Join the Ridge Club'anddata_updatetext='Update my membership'change the button text.data_showifordata_hideifwith member, nonmember, loggedin or loggedout shows or hides the button, for exampledata_hideif='member'.data_bottlequantity='6'pre-selects the number of bottles.data_chargeinterval='3'pre-selects how often the member is charged, in months. Twice a year is 6.data_selectedoptionidpre-selects a club option.
To show a login link to logged-out visitors instead of the button:
[withwine type='club-button' data_club_id='CLUB ID' data_hideif='loggedout' /]
[withwine type='conditional-content' data_showif='loggedout' data_action='login' data_text='Log in to join the club' /]
Add a club sign-up wizard
The club wizard asks people to choose their club options, for example red or white wine, and shows a Summary of the club, number of bottles, how often and their choices. They then click Complete My Membership to join:
[withwine type='club-wizard' data_club_id='CLUB ID' /]
You can replace the wizard's images with your own, using
data_bottleQuantityImageUrl,data_chargeIntervalImageUrl,data_clubOptionsImageUrlanddata_numberOfSelectionsImageUrl.For system-initiated clubs, you can delay a new member's first order with
data_startdelaymonths,data_startdelaydays,data_startdelayhoursordata_startdelayminutes.
Show members their memberships
[withwine type='my-memberships' /]
data_notAMemberMessage="You're not a member of any of our clubs yet."changes the message for logged-in customers who aren't members.data_updateButtonTextchanges the Update button text.data_autoRedirectIfSingle='true'takes members of only one club straight to that club's update page.
Where to find a Club ID
In WithWine, go to Settings > Clubs and click the club. The Club ID is shown at the top right of the page, for example ID: 389.
