FooEvents para WooCommerce integra-se com Adicionar à carteira para permitir que os seus participantes adicionem bilhetes FooEvents com códigos QR a Carteira Apple ou Google Wallet nos seus dispositivos móveis.
Secções #
- Criar uma conta AddToWallet
- Comprar créditos AddToWallet
- Configurar a chave da API AddToWallet
- Atualizar o tema do bilhete
- Enable the “Add to wallet” link in the ticket
- Adicione o seu bilhete FooEvents à sua carteira
- Informações que serão exibidas no passe
Criar uma conta AddToWallet
- Visite o addtowallet.co sítio Web
- Click on the “GET STARTED FOR FREE” button, or go to https://app.addtowallet.co/?ref=FooEvents and click on the “Sign In” button in the top right corner
- Click on “Continue with Google” or enter your email address and follow the instructions to create your account
Comprar créditos AddToWallet
- Certifique-se de que tem sessão iniciada no addtowallet.co sítio Web
- Ir para o Página especial de preços para clientes FooEvents
- Escolha o número de passes de que necessita
- Click on the “Pay Now” button and follow the instructions to complete your purchase
Configurar a chave da API AddToWallet
- Certifique-se de que tem sessão iniciada no addtowallet.co sítio Web
- Ir para o Página da API
- Copie a sua chave API do canto superior esquerdo
- Ir para FooEvents > Definições > Integração no seu Painel de Administração do WordPress
- Cole a sua chave API no campo Campo de chave API AddToWallet
- Definir uma imagem de logótipo no Campo do logótipo AddToWallet
Atualizar o tema do bilhete
Make sure that you are using the most recent “Default ticket theme”. Siga estas instruções on how to update your ticket theme.
Alternatively, you can paste the following code snippet directly into your ticket theme’s ticket.php file:
<!-- CREATE WALLET PASS --> <?php if ( ! empty( $ticket['WooCommerceEventsTicketDisplayAddToWallet'] ) && 'off' != $ticket['WooCommerceEventsTicketDisplayAddToWallet'] ) : ?> <span class="no-print"> <br /><br /> <a href="<?php echo site_url(); ?>/wp-admin/admin-ajax.php?action=fooevents_wallet_pass&ticket=<?php echo $ticket['ID']; ?>"> <?php _e( 'Add pass to wallet', 'woocommerce-events' ); ?></a> </span> <?php endif; ?>
Siga estas instruções sobre como modificar diretamente os ficheiros do tema dos bilhetes.
Enable the “Add to wallet” link in the ticket
- Ir para Produtos no seu Painel de Administração do WordPress
- Editar o evento que requer a funcionalidade de passe
- Ir para o Integração de eventos separador
- Ativar Mostrar a ligação AddToWallet no bilhete?
- Definir um quadrado Logótipo AddToWallet
- Definir um AddToWallet pass cor de fundo
- Guardar o seu evento
Adicione o seu bilhete FooEvents à sua carteira
- Criar um novo bilhete FooEvents ou reenviar um bilhete FooEvents existente
- Click on the “Add pass to wallet” link. If the link opens in a navegadorEm primeiro lugar, terá de digitalizar o código QR que aparece no lado direito com a câmara do seu dispositivo. Em alternativa, pode abrir a ligação num iPhone ou num telemóvel Android e adicionar diretamente o bilhete à sua carteira preferida
- Siga as instruções no ecrã para adicionar o bilhete à sua carteira preferida
Assim que a informação do bilhete for actualizada no Painel de Administração do WordPress, o passe na carteira do participante também será atualizado automaticamente. Se o bilhete for permanentemente apagado, o passe também será removido da carteira do participante automaticamente.
Information that can display on the pass
You can set what information should display on the pass if you edit your event and go to the Integração de eventos tab.
- Logótipo AddToWallet, which should ideally be square.
- AddToWallet image which will be stretched horizontally across the background of the pass.
- AddToWallet pass cor de fundo
- AddToWallet card title, which will be displayed in the top bar of the pass next to the logo. By default this will be the event name, but can be changed to custom text.
- AddToWallet card title, which will be the first text to display below the top bar. By default this will be the event name, but can be changed to custom text. You can use the placeholder {var} to display the variation.
- AddToWallet date label. By default this will be the word “Date”, but can be customized.
- AddToWallet date value. By default this will be the event’s date and time, or the booking slot date and time for “Bookable” events, but can be customized.
- AddToWallet attendee label. By default this will the word “Attendee”, but can be customized to say e.g. “Ticket Holder”.
- Attendee’s first and last name
- AddToWallet location label. By default this will be the word “Location”, but can be customized.
- Número do bilhete
- Código QR
- Event organizer details, which is the phone number and email address in the “Organizer Contact Details” section in the Definições de eventos separador. Esta informação, juntamente com o URL do sítio Web, só estará acessível quando se visualizarem mais informações sobre o passe.